Subversion Repositories wimsdev

Rev

Rev 13802 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8812 bpr 1
f=5*x^2+1
8819 bpr 2
g=5*x^2+y^2
8812 bpr 3
test1=$[8+9]
4
test2=!mathsubst x=5 in $f
8866 bpr 5
test3=$[max(4,6)], $[min(4,7)]
8812 bpr 6
test4=!values cos(x) for x=1 to 7
7
test5=$[exp(4)]
8819 bpr 8
test6=$[gcd(34,2*7)],$[lcm(34,2*7)], $[gcd(23,67)]
9
test7=$[gcd(34908654,78654)],$[lcm(34908654,78654)]
10
g1=!mathsubst x=1 in $g
11
test8=!mathsubst y=2 in $g1
12
 
13
test9=!prod x for x=1 to 4
14
test10=!sum x for x=1 to 4
15
 
16
test11=!evalsubst x=1 in $f
17
test12=$[abs(-567890)]
18
 
19
test13=$[sec(pi)],$[csc(1/2)],$[cotanh(2)],$[cotan(2)]
20
test14=$[round(4.56)],$[factorial(5)],$[binomial(5,2)],$[sign(-897)], $[sign(0)], $[sign(10000)]
13802 bpr 21
test15=!mathsubst x=-1 in x^2+1
13803 bpr 22
test16=!evalsubst x=(-1) in x^2+1
8819 bpr 23
 
10181 bpr 24
vartest=$test1\
9150 bpr 25
$test2\
26
$test3\
27
$test4\
28
$test5\
29
$test6\
30
$test7\
31
$test8\
32
$test9\
33
$test10\
34
$test11\
35
$test12\
36
$test13\
13802 bpr 37
$test14\
38
$test15\
39
$test16
8819 bpr 40
$[mylog2(5)],$[myround(4.56)] give error