Filter löschen
Filter löschen

Answers given as equation

1 Ansicht (letzte 30 Tage)
Christian Jaramillo
Christian Jaramillo am 25 Aug. 2018
Bearbeitet: Walter Roberson am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by