Simplify the below equation

4 visualizzazioni (ultimi 30 giorni)
Raj Arora
Raj Arora il 4 Ott 2021
Commentato: Star Strider il 4 Ott 2021
Can any one please tell me how to write this equation in more simplistic way
2.1894533792906461821410990117209*(1/(y1 + (0.9213080113470015332286251600932*(v1/y1^(1/2))^(43/100))/(1/y1)^(7/20) + (1/((0.9213080113470015332286251600932*(v1/y1^(1/2))^(43/100))/(1/y1)^(7/20)
I have use format options, simplify but nothings works. I only want number till 4 digit after point, rest make no sense for me.
2.1894*(1/(y + (0.9213*(v/y^(1/2))^(0.43))/(1/y)^(0.35) + (1/((0.9213*(v/y^(0.5))^(0.43))/(1/y)^(0.35) [I want like this]

Risposta accettata

Star Strider
Star Strider il 4 Ott 2021
There are apparently unmatched parentheses. Correct that problem, then try this again —
syms v1 y1
Eqn = 2.1894533792906461821410990117209*(1/(y1 + (0.9213080113470015332286251600932*(v1/y1^(1/2))^(43/100))/(1/y1)^(7/20) + (1/((0.9213080113470015332286251600932*(v1/y1^(1/2))^(43/100))/(1/y1)^(7/20)
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
Eqn = vpa(simplify(Eqn,500), 5)
Note that anything in the exponents will not be affected by the vpa function. It simply ignores them.
.
  2 Commenti
Raj Arora
Raj Arora il 4 Ott 2021
Thanks star strider
Star Strider
Star Strider il 4 Ott 2021
As always, my pleasure!
.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Global or Multiple Starting Point Search 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