summaryrefslogtreecommitdiff
path: root/45/CH7/EX7.8/example_7_8.sce
blob: 7d36067d7c930255978b7c3f44d1231fbc6388d1 (plain)
1
2
3
4
5
6
7
8
9
//example 7.8
clc
clear
//Ra = input('Enter the value of the resistance RA in Kohms :');
//pw =input('Enter the value of required pulse width in millisecndseconds :');
Ra=10//taking given values 
pw=10
C = pw/(1.1*Ra); //substituting in the equation 
printf('The required value of capacitance is %f microfarads',C);//displaying result