[sage-support] How use substitute method in function definitions?

2009-03-26 Thread seber...@spawar.navy.mil
This will bomb because numerical_integral doesn't allow vars for the limits of integration: Y(t)=2500+numerical_integral(S(u)-R(u),0,t)[0] I tried Y(t)=2500+numerical_integral(S(u)-R(u),0,x).substitute(x=t)[0] and Y(t) = ( 2500+numerical_integral(S(u)-R(u),0,x)[0]).substitu

[sage-support] How use substitute method in function definitions?

2009-03-26 Thread seber...@spawar.navy.mil
This will bomb because numerical_integral doesn't allow vars for the limits of integration: Y(t)=2500+numerical_integral(S(u)-R(u),0,t) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send emai

[sage-support] When absolutely must declare vars?

2009-03-26 Thread seber...@spawar.navy.mil
A student in my class can get very far in Sage without needing to declare variables sage: f(u) = u^2 sage: f(4) 16 sage: integrate(sin(u),u,2,11) cos(2) - cos(11) sage: diff(u*y,u) y sage: def g(n): : return n*n : sage: g(9) 81 When must you absolutely need to declare vars? My e

[sage-support] So Sage session is a glorified IPython session? But type(3) != int?

2009-03-26 Thread seber...@spawar.navy.mil
Should I think of a Sage session as an IPython session with a lot of math related modules loaded into the namespace? (i.e. I assume in the Sage shell init file somewhere there are lots of lines like this? from some_math_stuff import * ?? ) If yes, how can Sa

[sage-support] Re: "Error showing url: There was an error launching the default action command associated with this location."

2009-03-20 Thread seber...@spawar.navy.mil
I solved the problem myself. That error has to do with the path to firefox being messed up under the $HOME/.gconf directory. More details here: http://defindit.com/readme_files/gconfd_http_launch_howto.html cs --~--~-~--~~~---~--~~ To post to this group, send e

[sage-support] Re: "Error showing url: There was an error launching the default action command associated with this location."

2009-03-18 Thread seber...@spawar.navy.mil
On Mar 18, 3:08 pm, William Stein wrote: > Does the sage notebook still work if you directly paste > >  http://localhost:8000 > > in the url of your web browser? Yes. cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] "Error showing url: There was an error launching the default action command associated with this location."

2009-03-18 Thread seber...@spawar.navy.mil
I got the following error before and after upgrading to version 3.4 when running sage -notebook" "Error showing url: There was an error launching the default action command associated with this location." Any idea what this can be or what I should try? cs --~--~-~--~~

[sage-support] Re: How add text *outside* of boxes of different fonts in Sage notebooks?

2009-03-18 Thread seber...@spawar.navy.mil
> What version of sage are you using? That was it. I was on 3.1.x and when I upgraded to 3.4 it worked. cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubs

[sage-support] Re: How add text *outside* of boxes of different fonts in Sage notebooks?

2009-03-17 Thread seber...@spawar.navy.mil
On Mar 17, 6:57 pm, Jason Grout wrote: > The easiest way to do this is to shift-click on the blue "add cell" bar. >   That will bring up the TinyMCE WYSIWYG editor. When I hover above an input box I do see a blue horizontal bar appear. When I shiftclick on it I get a new input boxeven aft

[sage-support] How add text *outside* of boxes of different fonts in Sage notebooks?

2009-03-17 Thread seber...@spawar.navy.mil
How add text *outside* of boxes of different fonts in Sage notebooks? I've noticed people are able to create notebooks with various fonts, bolding, etc. I don't see how they got outside the eval boxes. cs --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Confused about usage/purpose of ">>>" in notebooks...

2009-03-17 Thread seber...@spawar.navy.mil
If I'm reading correctly, is the purpose of ">>>" is to denote input you want ignored during evaluation? I tried to evaluate a line with ">>>" and it still gave an error message. So, I'm probably mistaken about something here. Chris --~--~-~--~~~---~--~~ To post

[sage-support] Why integrate(sin(t*t),t,0,3).n(X) blows up for (apparently) all X > 0?

2009-03-11 Thread seber...@spawar.navy.mil
Why integrate(sin(t*t),t,0,3).n(X) blows up for (apparently) all X > 0? cs --~--~-~--~~~---~--~~ 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 opt

[sage-support] Why can't do integrate( abs( sin(t^2) ), t, 0, 3) ?

2009-03-11 Thread seber...@spawar.navy.mil
Why can't do integrate( abs( sin(t^2) ), t, 0, 3) ? Sage just returns the question... sage: integrate(abs(sin(t*t)),t,0,3) integrate(abs(sin(t^2)), t, 0, 3) cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscrib