这个题怎么做(゚o゚;

img

img


#include <stdio.h>
#include <stdlib.h>
#include<math.h>
int main() {
    double x  , y  = 0 ;
    scanf("%lf", &x);
    y = log(x + sqrt(x * x + 1));
        printf("%.4f\n",  y );
    return 0;
}