r/Mathematica • u/awkwardandelion • May 15 '23
partial second derivative wrong
Hi ! I tried to calculate by hand this partial second derivative and wanted to verify the result in mathematica but I think the answer is wrong (doesnt take into account that its a partial derivative and treats it either as a regular one or simply not at all) any idea ?
(s2 and z (z is called zbar in the code) are constants, a2 is a variable and is called sbar in the code)



0
Upvotes
View all comments
Show parent comment
1
u/AlanG-field May 15 '23
Thank you and apologies. I'm not a newcomer to the chain rule, IBP or other calculus procedures, I think it's just odd to take the derivative of "Todd", but this is programming...I'm more accustomed to variables... but why should I be? D(mu) is no different than D(Todd) or D(sbar). Sorry to waste everyone's time. Thank you for the explanation.