Compute dy/dx

The second derivative is incorrect. You have to use product rules from the beginning. Define 2 functions for your product rules, f(x) and g(x).
 
Top