summaryrefslogtreecommitdiff
path: root/1628/CH9/EX9.12/Ex9_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1628/CH9/EX9.12/Ex9_12.sce')
-rwxr-xr-x1628/CH9/EX9.12/Ex9_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1628/CH9/EX9.12/Ex9_12.sce b/1628/CH9/EX9.12/Ex9_12.sce
new file mode 100755
index 000000000..798b3aa81
--- /dev/null
+++ b/1628/CH9/EX9.12/Ex9_12.sce
@@ -0,0 +1,19 @@
+
+
+ // Example 9.12
+
+T=20*10^-3; // Time period
+A0_10=40*100*10^-3; // Area between t= 0-10
+A10_20=100*10*10^-3; // Area between t= 10-20
+A=A0_10+A10_20; // Total Area of waveform
+V=A/T; // Average value of waveform
+disp(' Average value of waveform = '+string(V)+' Volt');
+
+v=sqrt(V); // Rms value
+disp(' Rms value of waveform = '+string(v)+' Volt');
+
+
+
+
+
+ // p 230 9.12 \ No newline at end of file