Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Discuss the various steps involved in the process of planning

Answered: 1 week ago

Question

What are the challenges associated with tunneling in urban areas?

Answered: 1 week ago

Question

What are the main differences between rigid and flexible pavements?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago