Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part B 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 B only please.
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(cStep 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