Simplify the below equation

2 views (last 30 days)
Raj Arora
Raj Arora on 4 Oct 2021
Commented: Star Strider on 4 Oct 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]

Accepted Answer

Star Strider
Star Strider on 4 Oct 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 Comments
Star Strider
Star Strider on 4 Oct 2021
As always, my pleasure!
.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!