function [c,d,e,f,g,h,k,l,m,n,o,p,q,r,s]=gyak2_(a,b,x)
c = x>a&x<b;
d = x(c); 
e = find(c);
f = mean(x);
g = x<a&x>=f;
h = x(g);
k = x>=a&x<=b;
l = x(k);
m = max(l);
n = find(l==m);
o = length(l);
t = linspace(eps, pi, 100);
fv = sin(t)./(4.7.*t+3)+0.1*cos(t.^2);
p =  t(find(max(fv)==fv));
q = max(fv);
%% Ide kerüljön a 2.6-os feladat megoldása 
r = figure; % ez után a sor után
t = 5:1:10;
plot(t,t./sin(t),'r--o');
xlabel('t');
ylabel('y ertek');
title('abracim');
%% Ide kerüljön a 2.7-es feladat megoldása 
s = figure; % ez után a sor után

t = 2:1:14;
fv_bf = 0.5-0.2*power(exp(1), log(t).*cos(t));
fv_ba = power(pi,(0.1*t-3)).*sin(t);
fv_jb = cos(t)./power(exp(1),sin(t));

%%abra1 jobb
subplot(2,2,[2,4]);
plot(t,fv_jb, 'r-*');
hold on;
plot(t,0*t, 'k--');
xlim([2 14]);
title('jobboldal');
xlabel('t');
ylabel('y ertek');
grid on;
ax = gca;
ax.GridLineStyle = ':';
ax.MinorGridLineStyle = ':';

%%abra2 balfent
subplot(2,2,1);
plot(t,fv_bf, 'b--s');
title('balfelso');
xlabel('t');
ylabel('y ertek');
xlim([2 14]);

%%abra3 ballent
subplot(2,2,3);
plot(t,fv_ba, 'k^-');
title('balalso');
xlabel('t');
ylabel('y ertek');
xlim([2 14]);

end