本文介绍了或者混乱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么这么多人得到Or和混淆 - 是否与

英语用法有关?

Why do so many people get Or and And mixed up - is it something to do with
English usage?

推荐答案



由于Or和And是英文单词,它必须与
$ b $有关b英语用法,如果正确;-)


您的意思是''|''和''&'',或''||''和''&& ;''?

-

Al Balmer

巴尔默咨询



由于Or和And是英语单词,它必须与
英语用法有关,如果是真的话; - )

你的意思是''|''和''&'',''||''和''&&''?
-
Al Balmer
Balmer Consulting






英语用法或和和与数学的完全不同

使用条款。


问:你想要一个橙子还是一个苹果?


对大多数人来说,这是给定选项之间的选择。有四个可能的答案:一个橙色,一个苹果,两个,或两个都没有。


To一位数学家,这是一个是/否的问题。如果数学家

想要橙色或苹果或两者兼而有之,他们会回答是。

如果他们不想要橙色或者苹果,他们会回答不。


考虑以下一个简单问题的答案:

问:谁可以去海滩?


A1:Charles和Michelle

A2:Charles而不是Michelle

A3:Charles或Michelle

A4:不是Charles或Michelle。

A5:不是Charles和Michelle。

A6:不是Charles而是Michelle。


Of上面给出的五个答案,答案1和2直接转换为

布尔逻辑:

A1:Charles&&米歇尔

A2:查尔斯&& !Michelle


答案3有些含糊不清,但通常意味着两者中的一个但不是

两者,即。独家或。

A3:Charles ^ Michelle


英语答案4和5实际上具有相同的含义,
$ b由于De Morgan的法律,$ b。答案4表示不(查尔斯或米歇尔),

而答案5表示不是查尔斯和[不]米歇尔。 和一词的

属性之一在英语中,左侧的not

等限定词也会自动适用于右侧。


A4:!( Charles || Michelle)

A5:!Charles&& !Michelle


答案5引入了一个额外的单词but but,它在

布尔逻辑中不存在,但必须在某些英语中使用案例。单词但是

提醒读者,之前存在的条件现在已经改变。

它允许一个人表达!Charles&&米歇尔英文,没有&b $ b问题和导致不也适用于右侧。


A6:!Charles&& Michelle


单词but或许也应该用在答案2中:Charles但不是

Michelle,但是如果

被和取代,它不会改变句子的含义。在这种情况下。


-

Simon。



English usage of "or" and "and" are quite different to mathematical
usage of the terms.

Q: "Would you like an orange or an apple?"

To most people, this is a choice between the given options. There are
four possible answers: "an orange", "an apple", "both", or "neither".

To a mathematician, this is a yes/no question. If the mathematician
would like either an orange or an apple or both, they will answer "yes".
If they don''t want either an orange or an apple, they will answer "no".

Consider the following answers to a simple question:
Q: Who can go to the beach?

A1: Charles and Michelle
A2: Charles and not Michelle
A3: Charles or Michelle
A4: Not Charles or Michelle.
A5: Not Charles and Michelle.
A6: Not Charles but Michelle.

Of the five answers given above, answers 1 and 2 translate directly into
boolean logic:
A1: Charles && Michelle
A2: Charles && !Michelle

Answer 3 is somewhat ambiguous, but usually means one of the two but not
both, ie. an exclusive or.
A3: Charles ^ Michelle

Answers 4 and 5 in English actually have the same meaning as each other,
due to De Morgan''s law. Answer 4 means "not (charles or michelle)",
while answer 5 means "not charles and [not] michelle". One of the
properties of the word "and" in English is that qualifiers such as "not"
on the left hand side automatically apply to the right hand side as well.

A4: !(Charles || Michelle)
A5: !Charles && !Michelle

Answer 5 introduces an extra word, "but", which does not exist in
Boolean logic, but must be used in English in some cases. The word "but"
alerts the reader that a condition that existed before has now changed.
It allows one to express !Charles && Michelle in English, without the
problem that "and" causes the "not" to also apply to the right side.

A6: !Charles && Michelle

The word "but" should perhaps also be used in answer 2: "Charles but not
Michelle", however it does not change the meaning of the sentence if
replaced by "and" in this case.

--
Simon.


这篇关于或者混乱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 18:19