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 /1595/CH2/EX2.9 | |
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 '1595/CH2/EX2.9')
-rwxr-xr-x | 1595/CH2/EX2.9/ex2_9.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1595/CH2/EX2.9/ex2_9.sce b/1595/CH2/EX2.9/ex2_9.sce new file mode 100755 index 000000000..bf1cf630f --- /dev/null +++ b/1595/CH2/EX2.9/ex2_9.sce @@ -0,0 +1,10 @@ +// Amplitude Modulation-Transmission : example 2-9 : pg(100)
+a=1;
+b=0.03;
+c=0.05;
+d=0.02;
+e=0.04;
+x=sqrt((b^2+c^2+d^2+e^2)/a^2);
+y=x*100;
+printf("\nTHD = sqrt((V2^2)+(V3^3)+(V4^2)+(V5^2)/(V1^2)) \nTHD = %.5f",x);
+printf("\nTHD = %.2f percent",y);//total harmonic distortion
\ No newline at end of file |