Pls can anyone explain how to solve almighty formula using java -b +-√b^2-4ac/2a | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pls can anyone explain how to solve almighty formula using java -b +-√b^2-4ac/2a

26th Jul 2022, 6:16 PM
solomon oloyede
2 Answers
+ 1
Please put "java" in the tag section. Have you searched for "java square root" and "java exponentiation"?
26th Jul 2022, 7:30 PM
Lisa
Lisa - avatar
+ 1
Use Math.sqrt() for √ and b*b or Math.pow(b,2) for b^2
26th Jul 2022, 9:47 PM
Roland
Roland - avatar