This preview shows page 1. Sign up to view the full content.
Unformatted text preview: and the tangential velocity is damped by a factor . 1. Write a code to simulate the problem above. You should use a RK2 or RK4 scheme with t = . 03 to solve (1). Set the size of the closed container to be [0 , 1] [0 , 1], an initial velocity of v = ( . 3 , 0) m.s-1 , the ball radius r = . 05 m , the initial location of the ball at ( x,y ) = ( . 5 , 1-r ) m , = . 8, = . 99 and g = . 0981 m.s-2 (Thats right, lets be on another planet! After all this is simulation.). What to turn in: your codes as well as a movie of the animation should be sent to your TA. 1...
View Full Document
This note was uploaded on 12/29/2011 for the course CS 111 taught by Professor Staff during the Fall '08 term at UCSB.
- Fall '08