unable to plot UTPN
#1

Hi,

Plotting the function

<< -> X << 0 1 X LN UTPN >> >>

leads to an error message: "UTPN Error: Bad Argument Type". Any suggestions as to why this is happening?

When I store the function above in a variable V and enter it in the command line, it evaluates to a number just fine, e.g., V(1) EVAL leads to 0.5 as expected. But when I use V(X) as the function to be plotted it complains as described above.

This issue is related to having the function LN(X) as the argument to UTPN. Do I need an extra step to make sure LN(X) evaluates to whatever datatype UTPN takes?

Thank you very much for your time.

#2

If you are in approximate mode, then you should be fine. If not, add in a ->NUM right before the UTPN.

TW

#3

Thanks Tim.

Unfortunately, I can't still get it to plot even with ->NUM. The funny thing is that

<< -> X << 0 1 X COS ->NUM UTPN >> >>
or
<< -> X << 0 1 X EXP ->NUM UTPN >> >>

plot as expected. However,

<< -> X << 0 1 X LN ->NUM UTPN >> >>
or
<< -> X << 0 1 X LOG ->NUM UTPN >> >>

refuse to plot giving "UTPN Error: Bad Argument Type". Do log functions need to be treated differently? I have an HP50g.

#4

What's your plot range? Can x be negative? Then ln(x) is complex, and UTPN doesn't like complex numbers.



Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to reassign K_Abc (a b/c) key Andy Gryc 1 1,156 11-09-2013, 05:02 PM
Last Post: Han
  HP PRIME -- How to plot a phase Bode plot ? dg1969 0 922 11-02-2013, 03:22 PM
Last Post: dg1969
  HP 48G -- entering more than one equation into the PLOT application Randal B 1 1,052 01-24-2013, 12:25 AM
Last Post: Chris Dreher
  Help with creating residual plot Phillip B. 2 1,176 10-10-2012, 02:35 PM
Last Post: Gilles Carpentier
  OT: Calculator as a plot device Ethan Conner 11 2,956 05-07-2012, 08:41 PM
Last Post: Matt Agajanian
  HP 39gII plot speed Alex Mark (Greece) 5 1,917 02-12-2012, 03:04 PM
Last Post: Gilles Carpentier
  Unable to start and run EMU41 on new 64-bit Processor Laptop running with Windows 7 Antoine M. Couëtte 6 2,053 12-18-2011, 10:23 AM
Last Post: Massimo Gnerucci (Italy)
  Unable to register the 15c LE Neil Carlson 3 1,315 09-29-2011, 08:27 PM
Last Post: CAD_Jockey
  50g won't plot summation function, but emulator will. Hal Bitton in Boise 2 1,153 04-12-2011, 07:14 PM
Last Post: Hal Bitton in Boise
  50G, Plot-Table-Printing to 82240 IR printer George Bailey (Bedford Falls) 5 1,639 08-11-2008, 12:25 PM
Last Post: George Bailey (Bedford Falls)

Forum Jump: