, , 0 . : a * x + b > 0; y * x + d > 0
0, : c2b2>=0
0, :
:
, , !!!!
a, b, c, d, x,y t1, t2. , ax , . double.
/* 2 */
/* */
/* . ____ */
#include <stdio.h> /* */
#include <math.h>
int main(void) /* */
{
double x,y; /* , */
double a=12.5, b=1.3; /*, */
double c=14.1, d=2.7;
double t1, t2; /* */
double ax; /* */
printf(" x, y >"); /* x y */
scanf("%lf %lf",&x,&y);
ax=a*x; /* */
t1=(b*log(ax+b)/a+d*log(y*x+d)/y)/c; /* */
ax=sqrt((c-b)*(c+b))*tan(ax); /* */
t2=log((ax+b)/(ax-b))/2/a/b; /* */
printf("t1 = %lg\n",t1); /* */
printf("t2 = %lg\n",t2);
return 0;
}
. -, -, . .
3
.
C
1.
2.
3.
4.
5.
5.1.
5.2.
5.3.
5.4.
C.
.
.
, (x, y) , , . . . " /? ")
|
|
- | |||
- | |||
- | - | ||
- | - | ||
- | - | ||
- | - | ||
- | - | ||
- | - | ||
- | |||
- | |||
- | |||
- | - | ||
Ƹ | |||
- | |||
Ƹ | - | ||
Ƹ | |||
- |