Calculating velocity given theta[SOLVED]

Started by
0 comments, last by bzroom 14 years, 5 months ago
How do you calculate the z velocity given a theta and initial velocity. Is it possible or will it be some constant, I assume?

string theta = "45.0 degrees";
string initialVelocity = "10 m/s";
string velcoityInZ;
string velocityInY;
string velcotyInX;
I know how to calculate it in X and Y but I think in Z it would be constant. Just making sure if this assumption is correct? [Edited by - Concentrate on November 8, 2009 11:42:43 AM]
Edge cases will show your design flaws in your code!
Visit my site
Visit my FaceBook
Visit my github
Advertisement
Your assumption is correct. If there is only one angle given, then the output will lie in a single plane. It sounds like you've chosen the xy plane and therefore yes, z will be constant.

This topic is closed to new replies.

Advertisement