blob: 512f81241a2d6b96d291773d28f6663f565720f7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//example-18.2
//page no-537
//given
//distance between the plates
d=5*10^-3 //m
//voltage difference between the plates
V=230 //Volts
//electric field is given by
E=-V/d //V/m
printf ("electric field between the plates is %f V/m",E)
|