![]() |
---|
Hi. Hab zwei Geraden und wollte den Schnittwinkel herausfinden. Eigentlich lief alles gut, bis ich merkte: anscheinend gibt es in Flash (wofür ich das brauche) keinen arctan. Jemand empfahl mir folgende Formel: winkel = Math.atan2(Gegenkathetenlaenge, Ankathetenlaenge)/Math.PI*180; Die Länge einer Seite kann ich mir ja praktisch raussuchen, da die Größe des Dreiecks ja irrelevant ist. Und dann muss ich mithilfe der Steigungen der Hypothenuse und der Gegenkathete auf die Ankathete kommen, und die dann in die obige Formel einsetzen. Aber brauche ich für diese Rechnung nicht gerade diese Winkel, auf die ich ohne arctan nicht komme? Wär schön wenn jemand nen Tipp hat. |
Hierzu passend bei OnlineMathe: Sinus (Mathematischer Grundbegriff) Kosinus (Mathematischer Grundbegriff) Trigonometrie (Mathematischer Grundbegriff) Tangens (Mathematischer Grundbegriff) Rechenregeln Trigonometrie Online-Übungen (Übungsaufgaben) bei unterricht.de: |
![]() |
![]() |
Hallo, in welcher Form sind die Geraden gegeben und welche trigonometrischen Funktionen stehen Dir zur Verfügung. |
![]() |
Die Geraden habe ich in Vektorform. An mathematischen Funktionen habe ich die in diesen Tabellen aufgelisteten: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002362.html |
![]() |
Hallo, na klar, Flash-Player deaktiviert, gibt's die Liste auch noch anders? Geraden in Vektorform heißt: Punkt und Richtungsvektor, oder verstehe ich das falsch? |
![]() |
Die Geraden: Habe halt die Steigung der Geraden (im Sinne von beispielsweise: ) und . Mathe-Funktionen die Flash 8 beherrscht: E:Number A mathematical constant for the base of natural logarithms, expressed as . LN10:Number A mathematical constant for the natural logarithm of expressed as loge10, with an approximate value of . LN2:Number A mathematical constant for the natural logarithm of expressed as loge2, with an approximate value of . LOG10E:Number A mathematical constant for the base-10 logarithm of the constant (Math.E), expressed as with an approximate value of . LOG2E:Number A mathematical constant for the base-2 logarithm of the constant (Math.E), expressed as with an approximate value of . PI:Number A mathematical constant for the ratio of the circumference of a circle to its diameter, expressed as with a value of . SQRT1_2:Number A mathematical constant for the square root of one-half, with an approximate value of . SQRT2:Number A mathematical constant for the square root of with an approximate value of . abs(x:Number) : Number Computes and returns an absolute value for the number specified by the parameter . acos(x:Number) : Number Computes and returns the arc cosine of the number specified in the parameter in radians. asin(x:Number) : Number Computes and returns the arc sine for the number specified in the parameter in radians. atan(tangent:Number) : Number Computes and returns the value, in radians, of the angle whose tangent is specified in the parameter tangent. atan2(y:Number, x:Number) : Number Computes and returns the angle of the point in radians, when measured counterclockwise from a circle's (where represents the center of the circle). ceil(x:Number) : Number Returns the ceiling of the specified number or expression. cos(x:Number) : Number Computes and returns the cosine of the specified angle in radians. exp(x:Number) : Number Returns the value of the base of the natural logarithm to the power of the exponent specified in the parameter . floor(x:Number) : Number Returns the floor of the number or expression specified in the parameter . log(x:Number) : Number Returns the natural logarithm of parameter . max(x:Number, y:Number) : Number Evaluates and and returns the larger value. min(x:Number, y:Number) : Number Evaluates and and returns the smaller value. pow(x:Number, y:Number) : Number Computes and returns to the power of . random() : Number Returns a pseudo-random number where . round(x:Number) : Number Rounds the value of the parameter up or down to the nearest integer and returns the value. sin(x:Number) : Number Computes and returns the sine of the specified angle in radians. sqrt(x:Number) : Number Computes and returns the square root of the specified number. tan(x:Number) : Number Computes and returns the tangent of the specified angle. |
![]() |
Hallo, ich will ja nicht meckern, aber hast du mal "atan" genauer angesehen? |
![]() |
Hab das jetzt anders berechnet und funzt. Trotzdem danke. |
![]() |
Aber wieso atan() nicht direkt funktioniert haben sollte, ist nach wie vor unklar |
Diese Frage wurde automatisch geschlossen, da der Fragesteller kein Interesse mehr an der Frage gezeigt hat.
|