BrushCue Example: Cosine (Radians)¶

Open In Colab

You can use this tool online at https://www.brushcue.com/tools/cosine-radians

In [ ]:
!pip install brushcue
In [1]:
import brushcue as bc

angle_radians = 1.0471976
graph = bc.Float.cos(angle_radians)

ctx = bc.Context()
print(graph.execute(ctx))
0.4999999701976776
[wgpu] using backend Metal — adapter 'Apple M5' (IntegratedGpu), driver ''