Simplify the below equation

4 visualizaciones (últimos 30 días)
Raj Arora
Raj Arora el 4 de Oct. de 2021
Comentada: Star Strider el 4 de Oct. de 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]

Respuesta aceptada

Star Strider
Star Strider el 4 de Oct. de 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 comentarios
Raj Arora
Raj Arora el 4 de Oct. de 2021
Thanks star strider
Star Strider
Star Strider el 4 de Oct. de 2021
As always, my pleasure!
.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Global or Multiple Starting Point Search en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by