Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

Operators::cosOf()

"cos" is the abbreviation for "cosine." The cosine of an angle is the ratio between the length of the side adjacent (next to) it on the triangle and the length of the hypotenuse. In the picture above, the cosine of angle A is equal to side "adjacent" divided by side "hypotenuse".

Examples

View on GitHub

Syntax

Java

.cosOf(x)

Scratch

([cos v] of (x))

Parameters

Name Data Type Description
x double an angle between [0, ..., 360]

Return

double

cosOf()

Teilbare URL erstellen

Abschnitte auswählen