--- doc/homework/homework5.html 2001/05/19 03:40:19 1.2
+++ doc/homework/homework5.html 2001/05/31 20:51:31 1.3
@@ -301,21 +301,40 @@
A list of functions that have been written that are available in
the Safe space scripting environment inside a problem. The eventual
- goal is to provide all of the functions available in CAPA
+ goal is to provide all of the functions available in CAPA. Detailed
+ descriptions of each function and comparison with CAPA is given in
+ CAPA to LON-CAPA Functions.
+ - sin(x), cos(x), tan(x)
+ - asin(x), acos(x), atan(x), atan2(y,x)
+ - log(x), log10(x)
+ - exp(), pow(x,y), sqrt(x)
+ - abs(x), sgn(x)
+ - erf(x), erfc(x)
+ - ceil(x), floor(x)
+ - min(...), max(...)
+ - factorial(n)
+ - N%M
+ - sinh(x), cosh(x), tanh(x)
+ - asinh(x), acosh(x), atanh(x)
+ - roundto(x,n)
+ - web("a","b","c") or web(a,b,c)
+ - html("a") or html(a)
+ - j0(x), j1(x), jn(n,x), jv(y,x)
+ - y0(x), y1(x), yn(n,x), yv(y,x)
- random
- - tan
- - atan
- - acos
- - asin
- - log10
- - pow
- - ceil
- - floor
- - format
- - map
- choose
+ - tex("a","b") or tex(a,b)
+ - var_in_tex(a)
+ - to_string(x), to_string(x,y)
+ - class(), section()
+ - name(), student_number()
+ - open_date(), due_date(), answer_date()
+ - sub_string()
+ - array_moments(array)
+ - format(x,y)
+ - map(...)
- caparesponse_check
- caparesponse_check_list
@@ -342,6 +361,8 @@
seed the random number generator
$pi - set to PI
+ $rad2deg - converts radians to degrees
+ $deg2rad - converts degrees to radians