Answered step by step
Verified Expert Solution
Link Copied!

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.

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

Systems Analysis And Synthesis Bridging Computer Science And Information Technology

Authors: Barry Dwyer

1st Edition

0128054492, 9780128054499

More Books

Students also viewed these Databases questions

Question

Explain the jurisdictional limitations of the federal courts.

Answered: 1 week ago