How to specify variables in a plot. Say I want something like,
At=S*x
S=4
plot(At,0,2)
Question is that how to instruct Sage that I want to plot against 'x'.
In Mathematica this is conveniently done by
Plot[At,{x,0,2}]
--
To post to this group, send email to sage-support@googlegroups.com
To
Thanks for your answer, it seems complicated :). I think it would have
been much easier if there is a way to specify the plot variables in
plots.
On Apr 22, 2:58 am, Mike Hansen mhan...@gmail.com wrote:
On Thu, Apr 22, 2010 at 2:46 AM, pallab pallabb...@gmail.com wrote:
How to specify
On Apr 22, 7:26 am, Jason Grout jason-s...@creativetrax.com wrote:
On 04/22/2010 06:02 AM, pallab wrote:
Thanks for your answer, it seems complicated :). I think it would have
been much easier if there is a way to specify the plot variables in
plots.
On Apr 22, 2:58 am, Mike
Thanks. Will do.
On Apr 3, 12:19 pm, Alec Mihailovs alec.mihail...@gmail.com wrote:
On Apr 3, 2:32 pm, pallab pallabb...@gmail.com wrote:
Is there any way to check whether a symbolic expression is a
derivative. Like,
isinstance(diff(f(x),x),what to put?)
gives True
let us do,
f=function('f',x)
expr=f(x)
expr.operands()
the out put is,
[x]
Is it a bug?, I expect [f(x)].
using,
f=function('f',x)
expr=2*f(x)
expr.operands()
correctly gives,
[f(x),2]
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group,
Is there any way to check whether a symbolic expression is a
derivative. Like,
isinstance(diff(f(x),x),what to put?)
gives True
and
isinstance(f(x),what to put?)
gives false, assuming f is not a derivative itself.
--
To post to this group, send email to sage-support@googlegroups.com
To
?)
Robert
On 3 dub, 20:32, pallab pallabb...@gmail.com wrote:
Is there any way to check whether a symbolic expression is a
derivative. Like,
isinstance(diff(f(x),x),what to put?)
gives True
and
isinstance(f(x),what to put?)
gives false, assuming f is not a derivative itself
I mean...
I do not know. If it is already evaluated to cos(x) then it should be
false (not *true*). current sympy gives false, I think I would go
with it.
On Apr 3, 11:51 am, pallab pallabb...@gmail.com wrote:
On Apr 3, 11:36 am, ma...@mendelu.cz ma...@mendelu.cz wrote:
What kind
I got it :), thanks.
On Apr 3, 11:34 am, Mike Hansen mhan...@gmail.com wrote:
On Sat, Apr 3, 2010 at 11:15 AM, pallab pallabb...@gmail.com wrote:
let us do,
f=function('f',x)
expr=f(x)
expr.operands()
the out put is,
[x]
Is it a bug?,
No, it's not a bug since the operator
/___code___.py, line 11, in module
T.ode_solve(t_span=[_sage_const_0 ,_sage_const_1 ],num_points=_sage_const_100 )
File , line 1, in module
File ode.pyx, line 531, in sage.gsl.ode.ode_solver.ode_solve (sage/
gsl/ode.c:4558)
ValueError: error solving
thanks,
Pallab
On Mar 25, 8:25 am, dabu pallabb
,
Rajeev
On Mar 26, 11:06 am, dabu pallabb...@gmail.com wrote:
Hi,
Many thanks. I will try to have a look.
best,
Pallab
On Mar 25, 1:05 pm, Jason Grout jason-s...@creativetrax.com wrote:
On 03/25/2010 10:25 AM, dabu wrote:
Hi,
I am new in sage. I was wondering about Sage's
11 matches
Mail list logo