Jump to content
xisto Community
Angelica Jolly

Can Any One Help Me With This C++ Programming Question?

Recommended Posts

<h1 class="western" style="margin-left: 0.3in; text-indent: -0.3in; font-weight: normal;"> Hi,</h1> Can anyone write a c++ programme which allows the user to solve the following non-linear equation:

f(x) = sin(2 x / 5) - x + 1 = 0

to an accuracy of 10^(-5) using both the Bisection Method and the Newton-Raphson method.
The user has to input the appropriate initial estimates to the actual root.

Thanks For The Help!

Share this post

Link to post
Share on other sites

damn, if only I remembered these two rules :o Never been good at solving those equations (the only I can tell you is that x must be between -2 en 0 :o ).If you could give me a quick recap of the two formulas then I'll give it a try :lol:

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.