0
How i can provee number is Real
If number real =true, if not= false
16 Antworten
+ 2
How i can probe that .should i have to menttion all types of Real numbers ?
+ 1
var real = (n) => {
i=math.sqrt(-1)
n==i && n!==i
}
I tryed like this but didnt work
+ 1
All numbers except imaginary numbers...thats right ?
+ 1
All square root with negative number
+ 1
Program a function (arrow) that, with a logical expression, determines whether a number is (true) or not (false) a real number. Then (in independent paragraphs of instruction) determine whether or not they are real: a) 42.12; b) -56.23; c) 56; d) -34 and e) 0.
c)d)e) i get false
+ 1
So i solve changing the question
If its whole =false...end
+ 1
Thx all
+ 1
Real number are always in the form of p/q where q is not equal to zero. Use if and else condition.
+ 1
Show me your input values
0
Let i=some number...
if i is positive, then √i is a real number but if i is negative, √i is not real(i.e, i is a complex number)