[TIB] Re: solver


[Prev][Next][Index][Thread]

[TIB] Re: solver



Well, I'm sure it goes through numbers like 1e-999, 1e-900, 1e-800, 
etc., and once it gets a sign change it checks the specified region.  So 
ASM does it fast, but they still need an efficient algorithm.

Aaron Sarna wrote:
> So its not really smart, its just running through numbers quickly until 
> something happens. If assembly can do it that way so quickly, I need to 
> learn asm.
> 
> Robert Mohr wrote:
> 
>> On the 86 I believe it searches arbitrary values for the variable and 
>> evaluates them on both sides of the equation.  Then it subtracts one 
>> from the other.  When this value changes sign, it attempts to find 
>> exactly where it changed signs, or where it was equal to zero.  And 
>> when the right side of the equation minus the left side equals zero, 
>> the equation is true.  It then displays the value of x (or whatever 
>> variable) it used to get the two sides equal.
>>
>> On the TI-89, I don't have a clue how it works.
>>
>> Aaron Sarna wrote:
>>
>>> I'm specifically thinking about the TI86, but I imagine that it can't 
>>> be too different on other calcs...can it?
>>>
>>> Robert Mohr wrote:
>>>
>>>> It depends on the calculator.
>>>>
>>>> Aaron Sarna wrote:
>>>>
>>>>> I know that this doesn't really belong on the Basic mailing list, 
>>>>> but just out of curiosity, does anyone know how Solver works? Does 
>>>>> it just do trial and error progressively getting farther from your 
>>>>> guess, or is there actually some math involved?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
> 
> 
> 
> 
> 
> 

-- 
Robert Mohr
mohr.42@osu.edu




Follow-Ups: References: