cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

need help writing a program using for loops

JacobTeunissen
1-Visitor

need help writing a program using for loops

Here's the question, write a computer program that can be used to determine the agnitude and direction of the resultant of n coplaner ofrces applied at a point. What I have now is that Fn.x=Fn cos(theta n) and Fn.y=Fn sin(theta n). I understand the concept of what I need to do, I just don't know how to do it. I want to understand it so if anyone answers please explain whats going on if you can. I want to learn, not just get it done. thanks.

ACCEPTED SOLUTION

Accepted Solutions

For loops?

We don't need no stinking For Loops!!

View solution in original post

5 REPLIES 5

For loops?

We don't need no stinking For Loops!!

Thank you very much in taking your time to help a very perplexed college student out.

Further to Fred's example I have added a few alternatives, including a For Loop example.

Mike

We don't need no stinking For Loops!!

Stinking For Loops Fred????

Mike

As Fred indicates the solution can be obtained without Foor Lops, but if your trying to learn how to use For Loops, please provide a worksheet of exactly what your trying to achieve..

Mike

Announcements

Top Tags