code/C/derivative/derivative.c
char *take_derivative(char *function)
{
    char *derivative = (char *)malloc(sizeof(char) * size);
    long int k = 0;
    long int p = 0;
    
    find_factor(function);
    
//    k = find_factor(function) * find_exp(function);     // new factor
//    p = find_exp(function) - 1;                         // nex exponent
    
    return derivative;
}
/**
 * take_derivative
 *
 * Take the derivative of a given function
 *
 * @param   function
 * @return  derivative of the function
 */
take_derivative
Take the derivative of a given function

@param   function
@return  derivative of the function
take_derivative Take the derivative of a given function @param function @return derivative of the function
char *take_derivative(char *function)
{
    char *derivative = (char *)malloc(sizeof(char) * size);
    long int k = 0;
    long int p = 0;
    find_factor(function);
    return derivative;
}
char * take_derivative ( char * function ) { char * derivative = ( char * ) malloc ( sizeof ( char ) * size ) ; long int k = 0 ; long int p = 0 ; find_factor ( function ) ; return derivative ; }
take_derivative
 Take the derivative of a given function
take_derivative Take the derivative of a given function
//    k = find_factor(function) * find_exp(function);     // new factor //    p = find_exp(function) - 1;                         // nex exponent