summaryrefslogtreecommitdiff
path: root/1784/CH26/EX26.1/example1.sce
blob: 4635fd107da5b64ef4424f3fae20250997388298 (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter26
//Example 1.1
clc
m=3.1 //mass of copper penny in grams
e=4.6*10^-18 //charge in coulombs
N0=6*10^23 //avogadro's number atoms/mole
M=64 //molecular weight of copper in gm/mole
//Calculation
N=(N0*m)/M;  //No.of copper atoms in penny
q=N*e; //magnitude of the charges in coulombs
disp(q,"magnitude of the charges in coul is")