Autor Beitrag
110022
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: Mo 08.10.07 19:38 
wie kann ich einen Taschenrechner programmierren der mir jede wurzel ausrechnen kann?

bitte mit Quelltext:)


Moderiert von user profile iconjasocul: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 08.10.2007 um 19:45


Zuletzt bearbeitet von 110022 am Di 09.10.07 17:57, insgesamt 1-mal bearbeitet
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 08.10.07 19:45 
Ja, was den nun? Einen Taschenrechner oder die Wurzel ausrechnen?
Taschenrechner: Suche in der Entwickler-Ecke MATHEPARSER
Wurzel: Unit maths einbinden und dann die Funktion sqrt verwenden.
Tilo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1098
Erhaltene Danke: 13

Win7 geg. WInXP oder sogar Win98
Rad2007
BeitragVerfasst: Mo 08.10.07 20:21 
sqrt ist quadrat wurzel.
Mit der power() Funktion und der mathematischen Definition der Wurzel kannst Du auch Wurzel beliebigen Grades berechnen.

x.Wurzel von y gleich y hoch 1/x.
TheAxeEffect
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37



BeitragVerfasst: Di 09.10.07 19:37 
das geht mit der funktion power(a,b)
also die kubikwurzel von 5 wäre zb. power(5,1/3)....
mfg,
simon