Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (niel):

I have been letting this one sit for a while. I dont need it anymore but I would just like some closure. What am i doing wrong? CLS PRINT "Quadratic Formula Calculator" INPUT "What is the value of 'b'"; b1 INPUT "What is the value of 'a'"; a1 INPUT "What is the value of 'c'"; c1 CLS PRINT "b="; b1 PRINT "a="; a1 PRINT "c="; c1 midquad = (b1 ^ 2 - 4 * a1) * c1 abodiv =sqrt midquad - b1 xlow = abodiv / (2 * a1) midquad = (b1 ^ 2 - 4 * a1) * c1 abodiv = sqrt midquad + b1 xhigh = abodiv / (2 * a1) PRINT "The two points where your line crosses the x axis are("; xlow; ",0) and ("; xhigh; ",0)

OpenStudy (shadowfiend):

The b should always be negative, it's the square root that changes signs. It is: \[-b \pm \sqrt{b^2 - 4ac} \over 2a\] Above, you change the sign of b, rather than the sign of the square root.

OpenStudy (matthewrlee):

If you want to know what you're doing wrong the best way to find out is to ask a woman. Either your mother, sister, wife, or girlfriend. They can tell you pretty quickly.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!