summaryrefslogtreecommitdiff
path: root/608/CH2/EX2.01/2_01.sce
blob: ee51783f1774d9924384da573d51684e6b6cff65 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Problem 2.01: What current must flow if 0.24 coulombs is to be transferred in 15 ms?

//initializing the variables:
Q = 0.24; // in Coulomb
t = 0.015; // in sec

//calculation:
I = Q/t

printf("\n\nResult\n\n")
printf("\nCurrent(I): %.0f Ampere(A)\n",I)