The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: looping codes for iterative equation
Replies: 16   Last Post: May 23, 2012 11:10 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
relgn ng

Posts: 13
Registered: 5/23/12
looping codes for iterative equation
Posted: May 23, 2012 2:18 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a equation which requires iteration to solve, can show me how the code should be like.

The equation is like x' = x + 0.002512 - ((sin a/cos a) - 1)^1.5
SO i will require to assume a random angle of x first
Then working out the eqn and get x'
Input x' answer as x into the eqn and get a new x'
and keep repeating the above until x' = x

Thanks in advance!!!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.