On Tue, Jan 14, 2014 at 1:40 PM, Grace Roberts
wrote:
>
> -For certain initial conditions the programme displays impossible orbits,
> showing the satellite making immediate sharp turns or jumping up and down in
> velocity. The exact same code can also end up displaying different graphs
> when run
On Tue, Jan 14, 2014 at 06:40:03PM +, Grace Roberts wrote:
[...]
> I've attached a quick print-screen of the code.
I've managed to have a look at the screenshot, there are no obvious
problems, but I'm not a Scipy expert. If you do get an answer from a
Scipy mailing list, I would really appre
Hi Grace,
I see that you're asking about the behavior of scipy.integrate.odeint():
http://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.odeint.html#scipy.integrate.odeint
Unfortunately this might be too domain specific of a question for
folks here at Tutor. I don't see anyth
Hi Grace, and welcome,
My reply is interleaved with your comments.
On Tue, Jan 14, 2014 at 06:40:03PM +, Grace Roberts wrote:
> Hi,
> I'm a python beginner, currently using scipy's 'odeint' to compute to
> a set of ODEs (obtained by splitting Newton's law of gravity
> ma=-Gm1m2r/r^3 in two
On Tue, Jan 14, 2014 at 1:40 PM, Grace Roberts
wrote:
> Hi,
>
> I'm a python beginner, currently using scipy's 'odeint' to compute to a set
> of ODEs (obtained by splitting Newton's law of gravity ma=-Gm1m2r/r^3 in two
> ordinary differentials). The idea is that I'm modelling the orbit of a
> sate
On Tue, Jan 14, 2014 at 3:22 AM, Krischu wrote:
> When I started I had In [0]:, In[1] etc.
>
> Now the notebook starts with In [2]:, In [3]: then In [9]:
>
> Yesterday before storing and leaving the notebook I suddenly had all In[]'s
> marked like In [*]:
>
> Is there a method behind this? Can one
On Tue, Jan 14, 2014 at 02:42:07AM -0500, Christian Alexander wrote:
> Hello Tutorians,
>
> Why does the interactive prompt not recognize escape sequences in strings?
> It only works correctly if I use the print function in python 3.
>
> >>> "Hello\nWorld"
> "Hello\nWorld"
I'm afraid that you a
On Tue, Jan 14, 2014 at 2:42 AM, Christian Alexander
wrote:
>
> Why does the interactive prompt not recognize escape sequences in strings?
> It only works correctly if I use the print function in python 3.
>
"Hello\nWorld"
> "Hello\nWorld"
Let's manually compile the following source string:
Christian Alexander wrote:
> Hello Tutorians,
>
> Why does the interactive prompt not recognize escape sequences in strings?
> It only works correctly if I use the print function in python 3.
>
"Hello\nWorld"
> "Hello\nWorld"
The way python shows objects in the interactive interpreter has
Alan Gauld Wrote in message:
> On 14/01/14 07:42, Christian Alexander wrote:
>
>> Why does the interactive prompt not recognize escape sequences in
>> strings? It only works correctly if I use the print function in python 3.
>>
>> >>> "Hello\nWorld"
>> "Hello\nWorld"
>
> That depends on how y
On 14/01/14 07:42, Christian Alexander wrote:
Why does the interactive prompt not recognize escape sequences in
strings? It only works correctly if I use the print function in python 3.
>>> "Hello\nWorld"
"Hello\nWorld"
That depends on how you define "correctly"...
When you evaluate an exp
Hi,
I'm new to python and ipython. After the first steps I did I found that the
numbering scheme in the Webapp (notebook) is kind of unpredicatble.
When I started I had In [0]:, In[1] etc.
Now the notebook starts with In [2]:, In [3]: then In [9]:
Yesterday before storing and leaving the noteb
Hello Tutorians,
Why does the interactive prompt not recognize escape sequences in strings?
It only works correctly if I use the print function in python 3.
>>> "Hello\nWorld"
"Hello\nWorld"
--
Regards,
Christian Alexander
___
Tutor maillist - Tut
13 matches
Mail list logo