blob: dfdfec23a6deec118ad00268f03ba44d5c27404e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clear
//Initialization
v=100 //voltage
d=10**-5 //distance in meter
//Calculation
e=v*d**-1 //Electric Field Strength
//Results
printf("\n Electric Field Strength, E = %d ^7 V/m",round(e*10**-6))
|