Question

(a) Use a computer program to plot the cycloid curve in the xy plane, given the...

(a) Use a computer program to plot the cycloid curve in the xy plane, given the parametric equations:

x(θ) = θ - sin θ

y(θ) = 1 - cosθ

(b) For a charge q moving in crossed (i.e., orthogonal) E and B fields, starting from rest at the origin, plot the kinetic energy as a function of time.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I have plotted it in MATLAB. Here is the code

clc;clear;

% patameter time or theta
t=[0:0.1:15];

% cycloid equations
x=t-sin(t);
y=1-cos(t);

% kinetic energy and time relation
KE=(sin(t./2)).^2;

% plot for cycloid
subplot(2,1,1);
plot(x,y,'r')
xlabel('x-axis')
ylabel('y-axis')

% plot for Kinetic energy
subplot(2,1,2);
plot(t,KE,'b')
xlabel('t (or \theta)')
ylabel('K.E.')

Here is the screenshot

Add a comment
Know the answer?
Add Answer to:
(a) Use a computer program to plot the cycloid curve in the xy plane, given the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A frictionless wire is bent into the shape of a cycloid curve, with coordinates given by...

    A frictionless wire is bent into the shape of a cycloid curve, with coordinates given by the parametric equations ? = ?(? + sin ?), ? = ?(1 − cos ?), for −? < ? < ?. The x axis is horizontal, and y is vertically upwards. A bead of mass m slides freely on the wire. Show that the distance s, measured along the wire from the origin, is given by ? = 4? sin. Write out the potential...

  • 9.6 FE/EIT Review - Momentum, energy, and orbital mechanics.maF The following figure shows a sate...

    9.6 FE/EIT Review - Momentum, energy, and orbital mechanics.maF The following figure shows a satellite Q (modalnd s particke of mase m) in an ellptical orbit around Earth. Earth is modeled as a particle O fixed in a Newtonian reference frame N Draw right-handed orthogonal unit vectors i, i,, і, fixed in N with fix horizontally-... right and parallel to the ellipse's major diam- eter, i, vertically-upward and parallel to the ellipse's minor diameter, and fi, perpendicu lar to the...

  • Consider a cylindrical capacitor like that shown in Fig. 24.6. Let d = rb − ra...

    Consider a cylindrical capacitor like that shown in Fig. 24.6. Let d = rb − ra be the spacing between the inner and outer conductors. (a) Let the radii of the two conductors be only slightly different, so that d << ra. Show that the result derived in Example 24.4 (Section 24.1) for the capacitance of a cylindrical capacitor then reduces to Eq. (24.2), the equation for the capacitance of a parallel-plate capacitor, with A being the surface area of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT