Replies: 1 comment
-
hello! please check out the contributing guidelines below so you can add this project to the repo. Maybe enhance it so it not only solves the quadratic equation but also visualizes it/ visualizes the roots. a simple quadratic equation program is not considered a project under the current guidelines so you would have to delve deeper. Contribution guidelinesBefore making a pull request, please make sure of the following:
Thank you for your suggestions! If you think there is anything to improve with the guidelines, please contact me at [email protected] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Write Java program called QuadraticEquation which computes two x values of a quadratic equation expressed as ax?+bx+c=0, using general formula method, assuming that b2 ≥ 4ac. The program should contain three instance variables a, b, and C, all of type double, for coefficients a, b and c, respectively. These coefficients must be supplied to the program by the user via the keyboard, and get initialized by an appropriate user-defined constructor at the time of creating an object. The program should also contain two instance methods, both returning double values, called computeFirstX and computeSecondX for computing the two x values.
Beta Was this translation helpful? Give feedback.
All reactions