+ 1

∀x∀y(x + y = y + x) can anyone convert this into c++ program??

Question

8th May 2019, 12:11 AM
Usman
Usman - avatar
6 Antworten
0
x + y = y + x will evaluate true every time. You want a code that takes two ‘quantifiers’ as input and returns either true or false?
8th May 2019, 1:39 AM
Choe
Choe - avatar
+ 7
Okay please elaborate what your function needs to do?
8th May 2019, 12:16 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
0
Thanku for help. I got this question as a assignment. This is nested quantifier. I need to show the truth value? While the domain for variables x,y consists of all real numbers
8th May 2019, 12:21 AM
Usman
Usman - avatar
0
But I stucked solving trough code
8th May 2019, 12:23 AM
Usman
Usman - avatar
0
This expression says that x + y = y + x for all real numbers x and y. ∀ this symbol is used for. (For all). It's symbol of quantifier.
8th May 2019, 1:40 AM
Usman
Usman - avatar
0
Cheo. Yes brother
8th May 2019, 1:42 AM
Usman
Usman - avatar