GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 19-May-2009, 03:53
Angelica Jolly Angelica Jolly is offline
New Member
 
Join Date: May 2009
Posts: 1
Angelica Jolly is on a distinguished road

Can any one help me with this c++ programming question?


Hi,

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!
  #2  
Old 19-May-2009, 13:59
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,310
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Can any one help me with this c++ programming question?


Quote:
Originally Posted by Angelica Jolly
Can any one help me...

1. What have you done so far? Pseudo-code? Code? What?

2. How about giving us a precise statement of the program specification? In other words, show us something. You can assume that we know what the Bisection Method is and what the Newton-Raphson method is, so you don't need to describe the algorithms in detail (not yet, anyhow). Tell us exactly what the program has to do. Describe inputs and outputs and program flow precisely. The purpose is not so much as to inform us as it is to get you to articulate the exact nature of the problem so that we know what you are thinking about in your approach to problem solving.

3. Tell us what kind of help you would like. Be specific!.


Regards,

Dave
 
 

Recent GIDBlogNot selected for officer school by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket programming question. boreder C Programming Language 3 11-Oct-2008 23:39
Windows programming question raziel C++ Forum 1 24-Feb-2008 17:54
Simple Programming Question ChodyWang C++ Forum 2 23-Dec-2006 15:18
Question about Programming forgivenothing C++ Forum 4 25-Sep-2004 10:45

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:27.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.