Solve this equation for x, (1 + x)^4=34.5 . I am interested in the math libraries you’d use.
the equation is MUCH SIMPLER (1 + x)^4=34.5
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
approximate x*(x+a)^b=c
You’ll need a more robust solution for more complex polynomials, but this may be good enough to finish your homework.
This algorithm uses Newton’s Method and is written in Ruby. You can verify that the derivative and answer is correct using wolfram|alpha.
this produces: