[Gambas-user] function that finds ... BIS

Ru Vuott vuott at ...325...
Tue Jun 11 18:53:00 CEST 2013


Hello Tobi,

our friend thanks you, however he said that he was referring to "Ruffini's rule".

http://en.wikipedia.org/wiki/Ruffini%27s_rule

bye
vuott





--- Mar 11/6/13, Tobias Boege <taboege at ...626...> ha scritto:

> Da: Tobias Boege <taboege at ...626...>
> Oggetto: Re: [Gambas-user] function that finds that value for which an expression = 0
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Martedì 11 giugno 2013, 18:06
> On Tue, 11 Jun 2013, Ru Vuott wrote:
> > Hello,
> > 
> > an our friend of italian Gmabs forum asks me to send to
> this Mailing list a question:
> > 
> > **********************
> > 
> > I have an expression
> (example:+7*(x^3)+6*(x^2)-6*(x^1)+4*(x^0)) as expression
> (gb.eval) or string and I ask if you can find the value of x
> for which the expression = 0
> > 
> > **********************
> > 
> 
> First of all: what is that for a kind of question? Of course
> can we find
> that x! It's near x = -1.60999. Next time he should google
> the result or
> let wolframalpha calculate it...
> 
> I really detest doing this but: maybe I should guess a
> little more about
> what your question was meant to sound like... Do you want an
> algorithm to
> compute/approximate the root of a polynomial in Gambas? How
> about the
> bisection method? Sample project attached - which is far
> from ready to be
> used. It hangs with something like x^2-10. Guess why! :-)
> 
> Regards,
> Tobi
> 
> -----Segue allegato-----
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> -----Segue allegato-----
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list