The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Bug in MATH ROM of the TI-95
03-08-2023, 07:46 PM (This post was last modified: 03-08-2023 11:08 PM by Namir.)
Post: #1
Bug in MATH ROM of the TI-95
I have been tinkering with the TI-95 and its MATH and STAT ROMs. I discovered that the Newtons Root method (option NTN in option ZRO) has a bug that causes the solution FOR ANY FUNCTION to jump to huge numbers and then overflow. I tested my fx(x)=exp(x)-3*x^2 and fx(x)=x^2-5*x+6 functions and both bombed out. I inserted a pause (PAU) command in my function code to trace the values used by NTN and found that it does the following:

1) Evaluate fx at you initial guess (call it X).
2) Evaluate fx at X plus a small increment.
3) Evaluate fx at X minus a small increment.
4) Evaluate fx at a large number.
5) Repeat step 4 with different large numbers until the calculations overflow.

I also noticed that the TI-95 emulator by HrastProgrammer has the same bug in his port of the MATH ROM! I guess his ported the binary image of the MATH ROM.

Anyone else out there has seen this bug?

The Bisection method in the MATH ROM works fine!

Namir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bug in MATH ROM of the TI-95 - Namir - 03-08-2023 07:46 PM
RE: Bug in MATH ROM of the TI-95 - Namir - 03-10-2023, 12:16 PM
RE: Bug in MATH ROM of the TI-95 - Namir - 03-10-2023, 02:07 PM



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