Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part C only please Problem 2 a) If we simplistically assume that the chemical spill's shape is a cylinder, write a function that calculates the

Part C only please

image text in transcribed

Problem 2 a) If we simplistically assume that the chemical spill's shape is a cylinder, write a function that calculates the volume of the spill (Hint: assume that the cumulative maxima of the coordinates define the edges of the spill for each time step). b) Assume that 25 kg spilled over 30 minutes at a constant rate, calculate the material concentration over 46 hours for a water depth of 18 m, a mixing coefficient of 1.15 mls, and wind speeds of 4.5 m/s. Use matplotlib to plot the time series of conentration after the first half hour. c) At what time in hours) would the safe concentration of 0.01 g/L be reached after the first half hour? # YOUR CODE HERE raise Not ImplementedError() np. random.seed (0) X, Y, Z = diffusion (46*3600, 1.0, 0.75, 5.0, 5.0, 20.0) assert_almost_equal(volume (x, y, z) (-1), 20772.44393423465) ]: # YOUR CODE HERE raise Not ImplementedError() # Answer (c) here # BEGIN CODE C = m(1800:] / v[1800:] np. where(c

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

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions