Advertisement

Quick Calculus Question

Started by February 26, 2002 05:42 PM
3 comments, last by Big B 22 years, 11 months ago
I recently had this of a midterm f(x) = 2-x f''(x) = ? I know that d(2x)/dx = ln2*2x but that formula didn''t seem to work for 2-x when I ran my programs on it. If you could replace that question mark, it would put me at ease.
There is no topic so thoroughly covered that noone will ever bring it up again.
This isn't so much a formula that you can substitute -x for x. You need to use the chain rule to get (2-x)' = -ln2*2-x.

You might have done this, but I can't tell from your post

Edited by - sQuid on February 26, 2002 6:49:34 PM
Advertisement
Set y = -x, f(y) = 2y
f''(y)x = d(2y)/dy * dy/dx

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
That was fast. Thanks guys.


There is no topic so thoroughly covered that noone will ever bring it up again.
This short topic is okay, but please remember to keep discussions on the topic of game development.

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net

This topic is closed to new replies.

Advertisement