Numerical analysis mathlab question

nhrock3
Messages
403
Reaction score
0
34e2e6b.jpg

how to do those tables of calculation in math lab
i got sum really long formullas in other question and if ill do the itterations i will spend half a day just on that
 
Physics news on Phys.org
what exactly do you want to do?

set up some functions f(X_n) = X_n+1, should make the iteration easy

then if you're feeling adveNturous, set a loop, which uses X_n to make X_n+1 using thEn formula, then prints (or stores to an array) the value of X_n+1 & E_n+1 then moves onto the next iteration
 
i don't know MATLAB at all
i know several programming langueges
but can you describe more thurely what to do?
 
look up function & loop in help & you should get the idea - i don'e have a copy of MATLAB handy, but have used it a fair bit previously, so shouldn't be hard if you've programmed previously
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top