[sage-support] Re: Group velocity simulations

2011-12-14 Thread issacnewton
awesome Jason,

If I have to add more than two waves, is there any way I can use 'for'
command
to loop the additions ?

thanks

On Dec 14, 3:27 pm, Jason Grout  wrote:
> On 12/14/11 3:46 AM, issacnewton wrote:
>
> > Hi
>
> > I want to add waves with different frequencies and velocities and do a
> > real time simulation to demonstrate the concept of group and phase
> > velocity
> > in  physics. Wikipedia has an article 
> > herehttp://en.wikipedia.org/wiki/Group_velocity
> > where we can see the simulations for group velocities.
> > This one (http://en.wikipedia.org/wiki/File:Wave_opposite-group-phase-
> > velocity.gif) done by user geek3 has a source code in mathematica.
> > I want to do this in sage. But I should be able to add more than 2
> > waves and see the simulation. How can I do that ?
>
> Seehttp://sagenb.org/home/pub/3844/andhttp://www.sagemath.org/doc/reference/sage/plot/animate.html
>
> Thanks,
>
> Jason

-- 
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


[sage-support] Group velocity simulations

2011-12-14 Thread issacnewton
Hi

I want to add waves with different frequencies and velocities and do a
real time simulation to demonstrate the concept of group and phase
velocity
in  physics. Wikipedia has an article here 
http://en.wikipedia.org/wiki/Group_velocity
where we can see the simulations for group velocities.
This one (http://en.wikipedia.org/wiki/File:Wave_opposite-group-phase-
velocity.gif) done by user geek3 has a source code in mathematica.
I want to do this in sage. But I should be able to add more than 2
waves and see the simulation. How can I do that ?

thanks

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-11 Thread issacnewton
danke emil !!!

On Dec 11, 5:06 pm, emil  wrote:
> I am very glad you had success at last!
>
> When you start the sage notebook server you have
> 'kind of an internet server" running on your local machine, which
> produces html code and listens to your inputs on port 8000. Hence you
> connect to this server with "localhost:8000".
> When you don't start the VM sage server, there is of course no such
> server and you get no response.
>
> This should be independent  of internet connection, this means that
> you can surf AND use sage the same time in different browser tabs. It
> should be also independent of the choice of internet browser. Internet
> Explorer, Firefox, Chrome, Opera should all work, as well as other,
> less known browser types. Just open the browser and type in localhost:
> 8000 in adress bar.
>
> Cheers
> emil

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-11 Thread issacnewton
Bingo..with 1) it worked..

But how does it work in chrome when the net is not connected ?

I thought that I need internet to run Sage..So I was confused when
the local:8000 didn't get connected when the sage was off. So it seems
that to connect to local:8000 we need to start Sage, and internet need
not
be running.

Ahhh. so much confusion...

one more question, can i run sagemath in browsers other than chrome ?
how can i do that ?

i have set chrome as my default browser...

On Dec 11, 1:24 pm, emil  wrote:
> Yes you should be able to connect to the sage server.
>
> 1) Shutdown Computer and restart
> Start VirtualBox
> Please check that on the right side of your Virtual Box control
> window, section "Networking" is set to NAT.
> start Sage VM
> In the VM you should get the message that the sage server is running
> on "http://localhost:8000";
> with this adress you *should* be able to connect to the sage server
> with your Chrome browser from windows.
>
> if this is not the case (maybe some weird firewall problem):
> 2) check that your sage install is working_
> go to the sage VM window Ctrl-C to the command prompt and then
> cd
> sage/sage
> This starts sage with the Command Line Interface.
> make some easy calculations like 1+1 or other examples from the
> tutorial.
> type "exit" to go back to the Fedora prompt
>
> 3) disable Firewall in Windows
> shutdown/restart VM and try again with NAT settings and "localhost:
> 8000"
>
> 4) try "bridged adapter setting"
> shut down the VM.
> Change settings in the VirtualBox Control Window/Networking to
> "bridged adapter"
> restart VM
> Ctr-C to the Fedora prompt
> "ifconfig" will give you your network settings, In the second line
> there is something like
> inet addr:192.168.2.101 ...
> write down this number - this is the IP_adress of the VM
> restart the sage notebook server
> cd
> sage/sage -notebook require_login=False open_viewer=False
> then open your browser in windows and connect tohttp://IP_adress:8000

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-10 Thread issacnewton
I still can't access localhost:8000 address , but is it not
possible to use sage offline, when i don't connect to
net ?

