Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (anonymous):

equivalent C++ expressions for the algebraic expressions - a + (b*b - 4ac) / 2a

OpenStudy (anonymous):

suppose x=-a+(b*b-4ac)/2a then, in c++ x can be written as x= a*(-1)+((b*b-(4*a*c)))/(2*a)

OpenStudy (turingtest):

should point out that if you wanted the quadratic formula, it should be x=(-b+pow((b*b-4*a*c), 0.5))/(2*a) you would have to import the cmath library to use pow

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!