var
x:real;
begin
readln(x);
if x <= 2 then
writeln('F(x) = ', (x*x + 4*x + 5):5:2)
else writeln('F(x) = ', (1 / (x*x + 4*x + 5)):5:2);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
x:real;
begin
readln(x);
if x <= 2 then
writeln('F(x) = ', (x*x + 4*x + 5):5:2)
else writeln('F(x) = ', (1 / (x*x + 4*x + 5)):5:2);
end.