diff options
Diffstat (limited to '2384/CH3/EX3.8/ex3_8.sce')
-rwxr-xr-x | 2384/CH3/EX3.8/ex3_8.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2384/CH3/EX3.8/ex3_8.sce b/2384/CH3/EX3.8/ex3_8.sce new file mode 100755 index 000000000..9fe770005 --- /dev/null +++ b/2384/CH3/EX3.8/ex3_8.sce @@ -0,0 +1,12 @@ +// Exa 3.8
+clc;
+clear;
+close;
+format('v',5)
+// Given data
+T = 0.3;// in sec
+V = 20;// in V
+Vav = 1/T*V*integrate('1','t',0,0.1)
+disp(Vav,"The average value of voltage in V is");
+Vrms =sqrt(1/T*V^2*integrate('1','t',0,0.1))
+disp(Vrms,"The R.M.S value of voltage in V is");
|