File:
[LON-CAPA] /
loncom /
html /
adm /
help /
tex /
Script_Functions.tex
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Tue Jun 10 19:29:26 2003 UTC (21 years, 2 months ago) by
bowersj2
Branches:
MAIN
CVS tags:
version_1_3_X,
version_1_3_3,
version_1_3_2,
version_1_3_1,
version_1_3_0,
version_1_2_X,
version_1_2_99_1,
version_1_2_99_0,
version_1_2_1,
version_1_2_0,
version_1_1_X,
version_1_1_99_5,
version_1_1_99_4,
version_1_1_99_3,
version_1_1_99_2,
version_1_1_99_1,
version_1_1_99_0,
version_1_1_3,
version_1_1_2,
version_1_1_1,
version_1_1_0,
version_1_0_99_3,
version_1_0_99_2,
version_1_0_99_1,
version_1_0_99,
version_1_0_3,
version_1_0_2,
version_1_0_1,
version_1_0_0,
version_0_99_5,
version_0_99_4,
version_0_99_3,
version_0_99_2,
HEAD
homework5.html chunked up with authoring information
1: \label{Script_Functions}
2:
3:
4: A list of functions that have been written that are available in the
5: Safe space scripting environment inside a problem.
6:
7: \begin{itemize}
8: \item sin(x), cos(x), tan(x)
9: \item asin(x), acos(x), atan(x), atan2(y,x)
10: \item log(x), log10(x)
11: \item exp(), pow(x,y), sqrt(x)
12: \item abs(x), sgn(x)
13: \item erf(x), erfc(x)
14: \item ceil(x), floor(x)
15: \item min(...), max(...)
16: \item factorial(n)
17: \item N\%M (modulo function)
18: \item sinh(x), cosh(x), tanh(x)
19: \item asinh(x), acosh(x), atanh(x)
20: \item roundto(x,n)
21: \item web({}``a'',''b'',''c'') or web(a,b,c)
22: \item html({}``a'') or html(a)
23: \item j0(x), j1(x), jn(n,x), jv(y,x)
24: \item y0(x), y1(x), yn(n,x), yv(y,x)
25: \item random
26: \item choose
27: \item tex({}``a'',''b'') or tex(a,b)
28: \item var\_in\_tex(a)
29: \item to\_string(x), to\_string(x,y)
30: \item class(), section()
31: \item name(), student\_number()
32: \item open\_date(), due\_date(), answer\_date()
33: \item sub\_string()
34: \item array\_moments(array)
35: \item format(x,y),prettyprint(x,y)
36: \item map(...)
37: \item caparesponse\_check
38: \item caparesponse\_check\_list
39: \end{itemize}
40:
41:
42: We also support these functions from Math::Cephes \begin{verbatim}
43:
44: bdtr: Binomial distribution
45: bdtrc: Complemented binomial distribution
46: bdtri: Inverse binomial distribution
47: btdtr: Beta distribution
48: chdtr: Chi-square distribution
49: chdtrc: Complemented Chi-square distribution
50: chdtri: Inverse of complemented Chi-square distribution
51: fdtr: F distribution
52: fdtrc: Complemented F distribution
53: fdtri: Inverse of complemented F distribution
54: gdtr: Gamma distribution function
55: gdtrc: Complemented gamma distribution function
56: nbdtr: Negative binomial distribution
57: nbdtrc: Complemented negative binomial distribution
58: nbdtri: Functional inverse of negative binomial distribution
59: ndtr: Normal distribution function
60: ndtri: Inverse of Normal distribution function
61: pdtr: Poisson distribution
62: pdtrc: Complemented poisson distribution
63: pdtri: Inverse Poisson distribution
64: stdtr: Student's t distribution
65: stdtri: Functional inverse of Student's t distribution
66:
67: \end{verbatim} Please see Math::Cephes for more information
68:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>