about | help | code help+videos | done | prefs |
sumOfSines
Given an argument t in degrees calculate the sum of sin(2t) and sin(3t). Use Math.sin() to help calculate the result. sumOfSines(0.523598776) → 1.8660254041861397 sumOfSines(3.14159) → 2.6535897941848526E-6 sumOfSines(1.570795) → -0.9999973464022849 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy