HP50g Using library functions in programs
|
12-05-2019, 07:32 PM
Post: #5
|
|||
|
|||
RE: HP50g Using library functions in programs
So I have the formula n=log(g/(1-w))/log(g/(g-1)) which estimates the number n of needed clones to pick from an amplified genetic library to have all g different clones with 1 > w >= 0,9 probability.
I need to use this with g values above 1e14. That doesn't work with HPs 12 digits and produces wrong results with, for example, a 15 digits casio. I transferred this to the following user rpl program: << -> G W << G R<-->F 'G' STO W R<-->F 'W' STO G 1 W FSUB FDIV FLN G G 1 FSUB FDIV FLN FDIV R<-->F >> >> which now works well. For calculating w I would transpose the formula, but just for learing purpose as you mentioned it: How do I need to formulate the program so I can use it with the numeric solver like the formula? The Num.solv lets load me the program but doesn't work otherwise and I found nothing in the manual about this. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP50g Using library functions in programs - erazor - 12-02-2019, 10:46 AM
RE: HP50g Using library functions in programs - Joe Horn - 12-02-2019, 01:00 PM
RE: HP50g Using library functions in programs - erazor - 12-04-2019, 06:23 AM
RE: HP50g Using library functions in programs - Joe Horn - 12-04-2019, 06:09 PM
RE: HP50g Using library functions in programs - erazor - 12-05-2019 07:32 PM
RE: HP50g Using library functions in programs - Joe Horn - 12-05-2019, 10:36 PM
|
User(s) browsing this thread: 3 Guest(s)