(50g) osculating circle - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (50g) osculating circle (/thread-5392.html) |
(50g) osculating circle - peacecalc - 12-22-2015 08:36 PM Hello all, The power of the HP 50g can be seen in that little program for calculating the coordinates of the center of the osculating circle and the radius r for 2-dimensional plane slopes. Which can be described by functions. The function is defined in the variable "FN". I used the formulas: \[ x_M = x - f'(x)\cdot\frac{1+ f'(x)^2}{f''(x)} \] \[ y_M = f(x) + \frac{1+ f'(x)^2}{f''(x)} \] \[ r = \frac{\sqrt{1+ f'(x)^2}^3}{f''(x)} \] Code:
For example: FN contains \<< \-> X \<< X 2 ^ \>> \>> you get as result: \[ XM:\ \ - (4*X^3) \] \[ YM:\ \ \frac{6*X^2+1}{2} \] \[ R:\ \ \frac{\sqrt{4*X^2+1}^3}{2} \] Feel free and enjoy the little program! Every constructive critics or suggestions for improvement are welcome. Greetings peacecalc |