**buny123 wrote:**

VincentFaraday wrote:I recently created a program that can find the roots of quadratic equations. Since Petit Computer can't float very many numbers, the answers will have at most 3 decimal places. I should also note that this program cannot solve quadratics that have complex roots. Inside the program, I have included details on how the program was put together. The QR code can be found here: http:[email protected]/8565434024/in/photo...

LOAD"SOLVE

OK

RUN

QUADRATIC SOLVER BY ZACHARY ♫

NOTE:(aX^2)+(bX)+c=0

You will have to restart

the program if the root is

is complex,since this program

cannot solve them.

What is a?

5

What is b?

6

What is c?

2

Illegal function call (32, SQR)

OK

My point exactly. The root of (5x^2)+6x+2=0 would be two complex imaginary roots, which petit computer can't do. If you need the answer to a quadratic like this pick up a TI-84 or solve the equation by hand.

I wish I was on the Enterprise.