Using convergence for a fixed root iteration

13 Ansichten (letzte 30 Tage)
Caroline Kenemer
Caroline Kenemer am 20 Apr. 2021
I am trying to write a code that following this procedure:
  1. Guess theta = 0
  2. Find Cl from L = W*cos(theta) so L = W
  3. Find Cd (where Cd is dependent on Cl)
  4. Find D from Cd
  5. Find theta as theta = asin(T-D/W)
  6. Use this new guess for theta and interate from step 2 until convergence of theta.
T (thrust) ias found by calling a function, W = 35000.
How would I write a code to find theta to plug it back in for Cl?

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by