I like how in Sage it is so easy to emphasize for students what an equation
is.

An equation (or inequality) is a relation between expressions:  f(x) ==
g(x).

It's then very easy to show a solution process step by step.  However, I
just noticed this:


sage: f(x) = 2*x + 5
sage: g(x) = 5*x - 3

sage: f > g
x |--> 2*x + 5 > 5*x - 3
sage:
sage: _ - 5
x |--> 2*x > 5*x - 8
sage:
sage: _ - 5*x
x |--> -3*x > -8
sage:
sage: _ / -3
x |--> x > (8/3)

The '>' should be '<'.

However, some good news:

sage: h = f>g
sage:
sage: h
x |--> 2*x + 5 > 5*x - 3
sage:
sage: solve(h, x)
[[x < (8/3)]]


- Michel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.

Reply via email to