HP 50g laplace programs (2619 Views)
Reply
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 1 of 24 (2,619 Views)
Accepted Solution

HP 50g laplace programs

I downloaded this laplace program:
http://www.hpcalc.org/details.php?id=4419

transfere it to my HP ,and how to open it ,I try to click EVAL nothing, copy to FLASH nothing ??

Is this program working or ? Can someone give me the program for laplace and ilaplace that works.
Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 2 of 24 (2,618 Views)

Re: HP 50g laplace programs

Hi! Goran:
The better way is ... Write to author of program; if not response, then ... Download program in HP50G in RPN MODE and with EDIT, ERASE the first line ...
%%HP: T(1)A(R)F(.);
Next step ...
<< .... >> 'LAPL' STO
Best Regards.
Miguel Angel.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 3 of 24 (2,618 Views)

Re: HP 50g laplace programs

I try to contact autor but no luck.

Why does LAP function on my HP doesn't do Laplace transformation.

In RPN mode I type for example 5/(100+X^2) then ILAP ,and I got some imaginare numbers ,but that is not the answer

If there is some way to use LAP and ILAP functions from HP 50g that will be great, becouse I don't have luck with programs.

Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 4 of 24 (2,617 Views)

Re: HP 50g laplace programs

Hi! Goran:
If didn't configure flags, try configure this ...

Exact mode must be set (flag -105 clear).
Numeric mode must not be set (flag -3 clear).
Radians mode must be set (flag -17 set).

Best Regards.
Miguel Angel.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 5 of 24 (2,617 Views)

Re: HP 50g laplace programs

When I open SYSTEM FLAGS I can't find

Numeric mode flag -3
Radians mode flag -17

on flag 3 I have Functions -> synb , and flag 17 I don't have . I didn't see this I don't know is this normal numbers on SYSTEM FLAGS goves like this

01,02,03,14,19,20,21,.... some numbers are missing ??
Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 6 of 24 (2,617 Views)

Re: HP 50g laplace programs

Hi!, Goran:
Same Flags number, are missing.
You can configure flags if not missing, with MODE FLAGS (F1) and confirm ...
03 Function -> symbol (not numeric)
For setup Radians, with MODE and confirm ...
Angle Measure....Radians
For Exact Mode, with MODE FLAGS (F1) and confirm ...
105 Exact mode on
Too, with ...
7:
6:
5:
4:
3:
2:
1: -3 CF (Clear Flag)
-17 SF (Set Flag)
-105 CF (Clear Flag)

Best Regards.
Miguel Angel.
Please use plain text.
Frequent Advisor
D. Hayden
Posts: 39
Registered: ‎10-14-2007
Message 7 of 24 (2,617 Views)

Re: HP 50g laplace programs

Goran,

I was able to download and run the programs okay. Extract the programs from the ZIP file. Then start the HP connectivity kit, connect to the calculator and drag the files "laplace" and "ilaplace" to the right pane of the connectivity kit window. This will create variables "laplace" and "ilaplace" in your home directory.

If you need detailed instructions on the connectivity kit, reply here and someone will help.

Dave
Please use plain text.
Honored Contributor
Tim Wessman
Posts: 765
Registered: ‎01-08-2009
Message 8 of 24 (2,617 Views)

Re: HP 50g laplace programs

It DOES work using the built in commands.

Make sure you are set in real mode. If you are, you get either -(.5*sin(x*-10)) if you are in approximate mode, or 1/2*sin(x*10) if in exact.

Run CASCFG if it isn't working. If you are in complex, you get a result which uses exponentials and complex functions. . .

TW
--

TW


Although I work for the HP calculator group, the views and comments expressed here are my own.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 9 of 24 (2,617 Views)

Re: HP 50g laplace programs

Hello Tim, I got results like exponentials and complex functions how can I turn that off and get normal functions??

What is CASCFG? How can I run it to see is it working?
Please use plain text.
Honored Contributor
Tim Wessman
Posts: 765
Registered: ‎01-08-2009
Message 10 of 24 (2,617 Views)

Re: HP 50g laplace programs

Either go into MODE, press CAS on the menu, and then uncheck complex and approximate. Press enter twice to exit.

Or there is a shortcut to do this. Hold down the right-shift key and press ENTER. You will see on the header there is either C~ C= R~ or R=. Keep holding the right-shift and pressing enter. It will toggle the ~ and = back and forth. ~ means approximate mode and = is exact mode.

Now do the same with the left-shift and the TOOL key (which has the little i symbol for complex). You will see the C and R toggle back and forth.

Leave it so R= is showing. This means real mode (no complex values) and exact mode (no decimal places).

Now try your command and it will work fine.

CASCFG is a command to reset the cas settings to default settings. Press ALPHA and type out C A S C F G and press ENTER. It will disappear and the CAS is back to default.

If you are doing ANYTHING with symbolic operations, you need to pay attention to the real/approximate settings.

I am attaching a draft of the new quickstart guide that will be going out with all 50g units. I'd recommend spending 30 minutes going through it. It is very easy to follow and will probably teach you many quick little tricks you will be happy to know.

TW

--

TW


Although I work for the HP calculator group, the views and comments expressed here are my own.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 11 of 24 (2,247 Views)

Re: HP 50g laplace programs

Tim thanks for this document I will read it ,it is very useful.

Is it possible that my HP 50g can't calculate some Laplace an iLaplace transform??

For example:

I got:
F = 5/

when I calculate Inverse Laplace by hands on paper I got:
F = 0,05 + 0,05*sin(10*x)

when I use my 50g i got:

big formula, with integrals,exponent e and other.
Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 12 of 24 (2,246 Views)

