0

write a code who solve this type of math equations; 2(√2*78²)²= ?

30th Nov 2018, 2:44 AM
USAMA__30007
USAMA__30007 - avatar
6 ответов
+ 3
float s = 2*pow((sqrt(2)*78), 2) Works with most of the languages
30th Nov 2018, 3:06 AM
‎ ‏‏‎Anonymous Guy
+ 2
Please post challenges in your own feed. In the Q&A section we mostly try to help each other with coding-related issues. Check out the guidelines here: https://www.sololearn.com/discuss/1316935/?ref=app
30th Nov 2018, 2:58 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
Just in case you're thinking of using eval on user input, please be aware that it can be quite dangerous https://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html
30th Nov 2018, 3:32 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
... eval() :P
30th Nov 2018, 12:39 PM
Hatsy Rei
Hatsy Rei - avatar
0
if it was variable equation. then?
30th Nov 2018, 3:11 AM
USAMA__30007
USAMA__30007 - avatar
0
i understand it well.
30th Nov 2018, 3:34 AM
USAMA__30007
USAMA__30007 - avatar