Using convergence for a fixed root iteration

1 回表示 (過去 30 日間)
Caroline Kenemer
Caroline Kenemer 2021 年 4 月 20 日
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?

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by