diff options
Diffstat (limited to '1730/CH2/EX2.23/Exa2_23.sce')
-rwxr-xr-x | 1730/CH2/EX2.23/Exa2_23.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1730/CH2/EX2.23/Exa2_23.sce b/1730/CH2/EX2.23/Exa2_23.sce new file mode 100755 index 000000000..7ed4e60c0 --- /dev/null +++ b/1730/CH2/EX2.23/Exa2_23.sce @@ -0,0 +1,15 @@ +//Exa2.23
+clc;
+clear;
+close;
+//given data
+V=220;// in V
+W=100;//in watt
+R100=V^2/W;//in ohm
+alpha20=0.005;
+t1=20;
+t2=2000;
+// since R100=R20*[1+alpha20*(t2-t1)]
+R20=R100/(1+alpha20 * (t2-t1));
+I20=V/R20;
+disp("Current flowing at the instant of switching on a 100 W metal filament lamp is : "+string(I20)+" A")
\ No newline at end of file |