
×InformationFix Windows 10 Update Issues
Resolve Windows 10 related issues for your HP computers or printers by HP Windows 10 Support Center

×InformationFix Windows 10 Update Issues
Resolve Windows 10 related issues for your HP computers or printers by HP Windows 10 Support Center
 HP Community
 >
 Other Products
 >
 Calculators
 >
 How to get complex partial fractions in HP Prime?
 Mark Topic as New
 Mark Topic as Read
 Float this Topic for Current User
 Bookmark
 Subscribe
 Mute
 Printer Friendly Page
Create an account on the HP Community to personalize your profile and ask a question
How to get complex partial fractions in HP Prime?
12262018 02:45 PM
I'd like to get the result below using partial fractions (directly) in HP Prime.
I'v tried use partfrac() but it does not show complex results.
Maybe using another function, we can get the image result.
12262018 08:09 PM
Hello Gabriel
You might have left Complex numbers option unchecked. Please take a look at CAS Settings:
I've checked your denominators to know better what to expect in the partial fractions:
Then I've typed in your sentence. Nevertheless, I've got for result sometinhg containing "rootof". Here you are some parts of its giant result:
Honestly, I have no idea what that "rootof" means in terms of solution. FOR ME IT'S GOOD FOR NOTHING !!!
It goes against any expectation I could have on a product of HP Prime category.
Anyway, I've tried also a simpler expression, with smaller roots in denominator. The result, after approximation looks "readable".
This is something I would expect from HP Prime. Unfortunatelly it doesn't work like that every time.
We've already faced troubles with partfrac recently, which have been corrected by the latest update.
Problem with partfrac on HP Prime
I hope we'll soon have the next improvement to get this example solved as well.
In case of any update, please let us know.
Regards,
Ciro.
12272018 07:16 AM
Hi!, @Gabriel8 :
Can you explained better each variable equation's and where you needed use ?.
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
12272018 07:31 AM
That is partial fraction, i need it to calculate inverse laplace transform:
iL(s) > iL(t)
I know how to calculate manually but I'd to know how can i set to HP Prime give me the right answer (directly).
By the way, neither the function ilaplace() give me the right answer of this inverse laplace transform.
Here is the answer of inverse laplace transform from "Circuitos Eletricos  10ª edição  Nilsson Riedel" (BOOK):
Let me know if you can get this answer directly from HP Prime.
12272018 08:21 AM
Hi!, @GabrielM8 :
See, the result of Inverse Laplace, with Wolfram Alpha ... https://www.wolframalpha.com/input/?i=inverse+laplace((100*s%5E2)%2F((s%5E2%2B1500*s%2B10%5E6)*(s%5E...))
In comparision with HP PRIME, with ilaplace the result mybe is same (approximate mode)
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
12272018 01:58 PM
Hello Gabriel
Maybe you can get the result directly with iLaplace itself. But remember you have to declare both Laplace variable ("s") and the target time variable ("t") by appending ",s,t" as last arguments. Please take a look:
But, again, you may not obtain "readable" result. Again I'd say it's good for nothing such answer and you won't manage to understand your circuit by this answer.
So, take it, as it is, and operate "collect(expand(weird expression)". Then you get:
Please, if someday you find something to replace collect(expand()), please let me know. I've already tried.
[HP Prime] expand(collect(...)) Is there any better way?
Last but not least, I see you've been using angles in Degrees as well as in Radians. Maybe you've been doing the same with frequencies. I can see decimal frequency in one member and 120pi (=60Hz) in the same expression you have phase angle in degrees. Be carefull. You must calculate any time depending oscilation funcion in Radians. Maybe the book you're using explores each concept in its singular way, in order to help the reader to understand it better. Maybe the writer assumes that there's no need to detail the resolution paths. In this case, you'll have to tidy the expression before stepping forward.
I hope it helps.
Regards,
Ciro.
12282018 07:13 AM
Interesting technique Ciro Bruno! Thanks!
But I did not get the same result as on your calculator, maybe my settings are wrong (I did not understand what some options still work) as you can see in the images below. Can you show which settings you use?
Thanks for the warning about the units. Actually my book does not explain many details about the units. So the result of this function will be in radians, and I have to change to degrees later (if I need)?
12282018 08:20 AM
Hello Gabriel
Later I'm gonna take a carefull look at your results and try to find out configuration issues. Which software version have you been using in your prime?
When I tell you about converting everything to Radians, I mean you've got to do it on the paper. Before you transform it into Laplace. Later, as you transform it back to time funcion and you want to compare results between from calculator and books, make sure that your book is giving you an units coherent equation. If not, you have to convert them. Remember that, most likely, the author hasn't used a calculator.
12282018 11:10 AM  edited 12282018 11:11 AM
Hi!, @GabrielM8 :
You can check the ultimates, from ... ftp://ftp.hp.com/pub/calculators/Prime
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
Didn't find what you were looking for? Ask the community