%% ANIMATED VERSION: RUN this in Matlab (rather than publish)

%% Helix
% Consider the curve r(t) = (cos(t), sin(t), t/2) for t going from 0 to 4*pi. Plot the curve and find its length.

syms t real                  % declare t as real symbolic value
r = [cos(t),sin(t),t/2]
ezplot3(r(1),r(2),r(3),[0,4*pi],'animate'); nice3d

