|
|
last edited 11 years ago by test1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ||
Editor: Bill Page
Time: 2008/05/22 13:01:43 GMT-7 |
||
Note: new |
changed: - \begin{axiom} a:Union(Symbolic,Integer) b:Union(Symbolic,Integer) c:=a*3-b*2 p:UP(x,Integer):=x*2-7 pc := p c f(x)==x^3-x^2+1 fb := f b a:=1 b:=-3 eval(pc,['a=a,'b=b]) eval(c,['a=a,'b=b]) eval(fb,['a=a,'b=b]) \end{axiom}
axioma:Union(Symbolic,Integer) Symbolic is not a valid type. b:Union(Symbolic,Integer) Symbolic is not a valid type. c:=a*3-b*2
(1) |
axiomp:UP(x,Integer):=x*2-7
(2) |
axiompc := p c
(3) |
axiomf(x)==x^3-x^2+1
axiomfb := f b
Compiling function f with type Variable b -> Polynomial Integer
(4) |
axioma:=1
(5) |
axiomb:=-3
(6) |
axiomeval(pc,['a=a,'b=b])
(7) |
axiomeval(c,['a=a,'b=b])
(8) |
axiomeval(fb,['a=a,'b=b])
(9) |