diff options
Diffstat (limited to '2045/CH12/EX12.2/Ex12_2.sce')
-rwxr-xr-x | 2045/CH12/EX12.2/Ex12_2.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2045/CH12/EX12.2/Ex12_2.sce b/2045/CH12/EX12.2/Ex12_2.sce new file mode 100755 index 000000000..6a84545a6 --- /dev/null +++ b/2045/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,11 @@ +//pagenumber 553 example 2
+clear
+latcur=50*10^-3;//ampere
+durpul=50*10^-6;//second
+induct=0.5;//henry
+r=20;//ohm
+voltag=100;//volt
+w=induct/r;
+inpcur=-(voltag/r)*((1)-exp(-durpul/w));
+disp("current = "+string(abs(inpcur))+"ampere");
+disp("input current less than required current");
|