Here we used the DART language (compiled to javascript) to create trig fucntions.
Here we have the user type in the anlge in degrees and convert to radians. Demonstrates how to implement more advanced algorithms and use existing javascript libraries in DART.