summaryrefslogtreecommitdiff
path: root/1271/CH20/EX20.9/example20_9.sce
blob: d1c57b88ee050afc674edd9c4a01941be50aef20 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc 
// Given that
V = 50e3 // voltage in V
i = 1e-3 // current in amp
e = 1.6e-19 // charge on an electron in C
// Sample Problem 9 on page no. 20.9
printf("\n # PROBLEM 9 # \n")
printf("Standard formula used \n ")
printf("I = ne \n")
n = i / e
printf("\n Number of electrons striking the anode per sec is %e.",n)