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 /2882/CH8/EX8.2 | |
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 '2882/CH8/EX8.2')
-rwxr-xr-x | 2882/CH8/EX8.2/Ex8_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2882/CH8/EX8.2/Ex8_2.sce b/2882/CH8/EX8.2/Ex8_2.sce new file mode 100755 index 000000000..68d722080 --- /dev/null +++ b/2882/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,15 @@ +//Tested on Windows 7 Ultimate 32-bit
+//Chapter 8 Power Amplifiers Pg no. 267,268 and 269
+clear;
+clc;
+
+//Given Data
+
+p_out=32;//output power of speaker in watts
+Z_speaker=8;//impedance of speaker in ohms
+
+//Solution
+
+v_out=sqrt(p_out*Z_speaker);//output a.c. voltage in volts
+i_out=v_out/Z_speaker;//output a.c. current in amperes
+printf("The a.c. output voltage V = %d Volts\n The a.c. output current I = %d Amperes",v_out,i_out);
|