Java:
{
int n = Integer.parseInt(args[0]);
// compute coeffients for Taylor series e^x = 1 + x + x^2/2! + x^3/3! + ...
long [] a = new long[n];
a[0] = 1;
for (int i = 1; i < n; i++) {
a[i] = a[i-1] / i;
}
}
Zuletzt bearbeitet von einem Moderator: