Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A while ago I was asked to review a paper about water infiltration into a variably saturated soil. In this paper, the authors propose propose

A while ago I was asked to review a paper about water infiltration into a variably saturated soil. In this paper, the authors propose propose a direct solution of the infamous infilltration
Equation of Green and Ampt (1911). They approximate the cumulative vertical infilltration, I0(centimeter), into an unsaturated soil as follows
I(t)=K0t(0.70635+0.324151+9.43456(S2K02)2)
where K0(cm/day) is the hydraulic conductivity of the wetted (transmission) zone, S(cm/day ?12) denotes the sorptivity of the soil and t(day) signifies time. The infillration rate, i(cm/day),
may be calculated using
i(t)=K0(1+S22K0I(t))
Write a function, GAapprox, which has three input arguments, K0, S and t, and two output arguments, I (= cumulative infiltration) and i (= infiltration rate). Call this function from this
Live Script using K0=2cm? day, S=5cm? day ?12 and t= linspace (0,3,300)'. With these input arguments, the GAapprox function must create one figure window comprised of two
different graphs (next to each other, thus in layout of 1 row and 2 colums) of the I(t) and i(t) relationships. Add labels to the axes of the two graphs and a title.
The output arguments, I and i, of the function GAapprox.m are vectors of size 300 by 1. In your Live Script, print the value of element 150 of t,I and i and save the vectors, t,I and
i in a text-readable (-ascii) file, named GAoutput.txt.
Checklist: (1) function GAapprox.m,(2) graphs of I(t) and i(t),(3) labels and titles, (4) element 150 of t,I and i,(5) text-readable (-ascii) file GAoutput. txt (= not the file but the
save statement itself)
image text in transcribed

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

What is fair market value?

Answered: 1 week ago