In [53]:
import sympy
import adaptive_trapzint as p1
import sinesum1 as p2
import centered_diff as p3
import find_primes as p4
In [54]:
p1.performance_table()
In [11]:
p2.table(1)
In [20]:
p3.application()
Out[20]:
This program identifies prime factors by iterating through a list from 2 to the number given as the function argument and eliminating numbers which are multiples of smaller numbers from the iteration list. The iteration list is then returned and consists of only prime numbers lesser or equal to the function argument. Here, the prime numbers of 100 and less are shown.
In [16]:
print p4.find_primes(100)