Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Derivative of (sin(x))^2' topicStudent Support Forum > General > Archives > "Derivative of (sin(x))^2"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda ben-shimol
09/26/10 02:47am

D[Sin[x]^2]
returns the desired result

if you would like to use Derivative formalism then you need to define a function

that is

Derivative[1][Sin[#]^2&][x]

Since you didn't quoted your code, I suspect problems might be with
1) use Capitals for built in functions, e.g., Sin rather than sin
2) use Square brackets for function arguments, that is, Sin[x] rather than Sin(x) (or sin(x)) which denotes multiplication in Mathematica

3) defining the variable for the derivative (therefore use D[...,x] or Derivative as I used above)

yehuda

URL: ,

Subject (listing for 'Derivative of (sin(x))^2')
Author Date Posted
Derivative of (sin(x))^2 Jake 09/22/10 10:49pm
Re: Derivative of (sin(x))^2 yehuda ben-s... 09/26/10 02:47am
< Previous CommentHelp | Reply To Comment | Reply To Topic