Solution to the problem number 10286 of UVA - 10286.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
#define PI acos(-1.0)
using namespace std;

int main()
{
    double d1,conv=sin(108*PI/180)/sin(63*PI/180); //radians = length
    while(scanf("%lf",&d1)==1)
        printf("%.10lf\n",d1*conv);
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!