Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fun with math
Message
From
08/12/2005 23:30:37
 
 
To
08/12/2005 14:06:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01075943
Message ID:
01076476
Views:
22
If UDFs are allowed this does it.
?SQUARE((SQRT(22))^2/2)-2
FUNCTION square(x)
RETURN x*x
>These are similar to the one someone sent me. The same rules apply.
>2 2 2 2 2 = 119
>
>Jerry
>
>
>>They sent me this today via email and I liked it:)
>>Find the math symbols to satisfy results. parentheses, sqrt,cubert, signs, +,-,... etc accepted. ie:
>>Q: 2 2 = 4
>>A: 2 + 2 = 4
>>Q: 4 2 = 1
>>A: Sqrt(4) / 2 = 1
>>Q: 8 2 = 1
>>A: CubeRt(8) / 2 = 1
>>Q: 7 5 = 2
>>A: -7 + 5 = 2
>>
>>Easy. Try with the following:
>>
>>1 1 1 = 6
>>2 2 2 = 6
>>3 3 3 = 6
>>4 4 4 = 6
>>5 5 5 = 6
>>6 6 6 = 6
>>7 7 7 = 6
>>8 8 8 = 6
>>9 9 9 = 6
>>
Cetin
Previous
Reply
Map
View

Click here to load this message in the networking platform