summaryrefslogtreecommitdiff
path: root/2672/CH1/EX1.32/Ex1_32.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2672/CH1/EX1.32/Ex1_32.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2672/CH1/EX1.32/Ex1_32.sce')
-rwxr-xr-x2672/CH1/EX1.32/Ex1_32.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2672/CH1/EX1.32/Ex1_32.sce b/2672/CH1/EX1.32/Ex1_32.sce
new file mode 100755
index 000000000..2ac431656
--- /dev/null
+++ b/2672/CH1/EX1.32/Ex1_32.sce
@@ -0,0 +1,21 @@
+//Example 1_32
+clc;
+clear;
+close;
+format('v',5);
+//given data :
+V=12;//V
+R1=2;//ohm
+R2=2;//ohm
+R3=2;//ohm
+R4=2;//ohm
+R5=2;//ohm
+//calculating Open circuit voltage :
+I=V/(R1+R2+R3);//V
+VCD=I*R3;//V
+VAB=VCD;//V//Open circuit voltage
+Req=(R1+R2)*R3/(R1+R2+R3)+R4+R5;//ohm
+RL=Req;//ohm//For maximum Power transfer
+disp(RL,"For maximum Power transfer, RL(ohm)");
+PLmax=VAB^2/4/RL;//W
+disp(PLmax,"Value of maximum Power(W)");