[sage-support] plot

2010-04-22 Thread pallab
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

[sage-support] Re: plot

2010-04-22 Thread pallab
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

[sage-support] Re: plot

2010-04-22 Thread pallab
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

[sage-support] Re: derivative instance

2010-04-05 Thread pallab
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

[sage-support] operands and expresssion

2010-04-03 Thread pallab
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,

[sage-support] derivative instance

2010-04-03 Thread pallab
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

[sage-support] Re: derivative instance

2010-04-03 Thread pallab
?) 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

[sage-support] Re: derivative instance

2010-04-03 Thread pallab
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

[sage-support] Re: operands and expresssion

2010-04-03 Thread pallab
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

[sage-support] Re: ndsolve??

2010-04-01 Thread pallab
/___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

[sage-support] Re: ndsolve??

2010-03-29 Thread pallab
, 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