Program ex1; uses crt; var x, y: real; begin readln(x); if (x>=5) and (x<=10) then writeln((x-1)/(2*x)) else if (x<=2) then writeln(sin(2*x)) else writeln(cos(x)-1); end.