summaryrefslogtreecommitdiff
path: root/2534/CH2/EX2.4/Ex2_4.sce
blob: 1356e185448463bad605b993461e23a529bc90b0 (plain)
1
2
3
4
5
6
7
//Ex2_4
clc
I = 10*10^-6
t= 10
disp("I = "+string(I)+"A")//current
disp("t = "+string(t)+"seconds")//time
disp("Q = I*t = "+string(I*t)+"C")//calculation for charge