summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.24/Ex2_24.sce
blob: ed7199cd89887d320e7689bf38c6f6a77c9591bd (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 2-24, Page No - 57

clear 
clc

fco =3.4*10^3
C = 0.047*10^-6
R = 1/(6.28* fco* C)

printf('The value of the resistor is %.1f ohm', R)
printf('\nThe closest standard value is 1000 ohm ')