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

need help writing a program using for loops

SOLVED
Highlighted

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: need help writing a program using for loops

For loops?

We don't need no stinking For Loops!!

5 REPLIES 5

Re: need help writing a program using for loops

For loops?

We don't need no stinking For Loops!!

Re: need help writing a program using for loops

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

Re: need help writing a program using for loops

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

Re: need help writing a program using for loops

We don't need no stinking For Loops!!

Stinking For Loops Fred????

Mike

Re: need help writing a program using for loops

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

Mike