# compute sin2 and cos2 and add them # for ECS 10, Spring 2009, April 13, 2009 # Matt Bishop # load math functions from math import *; def main(): # start here val = input("Enter your angle in radians:"); # compute sin**2 and cos**2 s2 = sin(val)**2 c2 = cos(val)**2 # see if it is 1 print "Sum of sin**2 and cos**2 is:", s2+c2; main()