blob: 0485d011890028a3637ca40ce86af8a08dda47b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//Example number 7.11, Page number 150
clc;clear;
close;
//Variable declaration
A=180*10**-4; //area(m**2)
epsilonr=8; //relative permittivity
C=3*10**-6; //capacitance(F)
V=10; //potential(V)
epsilon0=8.85*10**-12;
//Calculation
E=V*C/(epsilon0*epsilonr); //field strength(V/m)
dm=epsilon0*(epsilonr-1)*A*E; //total dipole moment(coul m)
//Result
printf("field strength is %.4e V/m",E)
printf("\n total dipole moment is %.4e Coul.m",dm)
//answer in the book is wrong"
|