11 lines
282 B
C
11 lines
282 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
int main() {
|
|
double dx, dy, df_1, df_2;
|
|
scanf("%lf %lf", &dx, &dy);
|
|
df_1 = (1 / sqrt(2 * 3.14)) * exp(-(dx * dx) / 2);
|
|
df_2 = sin(dx*dx + dy*dy) * cos(dx + dy) / 3;
|
|
printf("f_1 = %lf, f_2 = %lf", df_1, df_2);
|
|
return 0;
|
|
} |