from math import *
z=0
while z<=2*pi:
print cos(z)
z=z+(pi/6)
ok i think this is right...
__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
_
sorry way off heh...
i think i'll sleep and try later.
__
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
Tutor maillist - Tutor
i came up with
z=0
while z<= 2*pi:
z=z+pi/6
print z
z=z+pi/6
"while" makes alot more sense than using range
i still don't know if its the most efficient way
to do it this is day two with python, im pushing 30hrs
straight lots of coffee and ciggarettes!
So far I really like python...alot. it's
This is from a tutorial
"EXERCISE 3.9
Use the math library to write a program to print out
the sin and cos of numbers from 0 to 2pi in intervals
of pi/6. You will need to use the range() function."
Range won't let me use pi/6 as an incremator
is there some other way i can accomplish this task