draw arg of the complex Zeta function - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: draw arg of the complex Zeta function (/thread-6052.html) |
draw arg of the complex Zeta function - primer - 04-16-2016 05:18 PM Hello, This morning I decided to graph arg of Zeta function. Let me share with you how I easily build it thanks to hpprime with few line of program. I wanted to see how Zeta function were extended to complex numbers in HpPrime. Idea came from a picture from this video. Ok, let's start. To do this, I first had to create a function that would return a color from a number from [-pi ; -pi] this function will take the argument, and will return a color. for that I made a small program : a2c Code: EXPORT a2c(A) Next I needed to "see" it working with the full complex plan. Code: EXPORT testc() and I just need to made few change to get the Zeta : Code: EXPORT testz() note : on real calc, it takes about 7 minute to draw it, and at the end the calc will probably switch off (depending on your TOff). note : CK "monitor" feature does not really respect colors displayed on real calc, I had to copy programs to virtual calc to have nice screen capture. Regards, primer. RE: draw arg of the complex Zeta function - primer - 04-16-2016 06:31 PM And while testing in virtual calc, as it's fast enough, here is a wider view : bye. RE: draw arg of the complex Zeta function - primer - 04-16-2016 08:52 PM And that's also fun to try other functions, like : is arg(x^(iY)) quite fast on real hpprime, btw. |