Answers given as equation

1 view (last 30 days)
Christian Jaramillo
Christian Jaramillo on 25 Aug 2018
Edited: Walter Roberson on 26 Aug 2018
Hello,
I have the equation;
% Radius = r
r = 10*u.ft;
SurfaceAreaOfASphere = (4*pi*r^2)
Returning an answer of;
400*pi*[ft]^2
But I want an answer without pi. In a sense evaluate the expression, any ideas?

Accepted Answer

John D'Errico
John D'Errico on 25 Aug 2018
Do you mean this?
vpa(SurfaceAreaOfASphere)
ans =
1256.6370614359172953850573533118*[ft]^2

More Answers (0)

Categories

Find more on MATLAB 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!