summaryrefslogtreecommitdiff
path: root/2234/CH4/EX4.13/ex4_13.sce
blob: 6723d103ac9f3a81e2d15d45df0a7dbc1b6d2bfd (plain)
1
2
3
4
5
6
clc;
eo=8.85*10^-12;  //constant
E=9*10^4;   //Electric field in N/C
r=2*10^-2;   //r in m
L=2*(%pi)*E*eo*r;  //calculating linear charge density
disp(L,"Linear charge density per cm = ");  //displaying result