Skip to content

Instantly share code, notes, and snippets.

@tmcw tmcw/sin_and_cos.md
Created Feb 28, 2013

Embed
What would you like to do?
Sine and Cosine in different Programming Languages

Sine and Cosine in different languages

js

Math.cos();
Math.sin();

ruby

Math.cos()
Math.sin()

python

import math
math.cos()
math.sin()

php

cos();
sin();

processing

cos();
sin();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.