summaryrefslogtreecommitdiff
path: root/2234/CH4/EX4.16/ex4_16.sce
blob: 1487b6f78b4a00886dba57752408aea543b4e24e (plain)
1
2
3
4
5
6
7
8
clc;
eo=8.85*10^-12;  //constant
o=80*10^-6;  //surface charge density in c/ square
r=1.2;  //in m
q=o*(%pi)*(r^2);  //calculating charge in Coulomb
fi=q/eo;  //calculating electric flux
disp(q,"Charge in Coulomb = ");  //displaying result
disp(fi,"Electric flux in N m square/c = ");  //displaying result