Post Reply 
Plotting a function defined by an integral on HP50
05-17-2015, 10:55 AM (This post was last modified: 05-17-2015 02:37 PM by peacecalc.)
Post: #5
RE: Plotting a function defined by an integral on HP50
The workaround is easy:

You define the EDIT: program instead of function (that is a very important difference! see above PP):

\[ B(X) = \int_{1}^{X^2} 2 \cdot T dT \]

and then you add in the PLOT-FUNCTION aera the line:

Y1(X) = B(X)

and let DRAW the function B(X), but beware it takes long.

Sincerely peacecalc

EDIT: PP: program for this problem:

Stored in 'B':
Code:

\<< \-> X
     \<<      @@ these are important for making a subprogram
           'S(1,X^2,2*T,T)' 
     \>>      @@ these are important for making a subprogram
\>>

S means integral sign. It is a tricky code mixing up RPN and ALG mode but it works. And really astonishing: It seems to be function with one variable but that is not true, the output is always the expression itself:

\[\int_{1}^{X^2} 2 \cdot T dT \]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plotting a function defined by an integral on HP50 - peacecalc - 05-17-2015 10:55 AM



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