summaryrefslogtreecommitdiff
path: root/165/CH15/EX15.8/ex15_8.sce
blob: 8dd4968d972db7b8318b008e849772bda9056ac7 (plain)
1
2
3
4
5
6
7
8
//Example 15.8
clc;

C=0.047*10^-6;      //in farads
f=50;               //in ohms
x=2*%pi*f*C;
R=invr(x);
printf('\nValue of resistor R = %.2f k ohm\n',R/1000)