blob: ac9d530e323ce4e61704138fd40e461c2464eb0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
//
//
//
//Variable declaration
E=1*10**-4
D=5*10**-4
V=0.5
P=4*10**-4
//Calculations
Er=(D/E)
NDM=P*V
//Result
printf("\n (a) The Value of Er is %i ",Er)
printf("\n (b) The Net Dipole Moment is %0.4f coul-m or 2*10**-4 coul-m",NDM)
|