Post Reply 
HP Prime: cant simplify answer output
08-25-2023, 04:26 PM
Post: #6
RE: HP Prime: cant simplify answer output
This CAS program will be able to display the answer in a more straightforward readable format.

I hope this will help.

[code]
// Part fraction in simpler display
// Run the program in CAS home
// Corruptissima
#cas
//Enter equation
partfracn(f):=
BEGIN
local a,b,c,t;
// Perform partfrac
t:=partfrac(f);
// Store left most part of the equation
a:=left(t);
// Store the rightmost part of the equation
c:=right(t);
// Obtain the middle part of the equation
// If exist
b:=t-a-c;
//Simplify to readable form
a:=factor(a);
b;=factor(b);
c:=factor(c);
// Complete the final equation
t:=factor(a)+factor(b)+factor(c);
// Output the answer
RETURN(t);
END;
#end


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime: cant simplify answer output - Corruptissima - 08-25-2023 04:26 PM



User(s) browsing this thread: 2 Guest(s)