I have defined the following function, which is the Euler relation for $\cos\,x$.
f[x_] := 1/2*(Exp[I*k*x] + Exp[-I*k*x ] )
I want to take the derivative with respect to x, but I am not getting the "right" answer. How do I do this?
|
I have defined the following function, which is the Euler relation for $\cos\,x$.
I want to take the derivative with respect to |
||||
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.
|
I'm not sure what you're looking for in a 'right' answer, but here are some ways to take (and view) the derivative of your function:
Check the documentation for D and Dt and pay close attention to syntax (ie. where all the punctuation and arguments go) |
|||||
|
D[(Exp[I k x] + Exp[-I k x])/2, x]sure looks reasonable to me. – J. M.♦ May 12 at 17:18f'[x]? – Spawn1701D May 12 at 17:20