blob: a3c4c65ca1217a34002ce528e2a498b55189cd6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Chapter 4, Example 4.3
clc
//Initialisation
v=100 //voltage
d=10^-5 //distance between plates
//Calculation
e=v/d //capacitance in farad
//Results
printf("Electric Field Strength, E = %d ^ 7 V/m",e*10^-6)
|