%Exercise 4 - Bisection Method
%Matt Melbye
%ME-300
%Call function from exercise 5.15 in the unit textbook
%Fuction being evaluated is titled "Homework_1_Exercise_4"
%Input 0 in as the left endpoint, a
%Input 2 in as the right endpoint, b
False_Position(H
%Exercise 3
%User inputs an initial value, final value, increment value, a, and b
%and the script outputs three columns representing x, y, and z, where
%y and z are given equations. The script also creates a text file with
%labeled x, y, and z columns, ea
%Exercise 4
%Using two functions within a script to plot a graph
plotcommandtrial
please enter starting value for the interval0
InitialVal =
0
please enter stopping value for the interval2*pi
FinalVal =
6.2832
please enter incremental value for the interv
%Exercise 4 - Bisection Method
%Matt Melbye
%ME-300
%Call function from exercise 5.15 in the unit textbook
%Fuction being evaluated is titled "Homework_1_Exercise_4"
%Input 0 in as the left endpoint, a
%Input 2 in as the right endpoint, b
Bisection(Homewo
%Exercise 5 - for loop
% Exercise 5 Description: Prompt the user to input matrices A and B
% Indicate whether or not the multiplication A*B is possible
% If so, compute the product w/o using MATLAB's inbuilt A*B function
% Display two columns of product m
function [c, e, fc] = False_Position(call_function, a, b)
%Matt Melbye
%ME-300: Model and Numerical Analysis
%False Position Method used to find the roots of called function
%Input
- call_function is the function being evaluated
%
- a and b are the specif
%Matt Melbye
%ME 300 - Vyas
%
%Purpose: Prompt the user to input a Matrix A and Matrix B
%Indicate whether the multiplication A*B is possible or not
%If multiplication is possible, display the resultant Matrix
clear all;
r1 = input('Enter in the desired n
%Exercise 2
%Prompts the user to enter in Matrix A
%whether or not the multiplication A*B
'e displayed
Homework_0_Exercise_2
Enter in the desired number of rows in
Enter in the desired number of columns
and Matrix B. Script should indicate
is possible. If
% Matt Melbye
% ME 300: Model and Numerical Analysis
% Exercise 5 Description: Prompt the user to input matrices A and B
% Indicate whether or not the multiplication A*B is possible
% If so, compute the product w/o using MATLAB's inbuilt A*B function
% Di
Hw Set 7B
Prepared by Nada Ismail
Problem 1
z
y
Below
Desired
Above
200
216.2547
250
Y
y
2855.8
2890
2961
0.475285
0.475285
Problem 2
P=
T=
v=
Acs=
R=
Tcr =
Pcr =
15000 kPa
183 K
0.00317 m^3/kg
0.000113 m^2
0.2598 kPa*m^3/(kg*K)
154.8 K
5080 kPa
velocity
P. 4-89 Van der Waals EOS Solution
Prepared by Dr. C. S. Tritt; Last revised 9/26/12
Note: Use Solver to make cell E18 zero by adjusting cell B8.
P=
T=
v=
900 kPa
343.2 K
0.03107 m^3/kg
R=
Tcr =
Pcr =
0.08149 kPa*m^3/(kg*K)
374.2 K
4059 kPa
a=
b=
(calcula
Dealing with Units and Constants in EES (Handout version 5.2)
Prepared by C. S. Tritt, Ph.D.
September 10, 2012
EES variables can have units associated with them. Using these associated units, EES can
check equations for dimensional consistency and approp
A Simple Introduction to EES (Handout version 5.4)
Copyright C. S. Tritt, Ph.D.
September 10, 2012
EES is designed for solution of engineering problems involving multiple equations and
unknowns. It includes thermophysical properties for common substances
Chap. N - Title, Part
10/7/2012
BE-3500 Open Systems,
Part 2 (v. 1.0)
C. S. Tritt, Ph.D.
October 7, 2012
With some slides from
Dr. J. A. LaMack
My Approach
Identify process as open and steadystate.
Typically write the 1st Law as:
V 2
&
&
Qin Wout = m h +
EES Intro. - BE-3500
9/3/2012
BE-3500 Introduction to
EES (v. 1.3)
C. S. Tritt, Ph.D.
September 3, 2012
Engineering Equation Solver
Engineering Equation Solver (EES)
is a software package that
numerically solves systems of
algebraic equations.
Has great f
Gas-Vapor Mixtures and Air-Conditioning
1
Gas and vapor Mixtures
Thermodynamics II Section 3 Class 2006/2
Exercises No.
3/1
Chapter
Gas and vapor Mixtures
Topic
14-1 to 14-5
Start Date
27/11/2006
Exchange Date
4/12/2006
Submit Date
11/12/2006
Ex.no. 8, 9,
RV Example Problem Solution (v. 1.0)
Modified by Dr. C. S. Tritt; 12/7/12
th
15-30 (15-97 in 4 ed) The water needs of a recreational vehicle (RV) are to be met by installing a cylindrical tank
on top of the vehicle. The additional power requirements of th
BE-3510/3910 Pump and Fans Presentation Outline and Handout (1.1)
Prepared by Dr. C. S. Tritt, 11/28/12
Pump Curves and Operating Points
A pump curve is the relationship between differential pressure and flow produced for a given pump. The
endpoints of a
Juster, GLY5932
Reduced pressure: If density is constant the Navier-Stokes equations can be simplified somewhat. We can
rearrange the equation of hydrostatics as
0 = gk Ps
where the subscript s on P means that the pressure is hydrostatic. We then subtract
Homework Set 3 Vorticity & Continuity (v. 1.1) Solution (v. 0.9)
BE-3510, Dr. C. S. Tritt, Winter '12-'13
1. Show that the two naturally cylindrical velocity fields given near the end of the fluid
kinematics slide deck (solid-body rotation, ur = 0, u = r
Homework Set 3 Vorticity & Continuity (v. 1.1) Solution (v. 1.0)
BE-3510, Dr. C. S. Tritt, Winter '12-'13
1. Show that the two naturally cylindrical velocity fields given near the end of the fluid
kinematics slide deck (solid-body rotation, ur = 0, u = r
Special RBC Sedimentation Problem part of Homework Set 2
BE-3510, Dr. C. S. Tritt, Winter '12-'13
Estimate the sedimentation rates (terminal velocities) of human red blood cells (RBC) in
dispersed in normal saline and in a 10,000 g field. Use the properti
Blood Cell Sedimentation Problem Solution
Prepared by Dr. C. S. Tritt
Last revised 12/17/12 (v. 1.0)
Cell Properties -D=
t=
rho =
Units
Comments
9.00E-06 m
2.00E-06 m
1098 kg/m^3
Saline Properties -mu =
rho =
8.91E-04 kg/(m*s)
997 kg/m^3
Other values & re