sequences

2376 days ago by chrisphan

def balmer(i): return 364.5*i^2/(i^2 - 4) p = plot(364.5*x^2/(x^2 - 4), x, 2, 100, rgbcolor=(0, 1, 0), alpha=0.75) for i in range(4, 100): p = p + point([i, balmer(i)]) show(p, ymax=420, ymin=350, figsize=[9, 5]) 
       

                                
                            

                                
p = point([1,0]) for i in range(3, 80): p = p + point([i, (i + (-1)^i)/i]) show(p, ymax=2, ymin=0, figsize=[9, 5]) 
       

                                
                            

                                
p = plot(sin(2*pi*x+ 1/x), x, 0, 50, rgbcolor=(0, 0.5, 0), alpha=0.75) for i in range(2, 50): p = p + point([i, sin(2*pi*i+ 1/i)]) show(p, figsize=[9, 5])