summaryrefslogtreecommitdiff
path: root/1823/CH1/EX1.7/SolEx1_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1823/CH1/EX1.7/SolEx1_7.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 '1823/CH1/EX1.7/SolEx1_7.sce')
-rwxr-xr-x1823/CH1/EX1.7/SolEx1_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1823/CH1/EX1.7/SolEx1_7.sce b/1823/CH1/EX1.7/SolEx1_7.sce
new file mode 100755
index 000000000..9249f1491
--- /dev/null
+++ b/1823/CH1/EX1.7/SolEx1_7.sce
@@ -0,0 +1,17 @@
+
+//find the Thevenin equivalent for the network to the left of terminals a; b.
+//Solved Example 1.7
+//page no 19
+clear
+clc
+printf("\n find the TheĀ“venin equivalent for the network to the left of terminals a; b.")
+V1=10//V
+V2=15//V
+R1=4//ohm
+R2=6//ohm
+I=(V1-V2)/(R1+R2)
+printf("\n The value of I is =%0.2f A",I)
+Vth=V1-I*R1
+printf("\n The value of Thevenin Equivalent voltage=%0.2f V",Vth)
+Zth=(R1*R2)/(R1+R2)
+printf("\n The value of Thevenin Impedance =%0.2f ohm",Zth)