summaryrefslogtreecommitdiff
path: root/1628/CH9/EX9.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1628/CH9/EX9.12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1628/CH9/EX9.12')
-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