Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Day1 Day2 Day3 Day4 Day5 Day6 Day7 Day8 Day9 Day10 2.2014253e+00 1.6211191e+00 2.3592177e+00 1.8933344e+00 1.6655819e+00 2.1307944e+00 2.2580278e+00 2.4778232e+00 5.0104475e-01 2.2308772e+00 1.7251329e+00 2.4799004e+00 1.5553601e+00 1.4590468e+00 2.1026952e+00

image text in transcribed

Day1 Day2 Day3 Day4 Day5 Day6 Day7 Day8 Day9 Day10 2.2014253e+00 1.6211191e+00 2.3592177e+00 1.8933344e+00 1.6655819e+00 2.1307944e+00 2.2580278e+00 2.4778232e+00 5.0104475e-01 2.2308772e+00 1.7251329e+00 2.4799004e+00 1.5553601e+00 1.4590468e+00 2.1026952e+00 9.5568587e-01 1.4961886e+00 2.3017050e+00 1.6493224e+00 2.1903564e+00 1.9772806e+00 1.6719741e+00 9.9346905e-01 1.8328324e+00 6.6696563e-01 1.7519196e+00 1.8218891e+00 1.9595037e+00 2.2815042e+00 2.4646064e+00 2.0380582e+00 1.6628930e+00 2.3566261e+00 1.6601807e+00 5.3396588e-01 7.4171914e-01 2.2254214e+00 1.4685930e+00 2.1897113e+00 9.1881017e-01 1.6045827e+00 1.7597668e+00 5.6398203e-01 1.7294268e+00 1.2248229e+00 5.9906516e-01 1.4791400e+00 8.8502079e-01 7.4616750e-01 9.1098834e-01 7.9302982e-01 8.7814435e-01 5.8530482e-01 1.7703958e+00 1.0637337e+00 1.5771934e+00 1.8903261e+00 1.4982320e+00 1.5716021e+00 1.3903663e+00 7.4786456e-01 1.4807146e+00 2.2059963e+00 2.2478548e+00 1.0405887e+00 9.1692272e-01 1.6299591e+00 1.7806237e+00 1.3340579e+00 9.1195103e-01 2.3958662e+00 6.6414241e-01 7.1141885e-01 7.8408224e-01 8.3292088e-01 1.7419173e+00 1.6474195e+00 6.0415578e-01 2.3624028e+00 1.9573234e+00 1.9756833e+00 6.2680900e-01 2.2208811e+00 2.3688102e+00 2.4687966e+00 2.2178776e+00 2.0711180e+00 1.5267548e+00 8.5520492e-01 1.2971790e+00 7.6786250e-01 5.6177910e-01 2.3782834e+00 1.1026121e+00 1.0910677e+00 1.1658726e+00 1.4341364e+00 1.7963968e+00 5.5045636e-01 2.1844132e+00 1.6180651e+00 2.2081999e+00 1.1957584e+00 1.3920533e+00 6.0847897e-01 8.5421507e-01 1.8256161e+00 1.1616580e+00 2.2969723e+00 7.3631040e-01 2.4768359e+00 1.5799642e+00 1.9138348e+00 2.4989832e+00 1.0756987e+00 1.3290451e+00 1.4296799e+00 2.0279142e+00 2.1364081e+00 7.0044308e-01 8.5623391e-01 1.2192698e+00 6.1340938e-01 1.5437713e+00 1.1716979e+00 8.5133806e-01 9.1789335e-01 2.3103071e+00 1.8507824e+00 1.4369364e+00 2.3242649e+00 7.0802315e-01 1.9910921e+00 1.9725349e+00 1.6237229e+00 8.6838820e-01 1.6944227e+00 1.0998740e+00 7.6824587e-01 9.2520307e-01 2.2898834e+00 6.4290563e-01 9.8497312e-01 6.0750878e-01 1.3834441e+00 5.2656640e-01 2.2943827e+00 8.9331638e-01 6.8674103e-01 1.1147338e+00

This is the code you should copy and paste into notepad to make a .txt file called ChemConc.txt. Please do this in Matlab and please take screenshots of code or script as well as the output. Thanks in advance.

