Help me on equation in assembler

Status
Not open for further replies.

Vlad.

Full Member level 3
Joined
Jun 4, 2012
Messages
179
Helped
3
Reputation
6
Reaction score
4
Trophy points
1,298
Location
Bucharest/Romania
Visit site
Activity points
2,568
Hey, can somenbody help with a program in assembler to calculate ecuation 2(ax2+bx+c=0) ? and i want the program to read values of a,b,c from keyboard.thanks
 

Are you attempting to solve for the roots of a Quadratic equation?

Of the form:

ax² + bx + c = 0

If so, you will need to employ the Quadratic Formula or a similar numerical technique of root calculation:



Quadratic equation

Root-finding algorithm

Newton's method


The best approach to solve for the roots depends largely on the target processor/microcontroller.

Therefore answering Bassa's question is important.

BigDog
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…