Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

partfrac

1 view
Skip to first unread message

Titus Barik

unread,
Apr 16, 2003, 1:28:26 PM4/16/03
to
Hi,

I'm trying to use the HP49 command PARTFRAC with little success, though
it seems to work for simple cases. I'm having problems with the
following expression:

s*(s + 1000)/(s + 10)^2

which should yield:

1 - 9,900/(s + 10)^2 + 980/(s + 10)

However, PARTFRAC seems to do nothing at all except return my original
number.

Suggestions?

--
Titus Barik (ba...@ieee.org)

Virgil

unread,
Apr 16, 2003, 5:11:45 PM4/16/03
to
In article <b7k3rq$bch$1...@news-int.gatech.edu>,
Titus Barik <ba...@ieee.org> wrote:

It works fine on my HP49 in exact and real modes.

My flag settings were
{ # 20200100850102F0h
# 1000000000000000h
# 805001230A07C029h
# 0h }

Titus Barik

unread,
Apr 16, 2003, 6:13:24 PM4/16/03
to
Virgil <vmh...@attbi.com> wrote:
> It works fine on my HP49 in exact and real modes.
>
> My flag settings were
> { # 20200100850102F0h
> # 1000000000000000h
> # 805001230A07C029h
> # 0h }

Hi!

Thanks for your help. However, I have no idea what this means. How do I
use this to set my flags?

--
Titus Barik (ba...@ieee.org)

Titus Barik

unread,
Apr 16, 2003, 7:13:04 PM4/16/03
to
Virgil <vmh...@attbi.com> wrote:
> It works fine on my HP49 in exact and real modes.

Aha! I turned off the Step-by-Step flag and it now works. Once again,
thank you very much.

--
Titus Barik (ba...@ieee.org)

Virgil

unread,
Apr 16, 2003, 7:46:34 PM4/16/03
to
In article <b7kki4$oso$1...@news-int.gatech.edu>,
Titus Barik <ba...@ieee.org> wrote:

> Virgil <vmh...@attbi.com> wrote:
> > It works fine on my HP49 in exact and real modes.
> >
> > My flag settings were
> > { # 20200100850102F0h
> > # 1000000000000000h
> > # 805001230A07C029h
> > # 0h }
>
> Hi!
>
> Thanks for your help. However, I have no idea what this means. How do I
> use this to set my flags?

Enter the set
{ # 20200100850102F0 # 1000000000000000h
# 805001230A07C029h # 0h }
onto the stack and then use the command STOF to store them
into the flag section of system memory.


The commands RCLF and STOF can be used to prevent a program
from changing the system inadvertently.

Wrapping your program with
<< RCLF -> flags
<< IFERR your_program_name_here
THEN flags STOF
ELSE flags STOF
END
>>
>>
assures that your program will leave all flags undisturbed.

If you include your actual program with delimiters "<< >>",
instead of its name, follow it with an EVAL command.

Jean-Yves Avenard

unread,
Apr 16, 2003, 8:43:58 PM4/16/03
to
On 17/4/03 9:13, in article b7ko20$sck$1...@news-int.gatech.edu, "Titus Barik"
<ba...@ieee.org> wrote:

> Virgil <vmh...@attbi.com> wrote:
>> It works fine on my HP49 in exact and real modes.
>
> Aha! I turned off the Step-by-Step flag and it now works. Once again,
> thank you very much.

If you believe the behavior of the HP49 on this matter is incorrect, please
register your report there:
http://bugs.hpcalc.org

Jean-Yves

Jean-Yves Avenard

unread,
Apr 16, 2003, 8:45:30 PM4/16/03
to
Hello

On 17/4/03 9:46, in article vmhjr2-D0AF73....@netnews.attbi.com,
"Virgil" <vmh...@attbi.com> wrote:

You could do it that way:

> Wrapping your program with
> << RCLF -> flags
> << IFERR your_program_name_here

> THEN END flags STOF
>>>
>>>

Jean-Yves

Miguel Angel CAPORALINI HERK

unread,
Apr 16, 2003, 8:49:07 PM4/16/03
to
Hi! Titus:
The PARTFRAC command, performs partial fraction decomposition on a
partial fraction.
Input : An algebraic expression
Output: The partial fraction decomposition of the expression.
Flags : Exact mode must be set (flag -105 clear); numeric mode must
not be set (flag -03 clear)
Example:
1
------- ; Command : PARTFRAC(1/(x^2-1))
x^2 - 1
Result : (-1+(1/x+^2))
Best Regards from Neuquén - Patagonia ARGENTINA - South America.[:¬)
Miguel Angel CAPORALINI HERK (M.A.C.H.)
*******************************************************************************
Titus Barik <ba...@ieee.org> wrote in message news:<b7k3rq$bch$1...@news-int.gatech.edu>...

Titus Barik

unread,
Apr 16, 2003, 9:14:07 PM4/16/03
to
Jean-Yves Avenard <m...@privacy.net> wrote:
> If you believe the behavior of the HP49 on this matter is incorrect, please
> register your report there:
> http://bugs.hpcalc.org

Hi Jean-Yves,

I'd be happy to do this, but I'd like someone else to corroborate my
findings first (maybe on this newsgroup even!), as I'm by no means an
expert on the functionality of the HP calculator.

--
Titus Barik (ba...@ieee.org)

Speed

unread,
Apr 17, 2003, 9:41:25 AM4/17/03
to
Titus Barik <ba...@ieee.org> wrote in message news:<b7kv4u$428$1...@news-int.gatech.edu>...

I'll corroborate your findings, and while I'm at it I'll mention that
I'm using ROM 19-6. I tried it with a different expression,
(X^2+4)/(5X^2+3X+6), and all it did was factor the denominator. With
step-by-step off, it worked in both cases.

--CS

0 new messages