blob: fb4c15ffba084edd7e1ae4e25fa7ad4b9e38958b (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 17_1
clc();
clear;
//To find number of electrons flow through bulb
current=0.15 //Units in C
q=1.6*10^-19 //Units in C/electron
noe=current/q //Units in number of Electrons
printf("The number of electrons that pass through bulb is=")
disp(noe)
printf("electrons")
|