#include
#include
using namespace std;
int factorial(int n)
{
if(n > 1)
return n * factorial(n - 1);
else
return 1;
}
int main()
{
double sum=0;
double sumSin=0;
for(int k=1; k<=10; k++ ){</p>
for(int n=1; n<=k; n++){</p>
sumSin+=sin(k*n);
}
sum+=sumSin/factorial(k);
}
cout << sum << endl;</p>
return 0;
}