Question 21) A certain factory along Cancer Alley releases an amount, A, of a pollutant into the Mississippi River. The max concentration, C(M), of the pollutant at distance X is: 2 C The EPA is pushing to keep the concentration of the chemical below a safe limit of 1.2 mm. Nanofiber filters must be used to filter the discharge if the concentration exceeds this threshold. Therefore, the amount, A (mg/m3), of the chemical is measured over 15 hours of daily operation of the plant at a distance of 1000 m from the plant over a 10-day period. The resulting data is provided below and is stored in a ChemConc.txt file. The first row in the file contains the days (string type) and each of the rows 2 through 16 contain 15 data points (double type) that represent measured concentrations each day. a) Read this data provided into your script using the textscan function. Make sure the file opens and closes successfully and display relevant messages on the screen. b) Now, working with the cell array containing the data, calculate the concentration of the pollutant at X for every measured value of A. c) Find the maximum concentration of each day. d) Plot the maximum concentrations with blue open circles and label the graph. In addition, using programming, create a red dashed line at 1.2 mM in the graph to help visually detect whether maximum concentration on any day has exceeded the threshold value. Dwi Daylo 2.2305772 2. 1903554-00 1.9772506. 2.0380582 1 65827 7.932982-1 7.4786455-01 23955662e-00 1.9756833e-ee 7.678625001 1.618065.00 2.476859 8.5623391-01 2.3242649.00 Day2 1.62111910 2.479e+ 1.6719741e 1.662893 1759766 8.7814435e- 1.4307146.00 6.6414241e-01 6.2680-1 5.6177912-1 2.288.999.00 1.5799642.00 1.2192698.00 7.e3e2315-01 6.429056301 Days 2.3592177-00 1.5553601e-ee 9.9346905-01 2.3566261e.ee 5.6998203e. 5.8530482e-e1 2.2859963-00 7.1141885e-1 2.228881le.ee 2.3782834e.ee 1.1957584.00 1.9138348e-ee 6.1340938e-es 1.9910921e.00 9.8497312e-e: Day 4 Days 1.89333440-20 1.6655819-00 1.4598468-20 2.1626952 1.8328324.ee 6.6696563.01 1.5601807-20 5.3996588-01 1.7294268e-ee 1.2248229 1.7783958-20 1.8637337.00 2.2478545-20 1.8405887.00 7.8488224e-21 8.3292085-21 2.3688102e-ee 2.4687956-00 1.1026121 1.2916677.00 1.3920533e-ee 6.8847897e-01 2.4989832 1.8756987-00 1.5497713-20 1.1716979-00 1.9725349.00 1.6237229-00 6.0750878-21 1.38344416+ Day6 2.13079-44-00 9.5568587e-1 1.7519176.00 7.4171914e-01 5.9906516-02 1.5771934e00 9.16922720-21 1.7419173.00 2.217377600 1.1658726.00 8.5421507-03 1.3293451e+ 8.5133806-01 8.6838828-01 5.26566404-01 Day? 2.2580278e- 1.4951886- 1.8218891.00 2.2254224e-60 1.4791400e.ee 1.8903261e-00 1.6299591+00 1.6474195e-20 2.071118-ee 1.431364e-20 1.8256161.00 1.4296799.00 9.1789335e-21 1.6944227-00 2.29438274.00 Days 2.4778232.00 2.3017050.00 1.9595037-00 1.4685930-00 8.8582879-01 1.4982320-00 1.7806237e+00 6.8415578e-01 1.5267548.00 1.7963968:00 1.16165802 2.0279142e+ 2.3103071e.00 1.099874e-ee 8.9331638-01 Days 5.0104475-01 1.6493224.00 2.2815042-00 2.1897113.00 7.4616750-01 1.5716e21.00 1.3340579e+ 2.36240280.00 8.552e492e-01 5.5045636e-01 2.2969723.00 2.1364081.00 1.8507824 7.6824587-01 6.8674103-21 9.1881017-01 9.1998-8342-01 1.3903663 9.2195103-01 1.9573234 1.29717 2.1844132 7.363104-1 7.6044305-01 1.436936 9.2520307-01 1.11473350 Question 21) A certain factory along Cancer Alley releases an amount, A, of a pollutant into the Mississippi River. The max concentration, C(M), of the pollutant at distance X is: 2 C The EPA is pushing to keep the concentration of the chemical below a safe limit of 1.2 mm. Nanofiber filters must be used to filter the discharge if the concentration exceeds this threshold. Therefore, the amount, A (mg/m3), of the chemical is measured over 15 hours of daily operation of the plant at a distance of 1000 m from the plant over a 10-day period. The resulting data is provided below and is stored in a ChemConc.txt file. The first row in the file contains the days (string type) and each of the rows 2 through 16 contain 15 data points (double type) that represent measured concentrations each day. a) Read this data provided into your script using the textscan function. Make sure the file opens and closes successfully and display relevant messages on the screen. b) Now, working with the cell array containing the data, calculate the concentration of the pollutant at X for every measured value of A. c) Find the maximum concentration of each day. d) Plot the maximum concentrations with blue open circles and label the graph. In addition, using programming, create a red dashed line at 1.2 mM in the graph to help visually detect whether maximum concentration on any day has exceeded the threshold value. Dwi Daylo 2.2305772 2. 1903554-00 1.9772506. 2.0380582 1 65827 7.932982-1 7.4786455-01 23955662e-00 1.9756833e-ee 7.678625001 1.618065.00 2.476859 8.5623391-01 2.3242649.00 Day2 1.62111910 2.479e+ 1.6719741e 1.662893 1759766 8.7814435e- 1.4307146.00 6.6414241e-01 6.2680-1 5.6177912-1 2.288.999.00 1.5799642.00 1.2192698.00 7.e3e2315-01 6.429056301 Days 2.3592177-00 1.5553601e-ee 9.9346905-01 2.3566261e.ee 5.6998203e. 5.8530482e-e1 2.2859963-00 7.1141885e-1 2.228881le.ee 2.3782834e.ee 1.1957584.00 1.9138348e-ee 6.1340938e-es 1.9910921e.00 9.8497312e-e: Day 4 Days 1.89333440-20 1.6655819-00 1.4598468-20 2.1626952 1.8328324.ee 6.6696563.01 1.5601807-20 5.3996588-01 1.7294268e-ee 1.2248229 1.7783958-20 1.8637337.00 2.2478545-20 1.8405887.00 7.8488224e-21 8.3292085-21 2.3688102e-ee 2.4687956-00 1.1026121 1.2916677.00 1.3920533e-ee 6.8847897e-01 2.4989832 1.8756987-00 1.5497713-20 1.1716979-00 1.9725349.00 1.6237229-00 6.0750878-21 1.38344416+ Day6 2.13079-44-00 9.5568587e-1 1.7519176.00 7.4171914e-01 5.9906516-02 1.5771934e00 9.16922720-21 1.7419173.00 2.217377600 1.1658726.00 8.5421507-03 1.3293451e+ 8.5133806-01 8.6838828-01 5.26566404-01 Day? 2.2580278e- 1.4951886- 1.8218891.00 2.2254224e-60 1.4791400e.ee 1.8903261e-00 1.6299591+00 1.6474195e-20 2.071118-ee 1.431364e-20 1.8256161.00 1.4296799.00 9.1789335e-21 1.6944227-00 2.29438274.00 Days 2.4778232.00 2.3017050.00 1.9595037-00 1.4685930-00 8.8582879-01 1.4982320-00 1.7806237e+00 6.8415578e-01 1.5267548.00 1.7963968:00 1.16165802 2.0279142e+ 2.3103071e.00 1.099874e-ee 8.9331638-01 Days 5.0104475-01 1.6493224.00 2.2815042-00 2.1897113.00 7.4616750-01 1.5716e21.00 1.3340579e+ 2.36240280.00 8.552e492e-01 5.5045636e-01 2.2969723.00 2.1364081.00 1.8507824 7.6824587-01 6.8674103-21 9.1881017-01 9.1998-8342-01 1.3903663 9.2195103-01 1.9573234 1.29717 2.1844132 7.363104-1 7.6044305-01 1.436936 9.2520307-01 1.11473350

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

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions