On Wed, Dec 30, 2015 at 6:35 AM, Alan Gauld
wrote:
> On 30/12/15 05:55, Tom Xu wrote:
> > Dear Pythoneers,
> >
> > I want to draw several curves in one graph, but the amount of curves is
> not
> > a fixed number.
>
> OK, But what exactly are you asking us to do?
>
> > My homework is below:
> > --
On 30/12/15 05:55, Tom Xu wrote:
> Dear Pythoneers,
>
> I want to draw several curves in one graph, but the amount of curves is not
> a fixed number.
OK, But what exactly are you asking us to do?
> My homework is below:
> ---
> import matplotlib.pyplot as plt
> import math
>
> if __name__=='__m
On 30/12/15 11:00, marcus lütolf wrote:
> Dear Pythonistas,
> o.K., thats what I get from the command line:
>
> Microsoft Windows [Version 10.0.10586]
> (c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.
>
> C:\Users\marcus>c:\Python27\Scripts>dir pip*
OK, Thanks for the cut 'n paste that
Dear Pythonistas,
o.K., thats what I get from the command line:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\marcus>c:\Python27\Scripts>dir pip*
Der Befehl "c:\Python27\Scripts" ist entweder falsch geschrieben oder
konnte nicht gefunden
On 30/12/15 06:26, Satya Luzy wrote:
> Dear everyone, thank you for all of your support.
> To Alan :
> It is true that my code still need some improvement on the efficiency part,
> and thanks for pointing out which part that needs to be improved.
My suggestions won't really do much for efficiency
Dear Pythoneers,
sorry for bothering. I want to draw several curves in one graph, but the
amount of curves is not a fixed number.
My homework is below:
---
import matplotlib.pyplot as plt
import math
if __name__=='__main__':
try:
Dear Pythoneers,
I want to draw several curves in one graph, but the amount of curves is not
a fixed number.
My homework is below:
---
import matplotlib.pyplot as plt
import math
if __name__=='__main__':
try:
n=int(input('how many curves? '))
ulist=[]
thetalist=[]
Thanks for testing out more of the program.
Yes, as you can see, I'm using the continued fraction method on n, which in
your case is 459.
During the continued fraction process (referring to function
cfract(n,boundary)), I set the boundary to store only 50 value of the first
iteration. The result of
Dear everyone, thank you for all of your support.
To Alan :
It is true that my code still need some improvement on the efficiency part,
and thanks for pointing out which part that needs to be improved. Speaking
of the nested loops, with my ability, I don't think I could simplify it, as
the nested l