The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

programming !!!
Message #1 Posted by Harrington on 30 May 2004, 12:19 a.m.

I don seen to have this right . the syntax looks ok but ans is not what I should expect when using partial faction decomposition. this is the code: << Enter a"{"" ALG} INPUT "'" SWAP + OBJ-> -> a << a parfac >> >> Simple problem I don know if I'm doing something worng new to HP Thanks

      
programming !!!
Message #2 Posted by Veli-Pekka Nousiainen on 30 May 2004, 3:49 a.m.,
in response to message #1 by Harrington

<< Enter a"{"" ALG} INPUT "'" SWAP + OBJ-> -> a << a parfac >> >> 
Should be:
<< "Enter a" {"'" ALG V} INPUT OBJ-> 
-> a << a PARTFRAC >> >> 
BYTES => # 980Ch  71.
BTW: Why do you use a local variable a?
{VPN}
            
prompting the User . but error
Message #3 Posted by Harrington on 31 May 2004, 12:03 a.m.,
in response to message #2 by Veli-Pekka Nousiainen

I used the method described above it is giving me error. Do you think I have some flags settings I need to set ? it work in the past before for me this one partial fucnction wouldn't work todat for some reason

                  
Re: prompting the User . but error
Message #4 Posted by Vieira, Luiz C. (Brazil) on 31 May 2004, 12:39 a.m.,
in response to message #3 by Harrington

Hi, Harrington;

what error do you have? Is it after you input data? If so, what data (and how did you type it in) are you using as input?

Let us know it so we can help you.

Cheers.

Luiz (Brazil)

                        
Partial faction . but error
Message #5 Posted by Harrington on 31 May 2004, 1:58 a.m.,
in response to message #4 by Vieira, Luiz C. (Brazil)

I typed usind the standard procedure with or with out '' it give error. Other times it will not give error but no solution will be found only the orginal equation enter will be display . what I'm try to accomplished is have user enter a equation at the prompt in RPN mode. when that is entered at the prompt I want << a parfac>> to give the partial expansion of the enter equa.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall