diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2384/CH3/EX3.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2384/CH3/EX3.7')
-rwxr-xr-x | 2384/CH3/EX3.7/ex3_7.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2384/CH3/EX3.7/ex3_7.sce b/2384/CH3/EX3.7/ex3_7.sce new file mode 100755 index 000000000..cd8847ffc --- /dev/null +++ b/2384/CH3/EX3.7/ex3_7.sce @@ -0,0 +1,13 @@ +// Exa 3.7
+clc;
+clear;
+close;
+format('v',6)
+// Givven data
+Vo= 1;// in V (assumed)
+Vav= integrate('Vo*sin(theta)','theta',0,%pi)/(2*%pi);
+Vrms= sqrt(integrate('Vo^2*(1-cos(2*theta))/2','theta',0,%pi))*sqrt(1/(2*%pi));
+kf= Vrms/Vav;
+disp("The average value of output voltage in volts is : "+string(Vav)+"*Vo or Vo/%pi")
+disp("The R.M.S value of output voltage in volts is : "+string(Vrms)+"*Vo or Vo/2")
+disp(kf,"The form factor is : ")
|