Advertisement
hiddenGem

Steel Beam Dropped

Jul 1st, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.63 KB | None | 0 0
  1. %% Steel Beam Dropped
  2. % Determines the induced EMF in a dropped beam before it hits earth's
  3. %   surface
  4.  
  5. % Constants
  6. g = 9.81;                   % [m/s] Acceleration due to gravity on Earth
  7.  
  8. % Inputs and Variables
  9. l = input('What is the length of the beam?\n');
  10. h = input('What is the height at which the beam is dropped?\n');
  11. Emag = input('What is horizontal component of the magnetic field?\n');
  12.  
  13. % Outputs  Equations
  14. v = sqrt(2*g*h);
  15. E = v*l*Emag;
  16.  
  17. %{
  18. Under the assumption that the beam's long dimension remains in a
  19. horizontal field, oriented perpendicularly to the horizontal component of
  20. the Earth's magnetic field
  21. %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement