summaryrefslogtreecommitdiff
path: root/2621/CH7/EX7.15/Ex7_15.sce
blob: 6eafa47d7173754e6dd0a986194225803baf9c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Example 7.15
clc;
clear;
close;
// Given data
format('v',5);
C= 0.068*10^-6;// in F
f_N= 50;// in Hz
R= 1/(2*%pi*f_N*C);// in Ω
R= R*10^-3;// in kΩ
disp("The value of R is : "+string(R)+" kΩ ( Approx. 50 kΩ)")