![]() |
Hallo.
Delphi-Quellcode:
kann sein das noch die ein oder andere Klammer fehlt
a:=StrToInt(Edit1.Text);
b:=StrToInt(Edit2.Text); c:=StrToInt(Edit3.Text); // vorher noch überprüfen ob die 2 kürzesten Seiten länger sind als die längste // ... alpha:=RadToDeg(arccos((sqr(a)-sqr(b)-sqr(c))/(-2*b*c))); beta:= RadToDeg(arcsin((b/a)*sin(DegToRad(alpha)))); gamma:=180-alpha-beta; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:20 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