How to find surface area ?
3 views (last 30 days)
Show older comments
Teerapong Poltue
on 10 Nov 2020
Commented: Walter Roberson
on 10 Nov 2020
how can I find a surface area of this function on certain interval.
f = @(x,y,z) cos(x) + cos(y) + cos(z);
0 Comments
Accepted Answer
Walter Roberson
on 10 Nov 2020
So probably something close to
f = @(x,y,z) cos(x) + cos(y) + cos(z);
syms x y z real
syms xl xh yl yh zl zh real
F = f(x,y,z);
SA = int(int(int( sqrt( 1 + diff(F,x).^2 + diff(F,y).^2 + diff(F,z).^2), z, zl, zh), y, yl, yh), x, xl, xh);
disp( char(simplify(SA)) )
2 Comments
Walter Roberson
on 10 Nov 2020
you would substitute your interval bounds for xl xh yl yh or zl zh
Note that there probably is no closed form so you might need to vpa()
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!