I found a message on sage-devel list (http://www.mail-archive.com/sage-
de...@googlegroups.com/msg10351.html) about an inequality solver.
However, each time x is a divisor of something (therefore it cannot be
zero), the isolver function fails, as it tries to find the zeros of x
as a solving strate
On May 10, 7:24 am, pepe wrote:
> Hello all,
Hi,
> I am trying to install sagemath-3.0.5dfsg (i386) from repository. I am
> running Kubuntu 9.04.
> I am getting "dependency resolution failed" and it directs me to
> remove "libgd2-noxpm" module. KPackageKit is not progressing in
> installation
Hello all,
I am trying to install sagemath-3.0.5dfsg (i386) from repository. I am
running Kubuntu 9.04.
I am getting "dependency resolution failed" and it directs me to
remove "libgd2-noxpm" module. KPackageKit is not progressing in
installation process due to this issue. Is there any workaround
Ah, that explains it! I tried
b = FormalSum([(2,'x')],parent=GF(7))
when I should have tried
b = FormalSum([(2,'x')],parent=FormalSums(GF(7)))
The latter gives me
sage: 5*b
3*x
sage: 5*b == 12*b
True
and this is what I wanted.
Thanks a lot,
Christian
John Cremona wrote:
>
Your mistake is to force the parent to be GF(7). The parent is not
the coefficient ring. Try
sage: FormalSum?
Type: type
Base Class:
String Form:
Namespace: Interactive
File: /home/john/sage-3.4.2/local/lib/python2.5/site-packages/sage/
structure/formal_sum.py
plot(sin,3,5)
evaluate
WARNING: Output truncated!
full_output.txt
execfile("/home/gaoxiang/.sage/sage_notebook/worksheets/admin/4/code/
5.p\
y")
print "\x01r\x01e3"
>>> print "\x01r\x01e2"
r e2
>>>
execfile("/home/gaoxiang/.sage/sage_notebook/worksheets/admin/4/code/
5.p\
y")
b3
execfile
Is there a way to find the domain of x given a simple inequality like 5*x +
2 > x - 6 in Sage? Mapple does support this...but it ain't free software. I
was wondering if could use Sarge in a high school math class, so this is of
big relevance.
--~--~-~--~~~---~--~~
T