function [U,x]=my_solution2(a,b,N,q);
x=uniform(a,b,N); % Omioimorfos diamerismos
x_inside=x(2:end-1); %esoterika simeia
h=x(2)-x(1); %yplogismos h
F=zeros(N,1);
for i=1:N
    F(i)=h^2*f(x(i+1));
end
A=my_triag2(N,x_inside,q) %triafiagonios pinakas
y=A\F;  %epilisi grammikou sistimatos
U=zeros(N+2,1);
for i=1:N;
    U(i+1)=y(i);
end

