Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Plssssss..... help..quadratic equation

monaramonara Posts: 2Member
n00b here....pls sombody solve this.....

need to create a function that calculate a quardratic equation of the following form


F(x)=A*X[italic]2[/italic](squared of x) +B*x+c

the input to the function will be the parameters A,B and C. the out put will be the solution for x that is either two real roots or 1 double root or 2 imaginary roots.
create a graphical user interface that will be used to input the coefficients A,B and C and will display the roots and a comment of the type of roots.

i.e: "the solution to the equation are the two real roots
x1=.... and x2=......"

or

"the solution to the equation is one double root"
x=+/-...."


Comments

Sign In or Register to comment.