Wikipedia:Reference desk/Archives/Mathematics/2015 August 31
Mathematics desk | ||
---|---|---|
< August 30 | << Jul | August | Sep >> | Current desk > |
Welcome to the Wikipedia Mathematics Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
August 31
editWhat is this function?
editLink to alphawolfram: http://www.wolframalpha.com/input/?i=%28x+%2B3%29+%2F+%28x-2+%29 . --Jubilujj 2015 (talk) 19:04, 31 August 2015 (UTC)
Calculations of pi
editThe article approximations of pi includes many series for not pi itself, but (up to multiplication by algebraic numbers) its reciprocal. Wouldn't it be somewhat costly to have to recover pi from its reciprocal?--Jasper Deng (talk) 19:30, 31 August 2015 (UTC)
- Not so much. If you examine the Computational complexity of mathematical operations, you'll see that division has the same complexity as multiplication (IIRC a division is 3 times as expensive), whereas approximating pi is that times the log of the number of digits. So the reciprocal is comparatively cheap, and is justified for obtaining a more efficient series. -- Meni Rosenfeld (talk) 19:45, 31 August 2015 (UTC)
- Moreover, sometimes having the reciprocal saves you a division, as when you want the diameter, given the circumference. — Sebastian 04:39, 4 September 2015 (UTC)