summaryrefslogtreecommitdiff
path: root/995/CH2/EX2.20/Ex2_20.sce
blob: 3a4c5f3c5d7fcd6aa11001f62782b6c555d97e90 (plain)
1
2
3
4
5
6
7
8
//Ex:2.20
clc;
clear;
close;
C=47*10^-6;//in farads
W=4;//energy in joules
V=sqrt(W/(0.5*C));
printf("Voltage tht be applied = %d volts",V);