Parameterization of a 3d body, surface and a curve
Akash Ray
Chosen body descriptions
3D Body parameterization
Code to generate the cone
Curve parameterization
Length of the curve
So from the integration, the length of the curve came out to be R*T, which is equal to 2*pi*R since T=2*pi. This is correct since the curved edge of the cone is basically a circle which has a circumference of 2*pi*R.
Code to generate the Curve
No of segments | Approximate length from the code (La) | Exact length from the formula (2*pi*R)=(Le) | Relative percentage Error (|La-Le|/Le)*100 |
10 | 30.902 | 31.416 | 1.636 |
100 | 31.410 | 31.416 | 0.019 |
1000 | 31.416 | 31.416 | 0 |
Parametric equations for the Surface
Area of the Surface
Check for the correctness of the expression for the curved surface of the Cone
2*pi
Code for the Surface
No of segments | Approximate area from the code (Aa) | Exact area from the formula (pi*R*l)=(Ae) | Relative percentage Error (|Aa-Ae|/Ae)*100 |
10 | 153.979 | 175.620 | 12.323 |
100 | 173.818 | 175.620 | 1.026 |
1000 | 175.444 | 175.620 | 0.100 |