On Dec 8, 5:48 pm, emil  wrote:
> On Dec 8, 9:46 am, issacnewton  wrote:
>
> > Hi emil it seems that command worked and its trying to start web page.
> > I have taken the
> > snapshot of thathttp://www.picscrazy.com/view/1QHj
>
> > and it just remains at that point.
>
> > and if i go to that localhost:8000 address, my chrome gives the
> > message that
>
> > This webpage is not available
>
> > any suggestions ?
>
> Urgh, rather weird picture service you have there - anyway ...
>
> You are on the right track - can you start a server on the *host-
> system* -i.e. windows and connect to the sage server at localhost:
> 8000?
> The error messages you see indicate that it couldn't start a browser
> on the guest, but that is not needed.
>
> If there are any further problems, please restart the VM and the
> proceed following the Readme.txthttp://www.sagemath.org/mirror/win/README.txt
> section:
> Using the Sage Notebook
> =
>
> take care
> emil

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-08 Thread issacnewton
Hi emil it seems that command worked and its trying to start web page.
I have taken the
snapshot of that
http://www.picscrazy.com/view/1QHj

and it just remains at that point.

and if i go to that localhost:8000 address, my chrome gives the
message that

This webpage is not available

any suggestions ?

thanks

On Dec 8, 11:28 am, emil  wrote:
> Maybe type
> sage/sage -notebook
>
> if that doesn't work just restart the virtual machine
>
> Useful reading:http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-07 Thread issacnewton
Hi emil

I did as you said. I typed 'cd' and then entered and typed './sage -
notebook'
and entered , it says

-bash: ./sage:is a directory

any clues now ?

thanks

On Dec 7, 10:42 am, emil  wrote:
> > You should be in the sage root directory now, restart sage server
> >  [sage@localhost ~]$ ./sage .notebook
>
> sorry thats a typo, it should be
>
> >  [sage@localhost ~]$ ./sage -notebook
>
> actually it should also do if you just shutdown the VM and restart it.

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-06 Thread issacnewton
Hi emil

i tried solution a). It was compiling and building for many minutes
and finished at last. after that I typed ./sage and again the same
prompt [sage@sage sage]$ appeared and i tried to
do ordinary math like 2+2, but it says -bash: 2+2:command not found.

so whats problem now ?

thanks

-- 
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


[sage-support] Re: some problem with installation on winxp

2011-12-06 Thread issacnewton
thanks emil.

i was able to change the base memory and i set up the system to start
in sage shell. i get to the sage prompt after typing ./sage but i
can't do
any math stuff there. i get the following error.

WARNING! This shell install was built on a machine that supports
instructions that are not
available on this computer. Sage will likely fail with ILLEGAL
INSTRUCTIONS errors!
The following processor flags were on the build machine but are not
on  this computer.

ssse3



So whats happening here ? help me
also for this mailing list , can I set up the options so that I get
the email notices for the
replies to the threads started by me only ?

thanks


On Dec 6, 2:38 pm, emil  wrote:
> > I am trying to set up sage using vitualbox. What base memory should I
> > set in virtualbox for the sage ? While setting up, I assigned 1024 MB
> > base memory. Later the Virtualbox keeps reminding me that base memory
> > is more than 50 % of total memory (1.74 GB) and there might be
> > problems.
>
> If you don't have very memory intensive applications which you perform
> in windows xp while running sage vm with 1 GB you should be fine. The
> best split between VM and host system depends on the actual load (i.e.
> what calculation you do in sage and what applications run in parallel
> in windows).
>
> > I also don't know how to change the base memory in Virtualbox ?
>
> if you start the Virtual Box GUI on the right side is the Category
> System. You can change base memory easily with a slider.
>
> > So
> > please let me know what base memory should be set
>
> have you read the README.txt?
>
> Quote:
>
> Requirements
> 
>
> This can be used on any operating system that supports the free
> VirtualBox player, for example Microsoft Windows.  Your computer must
> have at least 2.5 GB (!) of free disk space and at least 512 MB of
> RAM.
>
> So for normal sage operation you should be fine to set the VM to 512
> MB
>
> best
> emil

-- 
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


[sage-support] some problem with installation on winxp

2011-12-05 Thread issacnewton
Hi

I am trying to set up sage using vitualbox. What base memory should I
set in virtualbox for the sage ? While setting up, I assigned 1024 MB
base memory. Later the Virtualbox keeps reminding me that base memory
is more than 50 % of total memory (1.74 GB) and there might be
problems.
I also don't know how to change the base memory in Virtualbox ? So
please let me know what base memory should be set and how to change
the already given amount in Virtualbox

Thanks

-- 
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