Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A block of mass m slides along a horizontal surface lubricated with a thick oil which provides a drag force proportional to u2/3, given by
A block of mass m slides along a horizontal surface lubricated with a thick oil which provides a drag force proportional to u2/3, given by 1/3 (Note that this is proportional to u2/3, because v can be written as a magnitude times the unit vector v. and thus Farag x v2/3) (a) Use a system of units such that /m = 1, and write a C++ code using the Euler algorithm where the user inputs an initial velocity vo, and determine v and x as a function of time. Are there any points or values of the time step where you see everything break down? Do you ever see any unreasonable results? (b) Determine the maximum distance the block can slide for initial velocities (in this odd system of units) of 1, 2, 3, 5, and 10. For each vo, use time steps = 0.1 and = 0.01. and compare the maximum distances. Use the difference in the results for the two time steps as vour "error A block of mass m slides along a horizontal surface lubricated with a thick oil which provides a drag force proportional to u2/3, given by 1/3 (Note that this is proportional to u2/3, because v can be written as a magnitude times the unit vector v. and thus Farag x v2/3) (a) Use a system of units such that /m = 1, and write a C++ code using the Euler algorithm where the user inputs an initial velocity vo, and determine v and x as a function of time. Are there any points or values of the time step where you see everything break down? Do you ever see any unreasonable results? (b) Determine the maximum distance the block can slide for initial velocities (in this odd system of units) of 1, 2, 3, 5, and 10. For each vo, use time steps = 0.1 and = 0.01. and compare the maximum distances. Use the difference in the results for the two time steps as vour "error
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started