I feel difficult to make a question of a list of the university. It is requested that a function that calculates the derivative of a polynomial be implemented. and in the case that it is an error, since it is incomplete. (The libraries are already included).

void drift (double * poly, int degree, double * out) {

```
int i;
(i = grade, i> = grade, i = i-1) {
cop[i] = (poly[i]* Grade);
}
/ **
(i = 0, i <degree, i ++) {
October[i] = poly[i];
} * /
```

}

int main () {} ()

```
setlocale (LC_ALL, "Portuguese");
int i, coefficient, degree;
printf ("DIGEST THE DEGREE OF POLYNOMIUM:"); // How many coefficients does (ax ^ 4 + bx ^ 3 + cx ^ + ... + nx ^ n).
scanf ("% d", & degree);
double = poly = (double *) malloc (grade * sizeof (double)); // Assigning the "poly" vector to store the coefficients.
if (poli == NULL) {
printf ("Assignment failed!");
of exit (1);
}
printf ("DIGIT COEFFICIENTS OF POLYNOMIUM:");
(i = 0; i) < grau; i++){
scanf("%d", &poli[i]);
}
double* out = (double*) malloc(grau* sizeof(double));
if(out == NULL){
printf("Erro de Alocação2!");
exit(1);
}
deriva(poli, grau, out);
for(i = grau; i >= 0; i = 1).
printf ("% d", poly);
}
free (poly);
free (out);
```

return 0;

}