summaryrefslogtreecommitdiff
path: root/3768/CH1/EX1.6/Ex1_6.sce
blob: b8c17811b9ae66598ee1f13c5e33f0adc083f53a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example number 1.6, Page number 12

clc;clear;
close;

//Variable declaration
dm=1.98*(10**-29)*(1/3);      //dipole moment
l=0.92*10**-10;        //bond length(m)

//Calculation
ec=dm/l;        //effective charge(coulomb)

//Result
printf( "effective charge is %.1e Coulomb",ec)
//answer given in the book is wrong