Question: present a numerical solution using Python and Jupyter Notebook. Please also include a graph. You can use scipy. this is the solution. the only thing
present a numerical solution using Python and Jupyter Notebook. Please also include a graph. You can use scipy.


this is the solution. the only thing i want is the code using python and jupyter notebook with a plugin scipy.
Example 5. Upstream/Downstream problem. It takes 3 hours for a boat to travel 27 miles upstream. The same boat can travel 30 miles downstream in 2 hours. Find the speeds of the boat and the current. Example 5. Upstream/Downstream problem. It takes 3 hours for a boat to travel 27 miles upstream. The same boat can travel 30 miles downstream in 2 hours. Find the speeds of the boat and the current. Solution. Let x be the speed of the boat (without a current). Let y be the speed of the current. The student might review the meanings of "upstream" and "downstream," Lesson 25. We saw there that speed, or velocity, is distance divided by time: V = d t Therefore, according to the problem: Upstream speed Upstream distance Upstream time 27 = 9 3 30 2 = 15 Downstream distance Downstream speed = Downstream time Here are the equations: 1) Upstream speed: x - y = 9 2) Downstream speed: x + y = 15 Enjoy! (The solutions are: x = 12 mph, y = 3 mph.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
