Autor Beitrag
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: So 17.09.06 21:59 
Hi
Sorry, ich bin nicht besonders gut in Mathe.
Ich hab folgende Gleichung
20³ = 8000

Wenn man die ³ nicht kennt, gibt es einen Weg sie festzustellen?
Also man tut 20 und 8000 rein und 3 kommt raus?

MfG
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: So 17.09.06 22:03 
log(8000)/log(20) = 3

_________________
Na denn, dann. Bis dann, denn.
Coder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: So 17.09.06 22:10 
Danke!
Log gibt es leider nicht.
Aber ich hab LogN gefunden.
ausblenden Delphi-Quelltext
1:
ShowMessage(FloatToStr(LogN(20, 8000)));					

Funktioniert!

Danke!
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mo 18.09.06 10:47 
Kannst im Ausdruck oben statt log auch ln nehmen.
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Mo 18.09.06 11:08 
Jetzt muss ich mal dazu sagen (hab ich mal auswendig gelernt, das steht im Handbuch für TurboPascal):
"Der n-te Logartihmus von x, ist die Zahl, mit der n potenziert werden muss x zu erhalten."