i had sage perform grad() on a scalar field and the calculation was really
slow. grad() consists of several steps and apparently the derivative() is
not the issue, but rather the simplification of the resulting terms
thereafter. The process is described here:
http://doc.sagemath.org/html/en/referen
I'm using Sage since few days ago. I'm struggling solving some inequalities
with constraints.
I have two questions that may be related.
First, why do we obtain such result in the following code?
var('x, y')
> assume(x, 'real', y, 'real')
> assume(x>0, y>0)
> assume(x-y < 0)
>
On 12/29/2016 04:48 AM, Ingo Dahn wrote:
>
> According to tab completion SageCell doesn't seem to support any other form
> of *simplify*. Is there any strategy to combine Sage commands in order to
> simplify rational function expressions?
Plain "simplify" won't do much on its own. I guess it's
Hi,
I am not sure what *simplify *does. For example
q=(x^2+4*x+4)/(x+2)^2
simplify(q)
doesn't do any simplification, while
factor(q) yields 1.
According to tab completion SageCell doesn't seem to support any other form
of *simplify*. Is there any strategy to combine Sage commands in order to
s
hello, i was trying to simplify a trigonometric expression and it didn’t
work, can you help me please? my computer uses the last IOS version
A=cos(x)^5+sin(x)^4+2*cos(x)^2-2*sin(x)^2-cos(2*x)
A.simplify_full()
Traceback (click to the left of this block for traceback)
...
RuntimeError: E
What is the way to consistently simplify square roots of squares?
Examples:
sqrt((x+1)^2) - > x+1
sqrt(cos(4*x)+1) -> sqrt(2)cos(2x)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from
Hi, i tried to simplify a number doing this:
m1.simplify()
but the output is
AttributeError: 'sage.rings.real_mpfr.RealNumber' object has no
attribute 'simplify'
What does it mean?
What did I do wrong? I declared m1 like this:
m1 = var('m1')
thank you very much!
--
You received this message
Hi all,
I use sage to solve a system of equations describing and electronical
filter. I then use sympy and codegen to generate c code that I use in my
main code written in c. This works almost like a charm, expept that it
produces files that are 100s of kb long. Looking into the expressions the
How do I make SAGE recognize
t=var('t', domain='real')
log(cosh(t)+sinh(t))
as
t
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@goo
I pulled an expression out of a piecewise function that contains some
derivatives. The full_simplify() method seems unhappy; can anyone
decipher this error or think up a workaround?
sage: load('recovery.py')
sage: r = ZZ(3)
sage: t = SR.symbol('t', domain='real')
sage: x = SR.symbol('x', domain=
Hi. I am having difficulty using sage to manipulate surds.
Consider:
a = 1 + sqrt(2) + sqrt(3)
b= (a^2).expand()
c = sqrt(b)
Then 'y' should be equal to 'a'.
But, given 'y' I cannot make sage return the simple form.
Trying
y.simplify_full()
doesn't do what I want.
How do I make sage recogni
Hi,
On Wed, Jan 26, 2011 at 6:41 PM, wrote:
> sage: sqrt(2)*sqrt(3)
> sqrt(2)*sqrt(3)
> sage: sqrt(2)*sqrt(3)-sqrt(6)
> sqrt(2)*sqrt(3)-sqrt(6)
>
> I would expect results sqrt(6) and 0...
In the above Sage session, you declared two symbolic expressions. So
it is possible to use methods defined
Loďc a écrit :
Hello list,
Version: sage 4.6.1
I'm quite a newbie with Sage but I'm really impressed this powerful
software.
Since an hour, I'm on a stupid problem:
sage: sqrt(2)*sqrt(3)
sqrt(2)*sqrt(3)
sage: sqrt(2)*sqrt(3)-sqrt(6)
sqrt(2)*sqrt(3)-sqrt(6)
Test :
sage (sqrt(6)).radical_simp
Hello list,
Version: sage 4.6.1
I'm quite a newbie with Sage but I'm really impressed this powerful
software.
Since an hour, I'm on a stupid problem:
sage: sqrt(2)*sqrt(3)
sqrt(2)*sqrt(3)
sage: sqrt(2)*sqrt(3)-sqrt(6)
sqrt(2)*sqrt(3)-sqrt(6)
I would expect sqrt(6) and 0...
I try with the command
Hello,
Version: sage 4.6.1
I'm quite a newbie with Sage but I'm really impressed by this powerful software.
Since an hour, I'm on a stupid problem:
sage: sqrt(2)*sqrt(3)
sqrt(2)*sqrt(3)
sage: sqrt(2)*sqrt(3)-sqrt(6)
sqrt(2)*sqrt(3)-sqrt(6)
I would expect results sqrt(6) and 0...
I try with the
dear Stefan
first of all sin(pi/2) = 1.0
to understand the problem arises in your computation u should
read about floating point arithmetic and about how numbers are stored in
computers.
check this very good article.
http://docs.sun.com/source/806-3568/ncg_goldberg.html
i hope this may clarify y
stefan.o...@gmail.com ha scritto:
Hello,
I have a term t that I simplify with t.simplify_trig(). Parts of the
result look something like this:
65*sin(0.500*pi)*sin(x2)*cos(x3)*sin(x5)+...
My limited math understanding tells me that sin(0.5*pi) is zero,
sin(pi/2)=0, that's rign
Hello,
I have a term t that I simplify with t.simplify_trig(). Parts of the
result look something like this:
65*sin(0.500*pi)*sin(x2)*cos(x3)*sin(x5)+...
My limited math understanding tells me that sin(0.5*pi) is zero,
therefore the term shouldn't be there. Is there a way to let sage
Hello there,
I have a little kinematic project running.
I have a matrix with Denavit-Hartenberg parameters for each joint. See
http://upload.wikimedia.org/math/6/e/3/6e3a9d7ad118c01e0e8b06cdc6d0205f.png
In my case everything except theta is constant. I need to multiply
this matrix with itself for
after declaring variables make these definitions
sage: a = Z - Z^-1
sage: b = L - L^-1
sage: c = Z^2L-Z^-2L^-1
sage: f = (p*a + q*b + r *c) *a + (n*a + m *b + l*c) * a*b
Now I can tell it assume(Z^3 * L^2 == -1)but I can't get it to use
that assumption
in something like simplify(expand(Z^3*
Sage is unable to simplify the following expression to zero:
log( (a-1)/a ) - log(a-1) + log(a)
I have tried assuming a>1 but that does not work.
Help will be appreciated.
Tanks!
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegr
Hi,
How to simplify an expression if you have some known relations
(equalities)? Example:
relation: 0 = a*x1^2 + b*x2^2
expression = (a*x1^2 + b*x2^2)*y1+b*y2^3
Given the relation, the expression could be simplified to b*y2^2. But
how in Sage?
Tnx in advance. Rolandb
--~--~-~--~~---
Hello
arctan(2)+arctan(5)+arctan(8)=5*pi/4.
How can I simplify arctan(2)+arctan(5)+arctan(8) to get this value?
Thanks in advance
Loïc
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send
Can't simplify((-2*sqrt(2)*I - 2)/2) result in -1*sqrt(2)*I - 1
What I found is that it remain unchanged.
--
H.S.Rai
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-supp
Hi all:
Is there a Sage command similar to Maple 11's 'simplify/siderels'
which simplifies an expression with respect to given relations? I
couldn't find mention of such a command in the Sage documentation.
For more details, here's the Maple 11 help documentation.
Alex
=
25 matches
Mail list logo