Here is the start of the first assignment for ENGR 190:

<html><body><script type="text/javascript">
var x=6, h=.01  // must be the first statement
function pr(x){document.write(x,"<br>")}
function f(x){return x*x} // use a simple function to test your program
pr("Engr 190: Assignment one - Finite difference approximations by My Name") // print the assignment number and your name
pr("First Derivatives:")
pr(" Forward of error [O(h)]"+((f(x+h)-f(x))/h))
pr("End of Assignment 1") // not a bad idea to have a print statement at the end of the program to make sure your program ran correctly
</script></body></html>

Output:

Still More JS