1. ( Repeat until ) Since the until condition will still be false , it will go back up and repeats itself.
1. I think it will re execute the sum =0 , i = 1 , so i should put those two at the top and the while <>i after
Homework Statement
1.Rewrite this algorithm using a repeat until loop and then with a while loop.[/B]
Start
sum=0
Display "Input value n"
Input n
FOR( i=1 , i <=n , i+1 )
Input a value
sum=sum+value
ENDFOR
Output sum
Stop
I have some doubts if i have done the...
well for v and a i got the correct answer by using the cos equation
then when you derive the equation one should be cos and the other sin , for the v and a right?
and thd minus sign is it necessary to put??
Its still not clear in my head :( Can you give me an example of how to write position as a function of time and where to take the max speed ?
I am still trying to do the part (a) , when i finish i will do the remaining parts
Homework Statement
A particle moves with simple harmonic motion in a straight line with amplitude 0.05 m and the period 12 s.Find (a) the maximum speed , (b) the maximum acceleration of the particle.Write down the values of the constants P and Q in the equation
x/m = P sin [Q)(t/s)]
Homework...