Double factorial [wp34s]
|
02-12-2016, 07:49 AM
(This post was last modified: 02-12-2016 07:52 AM by Dieter.)
Post: #3
|
|||
|
|||
RE: Double factorial [wp34s]
(02-12-2016 06:27 AM)Paul Dale Wrote: cos(pi x) can be replaced by (-1)^x which should save a few steps at the start and be faster and more accurate. Let's not forget CNST, a handy command that IMHO is overlooked too often. CNSTÂ 86 is pi/2, and after rearranging the x!! formula to...
\(x!!=2^{\frac{x}{2}}\cdot\left(\frac{\pi}{2}\right)^{\frac{\cos \left ( \pi x \right )-1}{4}}\cdot \left(\frac{x}{2}\right)!\) ...the A program gets quite a bit shorter: Code: LBL A Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)