blob: 3d00f33f071056615bde108d97bacfca90d513de (
plain)
1
2
3
4
5
6
7
8
|
// Example 1.3
// Magnitude Manipulations
P_max=20; // Maximum power rating of the device
V_max=50; // Maximum voltage rating of the device in kV
i_max=P_max/(V_max*10^3);// Maximum current that can be drawn from the device
disp(P_max,"Maximum power rating of the device(in Watt)=")
disp(V_max,"Maximum voltage rating of the device(in kV)=")
disp(i_max,"Maximum current through the device(in Amps)=")
|