blob: ff6de3450108fa5da4e3afbddb53796380b2ef26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
r=3*10**-3 //m
m=9*10**9
q1=27*10**-12 //C
//Calculation
R=3*r
C=R/m
V=q1/C
//Result
printf("\n Capacitance of the bigger drop is %0.3f pico F \npotential of the bigger drop is %0.3f Volts",C*10**12,V)
|