Post Reply 
Continuous Fibonacci Parametric Plot
04-08-2020, 12:36 AM
Post: #1
Continuous Fibonacci Parametric Plot
I am using the HP Prime Virtual Calculator v2.1.14425 (2020 1 16) Parametric App to attempt to plot the continuous Fibonacci parametric function (image 1). It has a complex result and I am trying to plot the RE and IM parts. As T goes from -9 to 9 the resulting complex-valued result should look like the last image below, produced with Derive for Windows version 5.06. Instead, for example with Trace on and T = 1.5, I get the "(NaN, NaN)" result shown. But it is close -- Jump to T = 6 and the correct real value (8,0) is shown (the 6th Fibonacci sum 1 1 2 3 5 *8*). Why isn't the desired plot shown by HP Prime?


   

   

   
Find all posts by this user
Quote this message in a reply
04-08-2020, 01:04 AM
Post: #2
RE: Continuous Fibonacci Parametric Plot
If you get the real and imaginary expressions from CAS and copy those to the parametric app, you get the desired result.

Do:
X1:=unnaply(RE(f(x)),x)
Y1:=unnaply(IM(f(x)),x)

   
Find all posts by this user
Quote this message in a reply
04-08-2020, 01:28 AM (This post was last modified: 04-08-2020 01:32 AM by Rick314.)
Post: #3
RE: Continuous Fibonacci Parametric Plot
Thanks much and now I have the desired graph looking like your provided image. But when I turn on Trace and vary T, I still get "(NaN,NaN)" at all non-integer T values, unlike your display for T=-5.993 that shows the correct values. (I am new to HP Prime and suspect some trivial configuration setting?)

Edit: No need to reply. It all works if I delete the incorrect version I originally posted.
Find all posts by this user
Quote this message in a reply
08-10-2021, 11:57 PM (This post was last modified: 08-11-2021 07:17 AM by jte.)
Post: #4
RE: Continuous Fibonacci Parametric Plot
When I tried with the current version (2.1.14592 (2021 06 09)), I did manage to get a plot to come up after checking (enabling) the Complex setting in Home Settings. ("Allow complex output from real input")

   

(I made two copies of the function pair and restricted one to negative T, the other to non-negative T.)
Find all posts by this user
Quote this message in a reply
Post Reply 




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