[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [SCICOMP] algoritme til pow(float, float);



hvorfor benytter I ikke bare javascripts

math.pow(x,y)?

/Jens

_______________________________________
Jens Woeste
BASISPOINT A/S
Holbergsgade 14, st.
DK-1057 Kobenhavn K

Tel: +45 70 22 16 22
Fax: +45 70 22 17 22
Mob: +45 20 96 93 16

Web: http://www.basispoint.com

> -----Original Message-----
> From: sslug@sslug
> [mailto:sslug@sslug Behalf
> Of Sune Fischer
> Sent: 30. september 2000 12:26
> To: sslug@sslug
> Subject: Re: [SCICOMP] algoritme til pow(float, float);
>
>
>
> --- "Morten S. Nielsen" <sslug@sslug> wrote:
> > Preben Bohn <sslug@sslug> [000930 04:17]:
> > > Umiddelbart tror jeg ikke at du kan finde en rfkkeudvikling
> der kan gxre
> > > det sfrlig godt, men fxlgende er egentligt sikkert ogse hurtiger (men
> > > kan vist umiddelbart kun bruges for heltallige n):
> > >
> > > Du xnsker at finde x=a^(1/n). Det svarer til at finde nulpunkt for
> > > f(x)=x^n-a. Vi fer at f'(x)=nx^(n-1). Newtons metode giver se:
> > >
> > > x_i+1=x_i-(x_i^n-a)/(nx_i^(n-1))
> > >
> > > Iterir indtil konvergens.
> > >
> >
> > Problemet her er at konvergensen er meget langsom fordi nulpunktet er et
> > 5 dobbelt nulpunkt. Jo stxrre n er jo langsommere ger det. Jeg
> jeg kan ikke
> > lige huske hvad man gxr i sedanne tilfflde... Se hvis det ikke virker i
> > praksis er det derfor.
>
> Man skifter til bisection, ner Newton kxrer for langsomt.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:34 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *