blob: d809b9bb677c86057e1f7af2ecff1ea5fde233cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Ex1_1
clc;
//Given:
v=1000;// potential
d=0.05;// distance
q=3.8*10^-9;// charge
//solution:
e=v/d;//electric field
f=e;// force
f1=f*q;// force on metal sphere
printf("\n The electric field in V/m is = %f ",e)
printf("\n The force in N/C is = %f ",f)
printf("\n The force on metal sphere in N is = %f ",f1)
|