Chapter 3 (Cont.)
3.10 Propagation of Uncertainty
Often several quantities are measured, and the results of those measurements are used
to calculate a desired result. For example, experimental values of density are usually
determined by dividing the measu

University of Bahrain
Department of Mechanical Engineering
MENG 380 Optimization
Problem 3 Page 6 Optimization hand out
clear all
x=-.5:.1:.8;
y=-.5:.1:.8;
[X Y]=meshgrid(x,y);
f=X.^3+Y.^3-2*(X.^2+Y.^2)+3*X.*Y;
figure;
surfc(X,Y,f);grid;
xlabel('x');
ylab

Department of Mechanical Engineering
University of Bahrain
MENG 380 Computer Applications in Mechanical Engineering
Functions-Some built in and User Defined Functions
Integration
Examples on use of quadl and trapz(integration of FUNCTIONs);
A quadl
%Examp

epartment of Mechanical Engineering
University of Bahrain
MENG 380 Computer Applications in Mechanical Engineering
Statics
A Planar Force Equilibrium
Problems in statics are presented on the following common
topics: forces on a particle, rigid bodies and

MENG Computer Applications in Mechanical
Engineering
Numerical Solution of ODE
1 Solving First Order Equations
With ODE23 and ODE45
To solve an ODE numerically, first define a function that can be used to represent the equation.
For our first example, we

Computer Applications in
Mechanical Engineering
MENG 380
Statistics Review and
Linear Regression
By: Dr. Muhammad
Statistics Review
Measure of Location:
Mean: Arithmetic Mean
y
y
i
n
Median: Midpoint of a group of Data
It calculated by first sorting the d

epartment of Mechanical Engineering
University of Bahrain
MENG 380 Computer Applications in Mechanical Engineering
Functions-Some built in and User Defined Functions
Zeros of Equations
A zeros of polynomials
%Examples:
1 Determine the roots of the polynom

General and Nonlinear
Regression
The general linear least-squares model is given by:
y a0 zo a1 z1 a2 z 2 am z m
where zs are the basis functions. For multiple linear regression,
the zs are taken as independent variables.
Example 1:
Fit the following data

UniversityofBahrain
CollegeofEngineering
DepartmentofMechanicalEngineering
ComputerApplicationsinMechanicalEngineering
MENG380
Applications:Statics
Q.1
Write a generalized MATLAB script to find the perpendicular distance between the line of a force
F 6i 1

SOLUTIONS TO SELECTED PROBLEMS
Student: You should work the problem completely before referring to the solution.
CHAPTER 19
Solutions included for problems: 2, 5, 8, 11, 14, 17, and 20
19.2 Needed or assumed information to be able to calculate an expected

Department of Mechanical Engineering
University of Bahrain
MENG 380 Simulink Problems
Question 1
.Plot and determine the maximum displacement
Question 2

Department of Mechanical Engineering
University of Bahrain
MENG 380 Computer Applications in Mechanical Engineering
Data Presentation
1 Data Anaysis
An Example of Sampling
During a 12-hour test of a steam generator, the inlet pressure is to be held consta

Chapter 3
Assessing and Presenting Experimental Data
Common Types of Errors:
Error is defined as the difference between the measured quantity xm and the true
value xtrue :
Error = x m x true
When designing an experiment, our prime objective is to minimize

Sangarreo,Tinch
8/23/16
1.
Behaviorism-The person driving may have seen 2-3 other drivers failing to stop at a red light in the same
day driving home and seen other people's anger shown, decided to act the same way.
Psychoanalysis-The person driving may h

Optimization
I Mathematical Preliminaries:
Optimization of unconstrained functions
Consider the problem of determining the maximum and minimum values of a function f(x) of one
variable or a function f(x, y) of two variables or a function f(x1,x2,x3,xn) of

SOLUTIONS TO SELECTED PROBLEMS
Student: You should work the problem completely before referring to the solution.
CHAPTER 17
Solutions included for all or part of problems: 4, 6, 9, 12, 15, 18, 21, 24, 27, 29, 33, 36,
39, 42, 45, 48, 51, 54, 57, and 60
17.

SOLUTIONS TO SELECTED PROBLEMS
Student: You should work the problem completely before referring to the solution.
CHAPTER 18
Solutions included for problems: 1, 4, 7, 10, 13, 16, 19, 22, 25, 29, 31, and 34
18.1
10 tons/day: PW = 62,000 + 1500P/F,10%,8) 0.5

SOLUTIONS TO SELECTED PROBLEMS
Student: You should work the problem completely before referring to the solution.
CHAPTER 16
Solutions included for problems: 2, 4, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, and 43
16.2
Book depreciation is used on inte

SOLUTIONS TO SELECTED PROBLEMS Student: You should work the problem completely before referring to the solution.
CHAPTER 2
Solutions included for problems 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 49, 52, 55, 58, 61, 64, 67, 70, 73, 76,

SOLUTIONS TO SELECTED PROBLEMS Student: You should work the problem completely before referring to the solution.
CHAPTER 3
Solutions included for problems 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 49, 52, 55, 58, and 61 3.1 P = 100,000(

SOLUTIONS TO SELECTED PROBLEMS Student: You should work the problem completely before referring to the solution.
CHAPTER 1
Solutions included for problems 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, and 49 1.1 Time value of money means th

1
CHAPTER 11:
REPLACEMENT AND
RETENTION DECISIONS
LEARNING OUTCOMES
2
1.
Explain replacement terminology and
basics
2.
Determine economic service life (ESL)
3.
Perform replacement/retention study
4.
5.
Understand special situations in
replacement
Perform

1
RATE OF RETURN ANALYSIS
CHAPTER 7
LEARNING OUTCOMES
2
The purpose of this chapter is to enable you to
determine:
How to determine the rate of return using a present
worth PW or annual worth AW equation.
The difficulties of using ROR method.
How to deter

MENG 300 Engineering Economics
Chapter 12
Selec.on from Independent Projects Under
Budget Limita.on
Prepared by Ahmed Ali
Engineering Economy; Blank Leland and Tarquin Anthony, Seventh Edition, McGraw Hill, 2012
1
LEARNING OBJECTIVES
T