blob: ab12f92e0b0025c9f2b88bba7c5fe7f859397f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear
//Given
a=5*10**-6
e=8.854*10**-12
r=0.1
//Calculation
//
b=-(a*%pi*r**2*(cos(60)*180/3.14))/(2*e)
//Result
printf("\n Electric flux through a circular area is %0.2f *10**3 Nm**2C-1",b*10**-5)
|