Program Calculation (input, output);
const
K = 2;
L = 7390;
var
x, y, a, b: real;
n: integer;
begin
writeln('Please enter number of X');
readln(n);
case n of
1: x := 0.456;
2: x := 1.329;
3: x := 2.473;
else
begin
writeln('No number');
exit;
end;
end;
a := (L * x) / (Exp(5 * Ln(x)) * (Exp(K) - 1));
writeln('Result is A = ', a);
b := Sqrt(Exp((x - 1) / Sin(x)) + Cos(x));
writeln('Result is B = ', b);
if a >= 5 * b then
begin
y := Ln(2 * a - 3 * b * Exp(-x));
end
else
begin
y := Ln(3 * a - 2 * a * Exp(-x));
end;
writeln('Result is Y = ', y);
end.
UHJvZ3JhbSBDYWxjdWxhdGlvbiAoaW5wdXQsIG91dHB1dCk7CmNvbnN0IAogICAgSyA9IDI7CiAgICBMID0gNzM5MDsKdmFyCiAgICB4LCB5LCBhLCBiOiByZWFsOwogICAgbjogaW50ZWdlcjsKYmVnaW4KICB3cml0ZWxuKCdQbGVhc2UgZW50ZXIgbnVtYmVyIG9mIFgnKTsKICByZWFkbG4obik7CiAgCiAgY2FzZSBuIG9mCiAgICAxOiB4IDo9IDAuNDU2OwogICAgMjogeCA6PSAxLjMyOTsKICAgIDM6IHggOj0gMi40NzM7CiAgZWxzZSAKICAgIGJlZ2luCiAgICAgIHdyaXRlbG4oJ05vIG51bWJlcicpOwogICAgICBleGl0OwogICAgZW5kOwogIGVuZDsKICAKICBhIDo9IChMICogeCkgLyAoRXhwKDUgKiBMbih4KSkgKiAoRXhwKEspIC0gMSkpOwogIHdyaXRlbG4oJ1Jlc3VsdCBpcyBBID0gJywgYSk7CiAgCiAgYiA6PSBTcXJ0KEV4cCgoeCAtIDEpIC8gU2luKHgpKSArIENvcyh4KSk7CiAgd3JpdGVsbignUmVzdWx0IGlzIEIgPSAnLCBiKTsKICAKICBpZiBhID49IDUgKiBiIHRoZW4gCiAgYmVnaW4KICAgIHkgOj0gTG4oMiAqIGEgLSAzICogYiAqIEV4cCgteCkpOwogIGVuZAogIGVsc2UgCiAgYmVnaW4KICAgIHkgOj0gTG4oMyAqIGEgLSAyICogYSAqIEV4cCgteCkpOwogIGVuZDsKICAKICB3cml0ZWxuKCdSZXN1bHQgaXMgWSA9ICcsIHkpOwplbmQu