I designed the circuit and obtained the desired outputs correctly. for for circuit it R = 1e3 , C= 0.15e-6, and f = 250 , ( for RC circuit) and in the second part it asks to increase the frequency to 2Kh that is R = 1e3 , C= 0.15e-6, and f = 2kh. now it asks Compare the gains and phases from question 1)d) and 1)e). Justify and explain similarities and/or differences I know the gain is Vout/Vin but the output looks pretty weird I have an idea but is there a difference between the two? I mean changing the frequency should change the gain or not?
here is output/input waveform for circuit with f=250H
and here is the one with f=2KH
I also plotted the bode diagram for both circuits. f=250, and f=2kh respectively.
here is the code for Bode digram ( frequency domain)