Place one of the magnetic disks on a piece of white paper.
Place the second disk next to the first so that it is attracted.
Roll the second disk around the first one. Use the pencil to mark the position of the dot on the second disk as it rolls completely around the first disk once.
Connect the dots to create a cardioid.
[attach]784[/attach]
Low-tech
Have students plot the function r = 1 - sin(T) where r is the radius and T is the angle in degrees with 0<T<360
High-tech
Enter the function 1-sin(t)
and the range tmin= 0, tmax=2*pi, notice that this angle is in radians.
press the plot button.
What's Going On?
The curve you produced is known as a cardioid. A cardioid can be defined as the trace of a point on a circle that rolls around a fixed circle of the same size without slipping.
The magnets are oriented so that they attract each other. The attraction produces enough friction that the magnet can roll without slipping easily.
So What?
The polar plot of the sensitivity of a cardioid microphone, or antenna, is a cardioid.
Etc.
Try variations on this function.
Predict what the graph will look like first.
r = 1 + sin(t)
r = 1 - 1.25 * sin(t)
r = 1
r = 1 + sin(t)
r = 1 + cos(t)
r = 1 - (sin(t))^3
r = 1 - (sin(t))^9
r = 1 - (sin(t))^99
if nargin==2
ylimit=xlimit;zlimit=xlimit;gd=25;
elseif nargin==3
gd=ylimit;ylimit=xlimit;zlimit=xlimit;
elseif nargin==4
gd=25;
elseif nargin==5
else
error('Error in input arguments')
end
x=linspace(xlimit(1),xlimit(2),gd);
y=linspace(ylimit(1),ylimit(2),gd);
z=linspace(zlimit(1),zlimit(2),gd);
[x,y,z]=meshgrid(x,y,z);val=f(x,y,z);
[f,v]=isosurface(x,y,z,val,0);
if isempty(f)
warning('There is no graph in the range.');
p=[];
else
newplot;
p=patch('Faces',f,'Vertices',v,'CData',v(:,3),'facecolor','w','EdgeColor','flat');
isonormals(x,y,z,val,p);view(3);grid on
end
if nargout==0
else
h=p;
end
[attach]787[/attach]
方法2:
clf;
clc;
clear;
close all;
figure(1);
%用极坐标的形式实现
%r=a(1-sinθ)
x=-pi:pi/1000:pi;
y=2*(1-sin(x));
polar(x,y,'r-');
title('\fontsize{16}To SmallWhite');
xlabel('\fontsize{16}\copyrightDingQian');