3. Use the CreateSpace built-in function and plot the result.
CreateSpace returns 20 points between a0 and a1. These points are connected to form a 3D-curve
Three Functions of a Single Parameter
1. Define three separate functions for radius, horizontal angle and vertical angle in spherical coordinates.
2. Define the number of plotted points.
3. Define the curve using CreateSpace. Add sph2xyz as the last argument. This is a built-in function to map spherical coordinates to XYZ coordinates. You can then plot the spherical coordinates on a regular 3D plot.
4. Plot the CreateSpace result.
A Vector-Valued Function of Two Parameters
Create a parametric surface, using CreateMesh.
1. Define a vector-valued function, with two parameters, defining spherical coordinates.
2. Use the CreateMesh built-in function and plot the result.
Three Functions of Two Parameters
1. Define three functions to plot, representing the three coordinates.
2. Define the input mesh size of the two variables. Define the number of points in the ranges of u and v.
3. Use the CreateMesh built-in function and plot the result.