summaryrefslogtreecommitdiff
path: root/1529/CH2/EX2.1/2_01.sce
blob: 010fc19306e8ccd5fbaf0214473d65539d565e2a (plain)
1
2
3
4
5
6
//Chapter 2, Problem 1
clc;
Q=0.24;                         //Charge in coulombs
T=15*10^-3;                         //Time converted in seconds
I=Q/T;                          //Calculating current 
printf("Current flows = %f A",I);