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 /1529/CH21/EX21.25 | |
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 '1529/CH21/EX21.25')
-rwxr-xr-x | 1529/CH21/EX21.25/21_25.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1529/CH21/EX21.25/21_25.sce b/1529/CH21/EX21.25/21_25.sce new file mode 100755 index 000000000..bd528915f --- /dev/null +++ b/1529/CH21/EX21.25/21_25.sce @@ -0,0 +1,13 @@ +//Chapter 21, Problem 25
+clc;
+V=24; //ac source
+R1=15e3; //input resistance
+N=25/1; //turns ratio
+Rin=15e3; //internal resistance
+Rl=R1*(1/N)^2; //load resistance
+Rt=Rin+R1; //total input resistance
+I1=V/Rt; //primary current
+I2=I1*N; //secondary current
+P=I2^2*Rl; //power dissipated
+printf("(a) Load resistance = %d ohms\n\n",Rl);
+printf("(b) Power dissipated in the load = %.1f mW",P*1000);
|