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 /1823/CH1/EX1.2/SoluEx1_2.sce | |
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 '1823/CH1/EX1.2/SoluEx1_2.sce')
-rwxr-xr-x | 1823/CH1/EX1.2/SoluEx1_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1823/CH1/EX1.2/SoluEx1_2.sce b/1823/CH1/EX1.2/SoluEx1_2.sce new file mode 100755 index 000000000..28692cf71 --- /dev/null +++ b/1823/CH1/EX1.2/SoluEx1_2.sce @@ -0,0 +1,21 @@ +//Solved Example 1.2
+//Page no 4
+//Find the current i2 by superposition theorem
+clear
+clc
+printf("\n Find the current i2 by superposition theorem")
+R1=1 //ohm
+R2=1 //ohm
+R3=1 //ohm
+Vs=10 //simWtv
+Vb=10 //v
+a=0
+V21=1/3*Vs//simWtv
+i21=V21/R2
+Is=3//A
+temp=R1*R2/(R1+R2)//Temp=R1||R2
+i32=Vb/(R3+temp)
+i22=(R1/(R1+R2))*i32
+i2=i21+i22
+i1=(Vs/(R1+R2))
+printf("\n the current i2 by superposition theorem = %1.2f A",i2)
|