By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,780 Members | 1,549 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,780 IT Pros & Developers. It's quick & easy.

Homework: Quadratic Equation

P: 1
Make a program that will ask for values of a quadratic equation (ax2+bx+c).
the program must determine the roots of the equation using the quadratic equation determinants to distinguish if the roots are imaginary no. or real no.

quadratic eq.

x= -b sqrt b2-4ac/2a
Feb 2 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 10K+
P: 11,448
Make a program that will ask for values of a quadratic equation (ax2+bx+c).
the program must determine the roots of the equation using the quadratic equation determinants to distinguish if the roots are imaginary no. or real no.

quadratic eq.

x= -b sqrt b2-4ac/2a
This is homework isn't it? Did you try to do it yourself first?

kind regards,

Jos (mod)

ps. We don't do other people's homework here; no matter whether you call it a
'challenge' because it isn't. Read the posting guidelines under the 'help' link near
the top right of this page.
Feb 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.