Error in false statement [closed]

asked 2019-03-03 17:09:17 +0100

creyesm1992 gravatar image

I write in SAGE the following sentences

p=0+0*I

q=1/2+1/2*I

r=3/4+1/3*I

(real(p)==real(q))==false

As 0 is not equal to 1/2, this statement must be true, but SAGE says false. Why?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by vdelecroix
close date 2019-03-03 17:52:20.504029

Comments

vdelecroix gravatar imagevdelecroix ( 2019-03-03 17:52:31 +0100 )edit