1 2 3 4 5 6 7 8 9 10
//Ex:4.8 clc; clear; close; V=240; c=100*10^-9; f=50; X_c=1/(2*%pi*f*c); I_c=V/X_c; printf("Current flow = %f A",I_c);