0

How i can provee number is Real

If number real =true, if not= false

31st May 2020, 7:57 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
16 Antworten
+ 2
How i can probe that .should i have to menttion all types of Real numbers ?
31st May 2020, 8:44 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 1
var real = (n) => { i=math.sqrt(-1) n==i && n!==i } I tryed like this but didnt work
31st May 2020, 8:07 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 1
All numbers except imaginary numbers...thats right ?
31st May 2020, 8:21 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 1
All square root with negative number
31st May 2020, 8:34 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 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
31st May 2020, 9:11 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 1
So i solve changing the question If its whole =false...end
31st May 2020, 9:16 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 1
Thx all
31st May 2020, 9:57 PM
Manuel Poquechoque
Manuel Poquechoque - avatar
+ 1
Real number are always in the form of p/q where q is not equal to zero. Use if and else condition.
2nd Jun 2020, 6:29 AM
Kumari Shivangi
+ 1
Show me your input values
2nd Jun 2020, 5:53 PM
Devarinti.Venumadav
Devarinti.Venumadav - avatar
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)
1st Jun 2020, 11:08 PM
Benjamin Sunday
Benjamin Sunday - avatar