CMSC 455 Lecture 24b, Computing partial derivatives in polar ...
userpages.umbc.edu › ~squire › cs455_l24bPolar coordinates Consider a function f(r,theta) that you can compute but do not know a symbolic representation. To find the derivatives at a point (r,theta) in a polar coordinate system we will use our previously discussed "nuderiv" nonuniform Cartesian derivative function. 2 2 ∂ 2 2 = 2/r ∂f/∂r + ∂ 2 f/∂r 2) + 1/r 2 ∂ 2 2 Neither radius grid "rg[]" nor theta grid "tg[]" need to be uniformly spaced. To compute the derivatives at the green dot, (rg[3],tg[3]) Use the red circle ...