% The Newton-Raphson method for solving equations of the form f(x)=0.
% We use the central difference approximation of the derivative by calling
% the function central_diff.m.
% -% INPUT: Anonymous function f, and the first guess at a solution, x0.
% e_di
Answer for question 4a
Base on the MFile Function written the user will be prompted to enter the velocity and diameter
given in the question.
function [h] = Question4( v,d )% Function to compute heat transfer coefficient
v=input('velocity =')
d=input('dia
April Henry
Modeling Simulation # 500518364
Site Description
The Project Site is a former fire training facility, approximately 1.6 ha in size located on the
property of Hamilton International Airport (HIA) at 9800 Airport Road, Hamilton, Ontario. The
Fir
Answer for question 4b
subplot(2,2,1), plot(d,h1,'r')
title('Heat Transfer coefficient versus Diameter ')
xlabel('diameter(d),m')
ylabel('heat coefficient,h')
legend('velocity at 0.1m/s')
subplot(2,2,2), plot(d,h2,'p')
title('Heat Transfer coefficient ver
April Henry
Id# 500518364
Environmental Applied Science and Management
Soil Remediation- ES8908
Assignment 4
Problem 1a
Given
10 g/L
?
16 g/L
Converting from g/L to g/m3 multiply by 1000
16 g/L
160 g/m3
Problem 1b
The calculated soil vapour concentration
Design of sanitary sewers
Sewer configuration & components
System layout
Hydraulic design
Quality Parameters
Microbiological quality
Chemical quality
Major pollution parameters
Sanitary Sewer Components
House and building connections
2% grade, and min 6 (
% The Newton-Raphson method for solving equations of the form f(x)=0.
% We use the central difference approximation of the derivative by calling
% the function central_diff.m.
% -% INPUT: Anonymous function f, and the first guess at a solution, x0.
% e_di
April S. Henry
Modelling and Simulation CE-8701
500518364
Method 2: Using Matlab Built in function ode45
Defining Function
function dxdt=DE2(t,x)
% Computes Derivatives of Each Equation
dxdt=[x(2);1.5*(-x(1)+exp(3*t)^0.5)];
% Solution of Second order ODE
Velocity =100m/s
The MFile function changes for velocity of 100m/s as the Reynolds number is
out of range, because of this it was assumed that for Reynolds greater than
400000 c and m would be 0.027 and 0.805 respectively.(Re range for
40,000-400,000) as