Program zad_1;
Var a,b,t,t2,x,y:real;
Begin
Writeln('BBOD a,b,t');
Read(a,b,t);
t2:=t*t;
x:=a*t2+b*t*sqr(sqr(sin(a*t)));
x:=x/sqrt(sin(t2)+a*a*a);
y:=arctan(x+exp(t))*ln(a*a+t);
writeln('x=',x:7:3);
writeln('y=',y:7:3);
end.
| #include <stdio.h>
#include <math.h>
int main(){
float a, b, t, t2, x, y;
puts("BBOD a,b,t");
scanf("%f%f%f", &a,&b,&t);
t2=t*t;
x=a*t2+b*t*pow(sin(a*t),4);
x/=sqrt(sin(t2)+a*a*a);
y=atan(x+exp(t))*log(a*a+t);
printf("x=%7.3f\ny=%7.3f\n",x,y);
return 0;
}
|