summaryrefslogtreecommitdiff
path: root/293/CH2/EX2.8/eg2_8.sce
blob: 9a60968e7fd0b86a963f8327a1dfa1d8674f5dde (plain)
1
2
3
4
5
G = 4; // voltage gain of the circuit 
r = G -1; // ratio of the resistances in the non-inverting op-amp circuit
disp(r,"Rf/Ri =")
//Result:
//A suitable choice for R1 is 10K, Hence Rf = 30K