Hi, you have something like syntax highlight in sws2tex, see
http://user.mendelu.cz/marik/sage/polynomials.pdf or
http://user.mendelu.cz/marik/sage/vrstevnice.pdf
sws2tex: http://bitbucket.org/whuss/sws2tex/
Robert Marik
On 16 bře, 22:05, dmitrey wrote:
> hi all,
> is it possible somehow to per
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
By the way, vector doesn't work with integer numpy arrays,
from numpy import array
vector(array([1,2]))
Traceback (most recent call last):
File "", line 1, in
File "_sage_input_60.py", line 5, in
vector(array([_sage_const_1 ,_sage_const_2 ]))
File "", line 1, in
File "free_module_
On Tue, Mar 16, 2010 at 1:06 PM, Alec Mihailovs
wrote:
> What about vector(3,f), f.vector(3), and f.matrix(3,4) or
> f.matrix(5) ?
I didn't do anything about vector() -- I could probably get to it later.
There's no good way to make a syntax like f.matrix() or f.vector()
work, and it's not someth
I'm using @interact to make a demo for my calculus students involving
area minimization:
@interact
def _(s=slider(-10,-0.1,0.1,default=-2.5,label='slope')):
html('Try to minimize the area of the triangle whose hypotenuse
passes through (2,3)')
G=line([(0,-2*s+3), (-3/s+2,0)]) #s*(x-2)+3,(x
Thank you for yor clear explanation.
Julián Aguirre
On 16 mar, 18:23, John Cremona wrote:
> Let me explain (as the author of mwrank). There was a bug in
> mwrank, found by James Wiegandt and Edray Goins, which meant that in
> some cases for curves with rational 2-torsion the computed upper bo
Thanks.
Zach
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
To get the value of 'x' from solve you can use the option
solultion_dict = true as follows:
sage: S = solve(derivative(f,x)==0,x, solution_dict=true)
sage: S[0][x]
tau0*log(tau1/tau0 + 1)
sage: S[0][x].subs(tau0=0.5, tau1=5.0)
1.19894763639919
Also, using the 'N' function will evaluate numerical
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
2010/3/16 dmitrey :
> hi all,
> is it possible somehow to perform syntax highlight in SAGE Calculator,
> at least for viewing published worksheets?
No, not yet.
William
>
> Regards, D.
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, s
Hi everybody again.
Does anybody if it is possible to use the result of the function solve
to insert it in a function to resolve it analitically.
For example, I want to get the peak of the following function
>>> var('tau0,tau1')
>>> f(x) = (1-e**(-x/tau0))*(e**(-x/tau1))
For that, I simply d
hi all,
is it possible somehow to perform syntax highlight in SAGE Calculator,
at least for viewing published worksheets?
Regards, D.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For
On Mar 16, 3:57 pm, Mike Hansen wrote:
> On Tue, Mar 16, 2010 at 12:38 PM, Alec Mihailovs
>
> wrote:
> > Will it work as matrix(5,f) as well, or only as matrix(5,5,f) ?
>
> It now works with both.
>
> --Mike
That's great!
What about vector(3,f), f.vector(3), and f.matrix(3,4) or
f.matrix(5) ?
Thanks a lot David, this is what I needed.
Just if somebody else might need it, i will resolve the problem:
# declare t and tau as symbolic variables
var('t')
var('tau')
# monoexponential equation
g(t) = e**(-t/tau)
# 2-piece result (one from 0 to t0, the second from t0 to 1000
t0 = 0.2 # this
On Tue, Mar 16, 2010 at 12:38 PM, Alec Mihailovs
wrote:
> Will it work as matrix(5,f) as well, or only as matrix(5,5,f) ?
It now works with both.
--Mike
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...
On Mar 16, 2:32 am, Mike Hansen wrote:
> On Mon, Mar 15, 2010 at 10:16 PM, Jason Grout
>
> wrote:
> > Whoever takes care of this original issue gets to claim a 3-digit ticket!
>
> >http://trac.sagemath.org/sage_trac/ticket/261
>
> Patch up for review.
>
> --Mike
Will it work as matrix(5,f) as we
On Mar 16, 3:06 pm, "rvaug...@gmail.com" wrote:
> When I try to make sage-4.3.3, I get:
>
> "There is no spkg-install script, no setup.py, and no configure
> script,
> so I do not know how to install /usr/share/sage-4.3.3/spkg/standard/
> gd-2.0.35.p4.spkg.
> make[1]: *** [installed/gd-2.0.35.p4
n Mon, Mar 15, 2010 at 10:30 AM, rvaug...@gmail.com wrote:
> Anybody running SAGE on Scientific Linux?
> If so, how? What version SAGE, what version Scientific Linux?
>
> I've tried several versions on SAGE on SciLinux 4.8 & 5.4,
> and in no case did the 'make' succeed.
What did you download? T
Let me explain (as the author of mwrank).There was a bug in
mwrank, found by James Wiegandt and Edray Goins, which meant that in
some cases for curves with rational 2-torsion the computed upper bound
on the rank was too high. (Technical explanation: the second descent
homogensous spaces were
wxu...@sohu.com wrote:
Thank you very much!
I will try this.
You could try the experimental version found here:
http://sage.math.washington.edu/home/jsp/SPKGS/ETS/
Jaap
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage
Thank you very much! I will try this.regards,YC - 原文 - 发件人: Jason Grout
主 题: Re: 回复: [sage-support] Re: 3D plot in sage时 间: 2010年3月16日 03:36:36On
03/16/2010 02:24 AM, wxu...@sohu.com wrote:> Hi Jason and everyone,> >
Thank you very much for your reply.> > Now I have a function or a set
On 03/16/2010 02:24 AM, wxu...@sohu.com wrote:
> Hi Jason and everyone,
>
> Thank you very much for your reply.
>
> Now I have a function or a set of data depending all the three
> coordinates x, y, z.
> In other words, there is a corresponding value at every point in 3
> dimensional space, whi
When I try to make sage-4.3.3, I get:
"There is no spkg-install script, no setup.py, and no configure
script,
so I do not know how to install /usr/share/sage-4.3.3/spkg/standard/
gd-2.0.35.p4.spkg.
make[1]: *** [installed/gd-2.0.35.p4] Error 1
make[1]: Leaving directory `/usr/share/sage-4.3.3/spkg
Dear group,
I have noticed a change in behaviour of mwrank when called from SAGE
4.3.3 to compute Selmer ranks. I am using Mac OSX 10.6.2, Power PC.
The SAGE folder is in the directory Applications. The command
u003429:~ julianaguirre$ /Applications/sage/sage -mwrank -v0 -s
gives
Program mwrank
Use Piecewise. Type Piecewise? For examples.
On Tuesday, March 16, 2010, Jose Guzman wrote:
> Hi everybody,
>
> i was wondering, which is the best method to plot a conditional function
> within an interval. For example, a function whose values are:
>
> 0 if t f(t) if t>t0
>
> where f(t) is a si
Hi everybody,
i was wondering, which is the best method to plot a conditional function
within an interval. For example, a function whose values are:
0 if tt0
where f(t) is a simple monoexponential decay that starts at t0. I tried
the following in Sage:
t = var('t')
def f(t,t0):
if tht
Hi Jason and everyone,Thank you very much for your reply.Now I have a function
or a set of data depending all the three coordinates x, y, z.In other words,
there is a corresponding value at every point in 3 dimensional space, which
maybevaries from -1 to 1. I want use color to represent the valu
On Tue, Mar 16, 2010 at 8:34 AM, zsharon wrote:
> Hi,
>
> I've switched to ubuntu, so I want to move my notebook files from
> windows to linux.
>
> In windows, I have sage-linux installed through vmware (or is it
> easybox? I assume that doesn't matter, but I can find out which it
> is. I just
29 matches
Mail list logo