| | |
can anybody help me with this
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2007
Posts: 1
Reputation:
Solved Threads: 0
Consider the two equations
p = cos(p), p = sin(p)
with solutions 0.7390851332151607 (approximately) and 0 respectively. Implement three programs for
the solution of these two equations.
(a) Fixed point iteration: pk+1 = g(pk).
(b) Fixed point iteration with Aitken acceleration.
(c) Steffensen’s acceleration.
In each case, begin with p0 = .5. Terminate when |pk − cos(pk)| < 10−12 or |pk − sin(pk)| < 10−12.
Comment on the number of iterations required in each case.
2. Use the theorems from class to answer and explain the following: Do you expect fixed point iteration
:rolleyes:i try to write this problem in c++ but didn't work can somebody please help me with this. thank you
p = cos(p), p = sin(p)
with solutions 0.7390851332151607 (approximately) and 0 respectively. Implement three programs for
the solution of these two equations.
(a) Fixed point iteration: pk+1 = g(pk).
(b) Fixed point iteration with Aitken acceleration.
(c) Steffensen’s acceleration.
In each case, begin with p0 = .5. Terminate when |pk − cos(pk)| < 10−12 or |pk − sin(pk)| < 10−12.
Comment on the number of iterations required in each case.
2. Use the theorems from class to answer and explain the following: Do you expect fixed point iteration
:rolleyes:i try to write this problem in c++ but didn't work can somebody please help me with this. thank you
No one is gonna write that for you.
Read this:
http://math.fullerton.edu/mathews/n2...fensenMod.html
Read this:
http://math.fullerton.edu/mathews/n2...fensenMod.html
*Voted best profile in the world*
A pot of gold at the end of the rainbow
> i try to write this problem in c++ but didn't work can somebody please help me with this
Well post it, then we can really start to help you rather than do the work for you (which isn't going to happen), or we make wild guesses as to what your question really is.
> i try to write this problem in c++ but didn't work can somebody please help me with this
Well post it, then we can really start to help you rather than do the work for you (which isn't going to happen), or we make wild guesses as to what your question really is.
•
•
•
•
Consider the two equations
p = cos(p), p = sin(p)
with solutions 0.7390851332151607 (approximately) and 0 respectively. Implement three programs for
the solution of these two equations.
(a) Fixed point iteration: pk+1 = g(pk).
(b) Fixed point iteration with Aitken acceleration.
(c) Steffensen’s acceleration.
In each case, begin with p0 = .5. Terminate when |pk − cos(pk)| < 10−12 or |pk − sin(pk)| < 10−12.
Comment on the number of iterations required in each case.
2. Use the theorems from class to answer and explain the following: Do you expect fixed point iteration
:rolleyes:i try to write this problem in c++ but didn't work can somebody please help me with this. thank you
Good luck, LamaBot
![]() |
Other Threads in the C++ Forum
- Previous Thread: HTTP Post VIA C or C++
- Next Thread: multiple enums problem
Views: 1272 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays based beginner binary c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg search simple sort sorting spoonfeeding string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






