Beta and Airy Functions - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Beta and Airy Functions (/thread-4216.html) |
Beta and Airy Functions - douganc - 06-24-2015 11:20 AM Don't seem to be fully implemented on HP Prime. XCAS: Input: Beta(x,y) Output: Gamma x * Gamma y / Gamma (x+y) Prime: ?????? XCAS: Input: Beta(n,2) Output: Gamma n / Gamma (n+2) Prime: ?????? XCAS: Input: Airy_Ai(1) Output: 0.135292416313 Prime: ???????? XCAS: Input: Airy_Bi(1) Output: 1.20742359495 Prime: ????????? Latest Software Rev. RE: Beta and Airy Functions - Tim Wessman - 06-24-2015 02:39 PM All of these seem to be working fine for me and match xcas output. Airy cant' be implemented on our end due to it using a numerical library we can't use at the moment - hence why it wasn't included. RE: Beta and Airy Functions - Gerald H - 06-24-2015 03:27 PM Anyone know an efficient way of caculating the Airy function? RE: Beta and Airy Functions - DrD - 06-24-2015 03:33 PM A burrito rich diet? RE: Beta and Airy Functions - parisse - 06-24-2015 06:48 PM http://people.math.sfu.ca/~cbm/aands/page_446.htm RE: Beta and Airy Functions - roadrunner - 06-27-2015 11:19 AM (06-24-2015 06:48 PM)parisse Wrote: http://people.math.sfu.ca/~cbm/aands/page_446.htm That method becomes unstable outside a range for z of about -10 to 10. I believe that is because the calculator is trying to divide one huge number by another huge number to get a small number. [attachment=2227] How can one calculate the airy function outside that range? Code:
RE: Beta and Airy Functions - Gerald H - 06-27-2015 12:15 PM Thank you, parisse & more so roadrunner, here my translation of your programme for the 48G. Code:
RE: Beta and Airy Functions - parisse - 06-27-2015 12:41 PM For |z| large, you can use asymptotic series expansion near infinity. http://people.math.sfu.ca/~cbm/aands/page_448.htm RE: Beta and Airy Functions - Gerald H - 06-27-2015 05:25 PM & here's a sys version for the 49G. Code:
RE: Beta and Airy Functions - roadrunner - 06-28-2015 12:47 AM (06-27-2015 12:41 PM)parisse Wrote: For |z| large, you can use asymptotic series expansion near infinity. That's much better. [attachment=2229] Now it matches this web site: http://keisan.casio.com/exec/system/1180573401 pretty close. I only checked out to +/-100. Code:
RE: Beta and Airy Functions - douganc - 07-20-2015 08:10 PM Thank You !! A very useful program. Request for you: Could you please put the program in the HP Prime Software library section. So that other people can use the functions as well. Thank You Colm RE: Beta and Airy Functions - roadrunner - 07-20-2015 08:55 PM Colm, I had some issues with the version that I posted in this thread so I posted a newer version that clears up those issues and runs faster to boot. Road PS. Thanks to Mr. Parisse for teaching me asymptotic series expansion near infinity. |