Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 14 Online
OpenStudy (anonymous):

Working on Problem Set 6; the supplied answer uses integers for position and speed even though specifications state that we should use floats. Am I missing something?

OpenStudy (anonymous):

You will ultimately get floats when applying the trig functions to the angles. Speed can be an integer representing the magnitude aspect of the vector.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!