Why matlab not simplify my answer?

1 view (last 30 days)
Hello can you hel me please
Here is my script:
u=symunit;
L= input('Lenght of where you would like to measure the deflection in meter: ')*u.m
L=unitConvert(L,u.mm);
W=8500*u.N;
E=42000 *u.N/u.mm^2;
I=10*(10^6)*u.mm^4;
D=(W*L^3)/(8*E*I)
and the answer is :
D =
(53125/21)*[mm]
How can I get matlab to simplify this for me? Thanks

Accepted Answer

madhan ravi
madhan ravi on 15 Dec 2018
D=vpa((W*L^3)/(8*E*I))

More Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!