summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.5.a/Ex2_5a.sce
blob: ca77118e888177ba6bef0867e5457307f2e3886c (plain)
1
2
3
4
5
6
clc;
clear;
R1=10*10^3;
R2=470;
attenuation=R2/(R2+R1);
printf('The attenuation is %.3f',attenuation);