Reply
Reply | Flag | Categorize
Timothy Foster 06 Feb 2013 21:59
Timothy Foster

Admin

WAC

Guest

Could the solve() line be simplified to θ-2X→A (which actually needs to be negated for the algorithm to actually work)?

I don't have a calculator that operates TI-Basic anymore, so I transcribed it to C++. It seems to work for numbers greater than 50, but for numbers less than 50, it estimates low (ie. 0 outputs -50.5). I assumed that abs(A>100 was actually 100<abs(a.

I can get it to work by changing:

:If abs(A>100
:100(A>0)→A


to

:If A>E2
:E2→A
:If A<0
:DelVar A

Attachment:

Make a reply:

To use the style buttons, click on the one you want, then press Ctrl+V.


This is the Redirect module that redirects the browser directly to the "http://snippets.wdfiles.com/local--code/code:url-title-with-slash-redirect/2#http://tibasicdev.wikidot.com/post:105" page.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.