Advertisement
hiddenGem

Inductor to Limit Maximum Current

Jul 16th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.38 KB | None | 0 0
  1. %% Inductor to Limit Maximum Current
  2. % Determines the inductance needed to keep the maximum current under a
  3. % specific value
  4.  
  5. % Inputs and Variables
  6. f = input('What is the frequency?\n');
  7. V = input('What is the voltage produced?\n');
  8. Imax = input('What is the maximum current?\n');
  9.  
  10. % Outputs and Equations
  11. L = sqrt(2)*V/(2*pi*f*Imax);
  12. fprintf('THe inductance value is %.3e H', L)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement