blob: d390f43ad0a24a431b0dfe17886ea66cf2f7038f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear//
//Variables
Q = 7.5 //Charge (in Coulomb)
t = 0.5 //Time (in minute)
//Calculation
t = 0.5 * 60 //Time (in seconds)
I= Q/t //Current (in Ampere)
//Result
printf("\n The current in the element is %0.3f A.",I)
|