Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %% Spinning Elliptical Coil
- % Determines the maxmium voltage induced in the coil if the axis of
- % rotation of the coil is along its major axis
- % Inputs and Variables
- N = input('Number of Turns\n');
- Major = input('What is the major axis?\n')/2;
- Minor = input('What is the minor aixs?\n')/2;
- w = input('RMP\n')*pi/30;
- B = input('Magnetic field from earth\n');
- % Outputs and Equations
- A = pi*Major*Minor;
- E = N*B*A*w;
- fprintf('The maximum voltage is %.3e V \n', E)
- %{
- The code will ask the user to input the rotation speed in RPM. It will save
- the variable is saved in rad/s
- %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement