Post Reply 
The NumWorks calculator evolves quickly.
01-23-2019, 08:48 PM
Post: #7
RE: The NumWorks calculator evolves quickly.
Hallo!

1. The newest firmware for the numworks is now 9.2.0.
There is a big gap between firmware 1.8.1 and 9.2.0. Why? I don't know.
I have updated it last monday and it doesn't work with my Mac.
But with Windows, after a driver and Google Chrome installation (no, Firefox can't been used!).
The numworks was delivered with version 1.5.

2. I have used the mandelbrot program from numworks (https://workshop.numworks.com/python/num...mandelbrot) and not from youtube, because the number range are not identical.

And this my SmileBAsic Version:
ACLS
M=MILLISEC
W=319
H=221
N=20
FOR X=0 TO W
FOR Y=0 TO H
ZR=0
ZI=0
CR=3.5*X/W-2.5
CI=-2.5*Y/H+1.25
I=0
WHILE I<N && ZR*ZR+ZI*ZI<4
INC I
S=ZR
ZR=ZR*ZR-ZI*ZI+CR
ZI=2*S*ZI+CI
WEND
C=255*I/N
GPSET X,Y,RGB(C,C*.75,C*.25)
NEXT
NEXT
PRINT FORMAT$("%4.2F sec",(MILLISEC-M)/1000)

Time: 2.90 seconds

Numworks 9.2.0 with similar Python mandelbrot(20):
Time: 55 seconds (with stop watch)

MILLISEC: the milliseconds from start of the BASIC
ACLS: All Clear screen (Reset the all grafic screens and grafic settings)
N: Iterations (20 with both calcs)
W and H are the screen ranges of numworks (2DS has 400*240 with the top screen). Both calcs count from Zero.
ZR and CR are real part of the complex numbers
ZI and CI are the imaginary part of the complex numbers
Complex numbers must be explicit calculated. No problem for me, because I'm electro engineer.
The first numworks firmware hasn't complex functions, but in the newer one they are the included.
GPSET: Graphic point set

I hope this will help you.
Bernd
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: The NumWorks calculator evolves quickly. - berndpr - 01-23-2019 08:48 PM



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