diff options
Diffstat (limited to '3850/CH39/EX39.1/Ex39_1.sce')
-rw-r--r-- | 3850/CH39/EX39.1/Ex39_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3850/CH39/EX39.1/Ex39_1.sce b/3850/CH39/EX39.1/Ex39_1.sce new file mode 100644 index 000000000..ae298e3f7 --- /dev/null +++ b/3850/CH39/EX39.1/Ex39_1.sce @@ -0,0 +1,22 @@ + +//To Calculate the rms value of Current and time required to reach the Peak Value
+
+//Example 39.1
+
+clear;
+
+clc;
+
+i0=5;//Peak Value of Alternating Current in Amperes
+
+Irms=i0/sqrt(2);//RMS Value of Alternating Current in Amperes
+
+f=60;//Frequency of Alternating Current in Hz
+
+T=1/f;//Time period of Alternating Current in seconds
+
+t=T/4;//Time required to reach the Peak Value of Current in seconds
+
+printf("RMS Value of the Alternating Current = %.1f A",Irms);
+
+printf("\n Time required to reach the Peak Value of Current = %f s",t);
|