program CalculateValues;
uses Math;
var
a, b_input, t, c, b, q, r, z, p: real;
begin
writeln('Введите значения a, b, t, c:');
readln(a, b_input, t, c);
if c > 4 then
z := sqr(a) + sin(c)
else
z := 1 - abs(a * c);
q := 1.5 * z;
r := q + sin(38 * Pi / 180);
if a <= -2 then
p := 1 + sqr(q)
else
p := 1 + ln(abs(q) + 3);
b := q * r + exp(-sin(p * z)) - sqrt(abs(t)) + 4;
writeln('b = ', b:0:10);
writeln('q = ', q:0:10);
writeln('r = ', r:0:10);
writeln('z = ', z:0:10);
writeln('p = ', p:0:10);
readln;
end.