The Artima Developer Community
Sponsored Link

Python Buzz Forum
Python for teaching mathematics

1 reply on 1 page. Most recent reply: Apr 26, 2006 3:12 AM by Hattar Posher

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Simon Willison

Posts: 282
Nickname: simonw
Registered: Jun, 2003

Simon Willison is a web technology enthusiast studying for a Computer Science degree at Bath Uni, UK
Python for teaching mathematics Posted: Sep 13, 2003 5:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Simon Willison.
Original Post: Python for teaching mathematics
Feed Title: Simon Willison: Python
Feed URL: http://simon.incutio.com/syndicate/python/rss1.0
Feed Description: Simon Willison's Python cateory
Latest Python Buzz Posts
Latest Python Buzz Posts by Simon Willison
Latest Posts From Simon Willison: Python

Advertisement

Kirby Urner provides some great examples of how Python can be used as an aid to understanding mathematics on the marketing-python mailing list. I particularly liked this demonstration of Pascal's triangle using Python generators:

 >>> def pascal():
         row = [1]
         while True:
            yield row
            row = [i+j for (i,j) in zip([0] + row, row + [0])]


  >>> gen = pascal()
  >>> for i in range(10):
            print gen.next()


  [1]
  [1, 1]
  [1, 2, 1]
  [1, 3, 3, 1]
  [1, 4, 6, 4, 1]
  [1, 5, 10, 10, 5, 1]
  [1, 6, 15, 20, 15, 6, 1]
  [1, 7, 21, 35, 35, 21, 7, 1]
  [1, 8, 28, 56, 70, 56, 28, 8, 1]
  [1, 9, 36, 84, 126, 126, 84, 36, 9, 1]

Read: Python for teaching mathematics


Hattar Posher

Posts: 1
Nickname: molyr
Registered: Apr, 2006

Is It Really Symmetric? Posted: Apr 26, 2006 3:12 AM
Reply to this message Reply
Hi,




Whats your opinion about this book?
(Binary Symmetric Book 1)


Here u can download some contents of this book as pdf files and look whether it is symmetric or not:



http://www.simetrikkitap.com/subject1.pdf

http://www.simetrikkitap.com/subject2.pdf

http://www.simetrikkitap.com/subject3.pdf


Please explain to me is there real symmetry or not?


Thanks a lot..

Flat View: This topic has 1 reply on 1 page
Topic: CPS4/Z3ECM sprint, Final wrapup Previous Topic   Next Topic Topic: Petrol prices in New Zealand c.f. USA, Europe

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use