summaryrefslogtreecommitdiff
path: root/2234/CH4/EX4.12/ex4_12.sce
blob: 72169bd6d5a00d89f8cb16558b1cf0773a829d2e (plain)
1
2
3
4
5
6
7
clc;
eo=8.85*10^-12;  //constant
r=1.2;   //r in m
t=80*10^-6;  //surface sharge density in c/m square
q=t*4*(%pi)*(r^2);  //calculating charge
fi=q/eo;     //calculating flux
disp(fi,"Flux in N m square/c = ");  //displaying result