Calculate Spheical Cap with areaquad

Hi,
Tried to calculate the surface area of a spherical cap with areaquad
I wrote the following code:
R=100;
TH=30
dTh=TH*pi/180;
Zone2= areaquad(90,0,TH,360)*4*pi*R^2
h=R-R*cos(dTh);
If you run the code the areas are not the same.
I even tried:
Zone2= areaquad(0,0,TH,360)*4*pi*R^2
Do you know why?
Shani

Answers (0)

This question is closed.

Tags

Asked:

on 17 Jun 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!