diff options
Diffstat (limited to '1958/CH12/EX12.e.7/Chapter12_example7.sce')
-rwxr-xr-x | 1958/CH12/EX12.e.7/Chapter12_example7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1958/CH12/EX12.e.7/Chapter12_example7.sce b/1958/CH12/EX12.e.7/Chapter12_example7.sce new file mode 100755 index 000000000..966692d44 --- /dev/null +++ b/1958/CH12/EX12.e.7/Chapter12_example7.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Inut data
+R=[4,5,6]//Resistances from circuit diagram 12.22 on page no.181 in ohms
+I=2//Current in A from circuit diagram 12.22 on page no.181
+
+//Calculations
+RN=(R(1)+R(2)+R(3))//Equivalent resistance in ohms
+IN=(R(1)*I)/RN//Equivalent curren in A
+
+//Output
+printf('Nortons equivalent resistance is %i ohms \n Nortons equivalent current is %3.3f A',RN,IN)
|