diff options
Diffstat (limited to '1958/CH12/EX12.e.4/Chapter12_example4.sce')
-rwxr-xr-x | 1958/CH12/EX12.e.4/Chapter12_example4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1958/CH12/EX12.e.4/Chapter12_example4.sce b/1958/CH12/EX12.e.4/Chapter12_example4.sce new file mode 100755 index 000000000..e5b0a1b33 --- /dev/null +++ b/1958/CH12/EX12.e.4/Chapter12_example4.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+R=[2,3,6]//Resistances from circuit diagram 12.15 on page no. 178 in ohms
+I=2//Current in A from circuit diagram 12.15 on page no. 178
+
+//Calculations
+Rth=(R(2)+R(3))//Equivalent resistance in ohms
+Vth=(R(3)*I)//Equivalent voltage in V
+
+//Output
+printf('Thevenin equivalent resistance is %i ohms \n Thevenin equivalent voltage is %i V',Rth,Vth)
|