The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: surface area of pdedemo3
Replies: 5   Last Post: Jul 2, 2013 4:16 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,430
Registered: 11/27/08
Re: surface area of pdedemo3
Posted: Jun 25, 2013 1:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 6/25/2013 11:33 AM, Steven Finch wrote:
> Here is more detail. If I append the existing Matlab PDE demo with
> the commands:
> [ux,uy]=pdegrad(p,t,u);
> pi*mean(sqrt(1+ux.^2+uy.^2))
> a coarse estimate 3.8042 of the surface area is obtained. What steps
> can be taken to refine this numerical result? Explicit code would be
> helpful to me. Thank you!
> "Steven Finch" wrote in message
> <kqa2u4$2on$>...

>> What is the surface area of the saddle surface in
>> ?

After refining the result as follows, I got an estimate of the area of
3.8251. All I did was apply another round of refinemesh, and I set the
rtol to 1e-4 instead of 1e-3 (I don't know if refining rtolis is
important or not). To calculate the area, I added up the areas of the
triangles on the surface.

I imagine that it is easier and less error-prone to use Bill Greene's
suggestion rather than my special-purpose triangle summation function.

Alan Weiss
MATLAB mathematical toolbox documentation

Alan Weiss
MATLAB mathematical toolbox documentation

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.