From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1595/CH2/EX2.9/ex2_9.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 1595/CH2/EX2.9/ex2_9.sce (limited to '1595/CH2/EX2.9') 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 -- cgit