v-sinus-mathe

hio/nwt-gus-hi/v-sinus-mathe

Berechnet den Sinus eines Winkels
v-sinus-mathe
@/v-sinus-mathe
Berechnet den Sinus eines Winkels
Radiusnumber
Winkel als Radius
v-sinus-mathe
Ausgabe
Radius
Ausgabenumber
To use the node in your project you should have the hio/nwt-gus-hi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

#pragma XOD dirtieness disable

node {
    void evaluate(Context ctx) {
        Number x = getValue<input_Radius>(ctx);
        emitValue<output_Ausgabe>(ctx, sin(x));
    }
}

Tabular tests

RadiusAusgabe
00
1.571~
-1.57-1~
0.520.5~
-0.52-0.5~
NaNNaN
InfNaN
-InfNaN