import sys
mypath=sys.path[0]
if mypath.find('my_python') == -1:       #If true, then "my_python" could not be found
  print "Sorry.  You need to be in my_python for Halverson's program to work."
  print "(That''s because I am assuming that the tgraphlix.py and ezu3.py libraries are there.)"
  exit()
sys.path[0]=mypath[0:mypath.find('my_python')]+'my_python'

from math import *
from tgraphlibx import *

def cube(x):
  the_cube=pow(x,3)
  return the_cube
  
x_array=[ ]
y_array=[ ]
for x in range(-25,15):
  y=cube(x)
  x_array=x_array+[x]
  y_array=y_array+[y]
graph_xy(x_array,y_array)  
  
  