Answers given as equation

1 visualizzazione (ultimi 30 giorni)
Christian Jaramillo
Christian Jaramillo il 25 Ago 2018
Modificato: Walter Roberson il 26 Ago 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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by