blob: ba18a4cf1d1f3aa416fbc0176f0736d00ffa0986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Chapter 4, Example 4.4
clc
//Initialisation
q=15*10**-6 //charge in coulomb
a=200*10**-6 //area in meter
//Calculation
d=q/a //electric flux density
//Results
printf("Electric Flux Density, D = %d mC/m^2",d*10**3)
|