Question: The goal is to write a Python script that calls the Bisection method from Lecture 2 to determine the evolution of the pH in the

The goal is to write a Python script that calls the Bisection method from Lecture 2 to determine the evolution of the pH in the rainwater (pH = log10[H+]) for each year from 1958 to 2008. Please insert comment on every line to explain what your script does.
1. Create a new Jupyter notebook, define the constants K1=106.3, K2=1010.3, Kw =1014 and KH =101.46 and plot function [CO2(g)] as a function of time (i.e., for each year from 1958 to 2008).
2. Add a new part to your Python script in the following way: Define function f(x) for the year 1958, i.e., t =1958, and plot it in the interval [0,105].

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!