(a) Optimize the function constpower: reduce all calculations involving constant values to one, and eliminate the double calls to cos and sin on the same argument.
(b) Write documentation for the program sfpan (using constpower) for a musically literate but non-mathematical reader.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here