diff options
Diffstat (limited to '1958/CH13/EX13.3/Chapter13_example3.sce')
-rwxr-xr-x | 1958/CH13/EX13.3/Chapter13_example3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1958/CH13/EX13.3/Chapter13_example3.sce b/1958/CH13/EX13.3/Chapter13_example3.sce new file mode 100755 index 000000000..143129329 --- /dev/null +++ b/1958/CH13/EX13.3/Chapter13_example3.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Input data
+L=2//Inductance in H
+Vrms=220//rms voltage in V
+f=50//Frequency in Hz
+
+//Calculations
+Xl=(2*3.14*f*L)//Reactance in ohms
+Irms=(Vrms/Xl)//rms current in A
+
+//Output
+printf('rms current is %3.3f A',Irms)
|