Many people do ComputerScience because they like math (or at least mathematical styles of reasoning) but fear calculus. Though it is not entirely unreasonable to fear integrals (see HowToIntegrate), no self-respecting computer scientist should fear differentiation, which can be done by memorizing a few simple rules. In the table below, u and v, by ancient convention, are functions of x, du and dv are their derivatives, f'(x) is the derivative of f(x) evaluated at x, and a is a constant.

function |
derivative |

a |
0 |

au |
a du |

x |
n x |

e |
e |

a |
e |

ln x |
1/x |

u+v |
du + dv |

uv |
u dv + v du |

f(g(x)) |
f'(g(x)) g'(x) [the Chain Rule] |

Example: d/dx x^{2}/ln x = x^{2} (d/dx 1/ln x) + (1/ln x) (d/dx x^{2}) [product rule] = x^{2} * -1 * (ln x)^{-2} * (d/dx ln x) + 2x/ln x [chain rule in first term] = -x^{2}/ln^{2} x/x + 2x/ln x= -x/ln^{2} x + 2x/ln x. The idea is that whatever the outermost operation in an expression is, you can apply one of the rules above to move the differential inside it, until there is nothing left. Even mere computers can be programmed to do this. You can do it too.

If you want to read a lot more about this, look at http://www.karlscalculus.org/calculus.html.