#include <stdio.h>
#include <math.h>
 
double ypoteinousa(double a, double b) {
    return sqrt( a*a + b*b );
}
 
void proveUnitCycle() {
    double f = M_PI / 4;
    printf("%lf\n", ypoteinousa(
                       sin(f),
                       cos(f)
                    )
           );
}
 
int main() {
    proveUnitCycle();
    return 0;
}