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 /1964/CH4/EX4.8 | |
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 '1964/CH4/EX4.8')
-rwxr-xr-x | 1964/CH4/EX4.8/ex4_8.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1964/CH4/EX4.8/ex4_8.sce b/1964/CH4/EX4.8/ex4_8.sce new file mode 100755 index 000000000..2d5263e50 --- /dev/null +++ b/1964/CH4/EX4.8/ex4_8.sce @@ -0,0 +1,15 @@ +//Chapter-4, Example 4.8, Page 136
+//=============================================================================
+clc
+clear
+//let the current peak value of sinusoidal and rectangular waves are Im.
+//CALCULATIONS
+Im=1;//let im current value be 1(just for calculation purposes)
+rms1=sqrt(((Im)^2*%pi)/(%pi));//rms current value of rectangular wave
+function y1=f1(x),y1=(Im^2)*(sin(x))^2,endfunction
+a1=(intg(0,%pi,f1));
+a1=a1/(%pi);//mean square value in A
+rms=sqrt(a1);//rms value in A
+z=((rms)^2/(rms1)^2);//relative heating effects
+mprintf("relative heating effects is %1.1f",z);
+//=================================END OF PROGRAM==============================
|