function [x1,x2] = quad_eq_solver(a,b,c)
% Solves quadratic equation a*x^2 + b*x + c = 0
	d=b^2-4*a*c;
	x1=(-b + sqrt(d))/(2*a);
	x2=(-b - sqrt(d))/(2*a);
end
