The table of function values should be displayed in the form x = y = For some reason, only the first value x, y is output.
var a, b, x0, x1, dx, y, n : real; begin ... write('Enter a, b, x0, x1, dx: '); readln(a, b, x0, x1, dx); //3.1 1.5 0.5 1.5 0.25 n:= x0; repeat y:= ((sqrt(a*x0))+b)/(sqr(sin(x0)/cos(x0))); writeln('x=', x0:5:2, ' y=', y:5:2); x0:= x0 + dx; until (x0>=n) and (x0<=x1); x0:= n;