diff options
Diffstat (limited to '671/CH2/EX2.33/2_33.sce')
-rwxr-xr-x | 671/CH2/EX2.33/2_33.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/671/CH2/EX2.33/2_33.sce b/671/CH2/EX2.33/2_33.sce new file mode 100755 index 000000000..98182eeed --- /dev/null +++ b/671/CH2/EX2.33/2_33.sce @@ -0,0 +1,18 @@ +////////////////////////////////investigate the if then else construct
+
+
+
+I=5
+
+//KVL
+R=(-12.5+15)/I-0.02-0.035
+disp(R)
+
+P=poly([-25,12.5,0.035],"I","coeff")
+Z=roots(P)
+Ib=Z(2)
+disp(Ib)
+
+I=(13-12.5)/0.035
+R=(15-13)/I-0.02
+disp(R)
|