You are here:

C++/polynomial equations.

Advertisement


Question
Hi.
im going to write a program on solving 3rd polynomial equations. this has to be done using synthetic division to bring it down to a quadratic polynomial. and from there the quadratic formula can be used.
if you can help me with an algorithm.
thanks.

Answer
Please refer to some higher algebra book - Bernard & Child's book could be one of them. Also see mizar.org/fm/2001-9/pdf9-2/polyeq_1.pdf . It would be a formula, and you have to plug in values - a very short algorithm. You can use <cmath> to compute square roots etc.  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Amit Kumar

Expertise

I can answer Cplusplus language and library questions, including STL, ACE, Boost. I have a good background in Mathematics.

Experience

Programming in CPP for about 8 years. Industry experience of 4 years.

Education/Credentials
Bachelors and Masters in Computer Science from Indian Institute of Technology Delhi.

©2016 About.com. All rights reserved.