0

How to calculate. X= {--b + √(b*b -- 4*a*c)}/100; in a program where a,b and c are inputted

under root is only on (b*b -- 4*a*c)

13th Jun 2017, 2:01 PM
Kishan Mittal
6 Réponses
+ 3
Math.sqrt() is how you can do square roots.
13th Jun 2017, 3:43 PM
Rrestoring faith
Rrestoring faith - avatar
+ 2
Do the Java course of the app': you will learn how do user input and use them in calculation in the very first steps ^^
13th Jun 2017, 2:25 PM
visph
visph - avatar
+ 1
This is not the place for your maths homework...
13th Jun 2017, 2:04 PM
Maart
Maart - avatar
+ 1
Oh nevermind I didn't read it right, my bad! You'll need to use Scanner in Java, but the code playground right here can't use multiple input... 🙁
13th Jun 2017, 2:17 PM
Maart
Maart - avatar
0
l want to know how to calculate it in a program where a ;b and c are inputted
13th Jun 2017, 2:07 PM
Kishan Mittal
0
I want that how to write it that equation using mathematical functions
13th Jun 2017, 2:23 PM
Kishan Mittal