diff options
Diffstat (limited to '3836/CH14/EX14.5/Ex14_5.sce')
-rw-r--r-- | 3836/CH14/EX14.5/Ex14_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3836/CH14/EX14.5/Ex14_5.sce b/3836/CH14/EX14.5/Ex14_5.sce new file mode 100644 index 000000000..0bfc9f3d3 --- /dev/null +++ b/3836/CH14/EX14.5/Ex14_5.sce @@ -0,0 +1,14 @@ +clear +// +//Initialization +l1=10 //Inductance in henry +l2=20 //Inductance in henry + +//Calculation +ls1=l1+l2 //Inductance in henry +lp=((l1*l2)*(l1+l2)**-1) //Inductance in henry +//Results +printf("\n (a) Inductance in series,L = %d uH",ls1) + +printf("\n (b) Inductance in parallel,L = %.2f uH",lp) + |