let y = sin (3x+1)^4
dy/dx = cos (3x+1)^4 * 4(3x+1)^3 * 3
= 12(3x+1)^3 cos (3x+1)^4
I took the problem exactly the way you typed it.
another interpretation would be
(sin (3x+1) )^4 , but needing the brackets as shown
What is the derivative of sin(3x+1)^4?
1 answer