Azzera filtri
Azzera filtri

how to loop a equation.

1 visualizzazione (ultimi 30 giorni)
surawut.A
surawut.A il 22 Ago 2021
Commentato: darova il 23 Ago 2021
guys, I need some help
D==0.27*(1.04/-0.22)*exp((-246)/(R*T))
R=8.314
T=[600:50:800]
I want to loop a data above to find D with different T.
and if I want to use data D, can I use D symbol?
thank you for helping me, im new

Risposta accettata

Wan Ji
Wan Ji il 22 Ago 2021
Why use symbol?
R=8.314;
T=[600:50:800];
D=0.27*(1.04/-0.22)*exp((-246)./(R*T))
The D array is good to use
D =
-1.214947318228101 -1.219564871571260 -1.223536739934003 -1.226989487755193 -1.230018633832494
  3 Commenti
Wan Ji
Wan Ji il 22 Ago 2021
Modificato: Wan Ji il 22 Ago 2021
My pleasure having helped you!
darova
darova il 23 Ago 2021

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by