Computer Science Homework Help

UTA Reverse Speed in Current Frame Worksheet

 

I’m working on a computer science exercise and need a sample draft to help me learn.

Acceleration should be change in velocity over time

So for the first problem, speed should increase in the y position by 1. Like first frame should be (0,1) then 2nd frame should be (0,2) and so on.

Then you can get the position with the speed.

In the instruction order for each frame it says: if bounce, reverse speed in the current frame

So yea, make the speed negative and the position should count backwards.