![]() |
Re: Logarithmus Funktion
... und hier ein CodeSchippsel für ln mit ner Taylor-Reihe:
Delphi-Quellcode:
Medium schrieb:
function my_ln (x:real):real;
Var i,n:integer; s,ds:real; Begin s:=0; for i:=1 to steps do begin n:=2*i-1; ds:=(x-1)/(x+1); ds:=my_pow(ds,n)*1/n; s:=s+ds; end; my_ln:=s*2; End; Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:00 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz