Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Load PhaseData.csv into your script. Row 1 is the experimental temperature data (x-axis values) and Row 2 is the pH data (y-axis values). Using

 

Load PhaseData.csv into your script. Row 1 is the experimental temperature data (x-axis values) and Row 2 is the pH data (y-axis values). Using this data, determine the coefficients to create a power curve. This power curve is connected to a horizontal line and a vertical line to create the phase diagram as shown below (Task 1 Sample Output). Determine the intersection point where the power curve meets pH of 6.5 (the intersection of the power curve and the horizontal line) and determine the pH value when the temperature is 30C (the intersection of the power curve and the vertical line). You can assume that the intersection points occur between 22C and 34C. Output the equation for the power curve and the two intersection points to the command window (see sample output below). Plot all lines as solid and black to create the phase diagram using the following guidelines: a horizontal line at pH=6.5 that goes from 22C to where the power curve equals pH of 6.5 a vertical line that goes from pH of 8 to where it meets the power curve a power curve between the intersection points of the power curve with the vertical and horizontal lines Axis range can be hard coded - pH from 6 to 8 and temperature from 22C to 34C Determine the percent area of the IDEAL and UNSAFE regions. Consider the total area to be the area defined by the axis ranges (pH from 6 to 8 and temperature from 22C to 34C). Output the area of the IDEAL and UNSAFE regions as a percent (0-100) to the command window (see sample output below). Task 1 Sample Output (Command Window and Plot) Command Window The power regression found using the experimental data is: pH = 401.62*Temperaure^(-1.19). The intersection with the horizontal line at ph 6.5 occurs at 32.19 degrees Celsius. The intersection with the vertical line at 30 degrees Celsius occurs at a pH of 7.07. Percent Area of IDEAL: 52.51 fx Percent Area of UNSAFE: 47.49>> NOTE: your code should be flexible for different regression data. Additional labels on plot are NOT required. Shown in output for your reference. 7.8 76 74 72 4.8 84 42 27 24 Tadpole Safety Phase Diagram IDEAL UNGATE 20 20 Temperature (degro Cu 30 UNSAFE 32 34

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

College Physics

Authors: Jerry D. Wilson, Anthony J. Buffa, Bo Lou

7th edition

9780321571113, 321601831, 978-0321601834

More Books

Students also viewed these Databases questions

Question

Show enthusiasm for the position (but not too much).

Answered: 1 week ago

Question

L A -r- P[N]

Answered: 1 week ago