Re: HP 50g laplace programs

Hi!, Goran:
Please see the files (3 diapositives), in the attachment ...
Best Regards.
Miguel Angel.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 13 of 24 (2,244 Views)

Re: HP 50g laplace programs

First and secund page work fine,but with third page I have problem.
I type in my calculator:
LAPL(EXP(X)*COS(Z*Y),) press ENTER and got this message in attachment.

For "," I use button between 0 and SPC is that correct? When I use white button + SPC I got points (.) not comma (,)

What will I do with EXPAND(ANS(1)),I don't know what this function mean ??
Please use plain text.
Respected Contributor
H. Berber
Posts: 109
Registered: ‎08-05-2009
Message 14 of 24 (2,244 Views)

Re: HP 50g laplace programs

You are working with "decimal comma". The best way is to change this: Go into MODE, uncheck FM, press OK or ENTER

For "," (comma): Press right-shift and SPC

HB

Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 15 of 24 (2,244 Views)

Re: HP 50g laplace programs

Hi!, Goran:
I'm send again the attachment with LAPL function (3) diapositive.
Best Regards.
Miguel Angel.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 16 of 24 (2,244 Views)

Re: HP 50g laplace programs

Transforms are working now,I got the result BUT algebraic sign(+ or -) are wrong.
I get that mistake and when I use integrals.

When I use integrals I use

INTVX(sin(x)*cos(x))

and get : sin(x)^2/2

but correct result is -sin(x)^2/2

the same thing is happening with laplace number is correct, but "+ or -" not
Please use plain text.
Honored Contributor
Tim Wessman
Posts: 765
Registered: ‎01-08-2009
Message 17 of 24 (2,244 Views)

Re: HP 50g laplace programs

http://www.wolframalpha.com/input/?i=differentiate+-sin%28x%29^2%2F2

You sure? What source?

TW
--

TW


Although I work for the HP calculator group, the views and comments expressed here are my own.
Please use plain text.
Respected Contributor
H. Berber
Posts: 109
Registered: ‎08-05-2009
Message 18 of 24 (2,244 Views)

Re: HP 50g laplace programs

i ihink you mean -cos(x)^2/2
HB

Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 19 of 24 (2,243 Views)

Re: HP 50g laplace programs

My mistake, yes -Cos^2/2 sorry , but I get only Cos^2/2 ,similar problem is with Laplace that minus is missing
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 20 of 24 (2,243 Views)

Re: HP 50g laplace programs

When I type INTVX(sin(x)*cos(x)) I get sin(x)^2/2 ,I tought that INTVX means integral per X but I see now that it doesn't ,uuuhhhh I have problem with Laplace now I found that I have new problem :)

Sorry guys for bothering,but I really need Laplace transform for faculty,but I can't get the correct result.
Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 21 of 24 (2,380 Views)

Re: HP 50g laplace programs

Hi!, Goran:
Please, see the attachment ...
Best Regards.
Miguel Angel.
Please use plain text.
Frequent Advisor
Goran P
Posts: 63
Registered: ‎07-16-2009
Message 22 of 24 (2,380 Views)

Re: HP 50g laplace programs

Everything is working fine now , thanks guys for helping

Please use plain text.
Occasional Contributor
surferdude
Posts: 6
Registered: ‎12-07-2010
Message 23 of 24 (2,306 Views)

Re: HP 50g laplace programs

Hi Goran, I been seeing that you have had problems with using Laplace Transforms and Inverse Laplace Transforms on your HP 50G. It can be a bit tricky because under "Calc Menu", there is something is a function called (LAPL). This is not to calculate a Laplace Transform although it would seem so. People have been misguiding you. If you want to calculate a function f(t) into a algebraic equation F(s) "Laplace", then you would need to do the following:

 

1. Go under the Calc Menu, push enter key

2. Scroll down to Differential Equations, push enter key

3. Scroll down to LAP, which is to go in the forward direction and take the Laplace transform. Once you select this, you just type in the expression that you wish to transform. But note, your expression must have the same variable as your calculator independent variable is set to. By default it is 'X'. To check this, you can go to: Mode > CAS and it will be on the very first line. You can edit this variable by highlighting it and clicking F1 to edit.

4. After typing in your expression, you simply press enter and Wahla!. You have your transform. You will have to place constants in where the go such as for example: f(x) = sin(kx) = sin(3x). L{sin(3x)}. where constant k = 3

5. To evaluate an Inverse Laplace Transform, you follow the same steps above but once you get to the Differential Equations menu, you will scroll down to ILAP or "Inverse Laplace Transform" and treat it the same way as a Laplace Transform. Just enter in your expression and hit enter.

 

P.S. Also sometimes what is helpful to me when the function get really complex and large, I use the equation writer to write the expression inside and then highlight it all and press the enter key and it copies andn paste your expression onto the home screen. But already have the Laplace function waiting with open parenthesis on the home screen so all the calculator has to do is place the expression right inside and all thats left is to press enter key again. And out spits your answer. And you can select edit and simply if it comes out a bit messy. Just extra little things you can do.

 

Hope this helps buddy, Good Luck.

Please use plain text.
Honored Contributor
Miguel Angel Caporalini
Posts: 2,392
Registered: ‎02-09-2009
Message 24 of 24 (2,293 Views)

Re: HP 50g laplace programs

Hi!, surferdude:

 

Please, see ... http://www.intmath.com/Laplace-transformation/2_Definition.php

and next step, see the Chapter 14 in the HP50G Users Manual, from ... www.hp.com/calculators Guide.

I'm not the difference !.

 

Best Regards.

Miguel Angel.:smileyhappy:

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation