Can anyone help me with the following problem in MATLAB? | Sololearn: Learn to code for FREE!
0

Can anyone help me with the following problem in MATLAB?

I have to find a single root of an equation using successive approximation method (also known as iterative method). However, the first step of this method is to transform a given equation f(x)=0 to x=g(x). For example, if the given function is x²-x-1=0, you can express it as x=x²-1 or some other variation (some variations don't work, but that's another story). So, for a given function f(x)=0, I need to transform it into x=g(x) [so that I can work with g(x)]. How can I do it using MATLAB?

5th May 2018, 11:11 AM
1604064_Sharif
1604064_Sharif - avatar
1 Odpowiedź
+ 9
This question looks like a homework assignment for you. If we give you entire solution directly, we ruin your learning opportunities. You should show your effort by accompanying your question with an attempt. This Q&A forum is for specific programming questions or questions related to SoloLearn (platform, usage and so on) https://www.sololearn.com/Discuss/1316935/?ref=app By specific, we mean that you have spent effort and got stuck somewhere. After showing us your work, we'll give you guidance accordingly. Please show your attempt here using code playground. https://www.sololearn.com/post/75089/?ref=app
23rd Aug 2020, 2:04 AM
WenHao1223
WenHao1223 - avatar