Tuesday, October 6, 2015

Home Work 9

I really do wish there was a way to upload the code directly to blogger instead of screen printing each piece form the script window
these are questions 1-3 all simple though I had to do some tweaking with 2 to make sure the mtimes function worked. I also threw in a while loop to explain the out come of the experiment for shiggles. For 3 I also did a if statement to show the user the answer top each matrix question.

and this is question 4 with 3 at the top again. pretty much the exact same as the lecture example just with 2 position matrixes and a repeating force vector since the force never changes despite the position.

No comments:

Post a Comment