Computer Science I - Programming Assignment 2

Due Wednesday, October 21st

Summary

For this assignment you will be designing and testing a javaScript library that computes the following mathematical formulas:

The functions must be implemented in a file called formula.js, and the tests must be implemented in a file called formula-test.html. I have already implemented the Discriminant function, and the skeletons of the remaining functions here: formula.js. I have also implemented a RunTest function and the test for Discriminant and Sine here: formula-test.html. You must implement the remaining functions and tests yourself. Do NOT change the names or parameters of any of the functions as I will be using my own files to test your functions and your tests.

Helpful Hints

Instructions for Handing In the Program

Please hand in the following:

Do not put your assignment in your html directory as that is publicly viewable.