Using convergence for a fixed root iteration

1 visualización (últimos 30 días)
Caroline Kenemer
Caroline Kenemer el 20 de Abr. de 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?

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by