blob: cf5eb71acb472bc91e5a04f4c62e2072b0352d07 (
plain)
1
2
3
4
5
6
|
clear
//
//kcl is applied to the circuit and the eqns obtained are solved using cramer's rule
printf("\n the voltages of nodes 1 and 3 are 50.29 and 57.71 respectively")
//i3=v/r
printf("\n current through 16 ohm resistor is 1.64A")
|