clc
clear all
close all

R1=10000;
R2=10000;
RG=1000;
RE1=9120;
RE2=4880;
RC=10000;
RY=75;
VG=0.1;
hfe=100;
re=75;
K=300;
CE=470e-6;

RB=1/(1/R1+1/R2);
RG2=1/(1/RG+1/RB);
RY2=1/(1/RY+1/RC);
VG2=RB*VG/(RB+RG);
r=(RG2+hfe*re)/(hfe+1);

KVO=-K*RY2/(r+RE2);

w=0:pi/30:50000*pi;
freqs(KVO*[1 1/(CE*RE2)],[1 (r+RE1+RE2)/(2*pi*CE*(r+RE1))],w);

title('Yukseltici alcak frekans cevabi')