Posted 29 September 2012 - 08:35 AM
I want to make a calculator which can solve quadratic equaitons with a P and a Q value. But I'm pretty new to LUA eventhough I already made a calculator for +,-,/ and * :P/>/>. The formula looks like this:
x1,2 = -p/2 ± √(p/2)²-q
Could someone help me with that? I would be grateful.
± = plusminus btw.
x1,2 = -p/2 ± √(p/2)²-q
Could someone help me with that? I would be grateful.
± = plusminus btw.