We might begin by asking: What is involved in
a request for capital
funds to finance a given project? Manifestly,
each such request must be
supported by data based on a forecast of
anticipated costs and revenues
over the productive life of the project. Th
Soon after the worn-out engine is replaced
with a new one, a second
of the four engines breaks down, and again
the profits of this facility can
be rescued at relatively small cost. The
process will be repeated when the
other engines must be replaced, when
rather cumbersome formula to work with, its
use has been facilitated by
the construction of financial tables so that it is
a relatively simple matter
to turn to the correct page of the tables and
read the desired answer. 9
Capital Recovery versus fay out.
Engineering 7: Introduction to computer
programming for scientists and engineers
Interpolation
Recap
Polynomial interpolation
Spline interpolation
(UC BERKELEY-COE)
ENGINEERING 7
Regression and Interpolation:
learning functions from data
(UC BERKELEY-COE)
1
E7: INTRODUCTION TO COMPUTER
PROGRAMMING FOR SCIENTISTS AND
ENGINEERS
2
Review of Ordinary Differential Equations (ODEs)
Many problems in science and engineering lead to
Ordinary Differential Equations (ODEs) of the form
dy(t)
= f (t, y)
dt
Lecture Outl
1
E7: INTRODUCTION TO COMPUTER
PROGRAMMING FOR SCIENTISTS AND
ENGINEERS
2
Linear equations in matrix form
Consider n LINEAR equations and m unknowns.
Lecture Outline
1. Least squares solution when
n = # equations > m = # of unknowns
2. Regression and cur
1
E7: INTRODUCTION TO COMPUTER
PROGRAMMING FOR SCIENTISTS AND
ENGINEERS
Consider n LINEAR equations and m unknowns.
n equations
Lecture:
2
Linear algebraic equations
Linear Algebraic Equations and
Least Squares Solution
1. Solutions of linear algebraic eq
1
E7: INTRODUCTION TO COMPUTER
PROGRAMMING FOR SCIENTISTS AND
ENGINEERS
Lecture:
Many engineering and science problems reduce to the
simultaneous solution of several linear algebraic
equations.
Matrix Algebra and
Linear Algebraic Equations
Some typical ex
Normal call to ode45
Events
[TSol,YSol] = ode45(fh,Tspan,Yinitial);
Solution interval is defined by Tspan ([initial time , final time ])
E7#Numerical#Solu/on#of#ODEs#
using#MATLAB#
Se;ng#up#Events#to#Interrupt#
Simula/ons#
Other questions
How do you stop
1
E7: INTRODUCTION TO COMPUTER
PROGRAMMING FOR SCIENTISTS AND
ENGINEERS
Lecture Outline
1. Polynomial functions
Copyright 2007-2013, Horowitz, Packard. This work is licensed under the Creative Commons AttributionShare Alike License. To view a copy of this
1. When executing the following piece of code, which line will generate an
error?
a
b
c
d
=
=
=
=
[2 3 4];
0.5*a;
d + b./a;
0.5*c;
%
%
%
%
Line
Line
Line
Line
1
2
3
4
(a) Line 1
(b) Line 2
(c) Line 3
(d) Line 4
(e) MATLAB will not return an error
Consider
Assigned: September 23
Fall 2016
Due: September 30
E7 Homework Assignment 4: Functions
The purpose of this lab is to introduce the concepts and syntax of writing functions in MATLAB.
Note: Use the template provided (HW4 Template.m) in the assignment downl
Assigned: Sept 9
Fall 2016
Due: Sept 16
E7 Homework Assignment 2: Arrays and
Relational Operators
The first part of this assignment will introduce you to one and two dimensional arrays in MATLAB.
The second part of the assignment will introduce you to rel
Assigned: Aug. 26
Fall 2016
Due: Sept. 2
E7 Homework Assignment 0: Autograder
Tutorial
The purpose of this lab is to introduce you to the MATLAB environment, the autograder, and the
logistics of generating your assignments and their respective scores whic
Assigned: September 30
Fall 2016
Due: October 7
E7 Homework Assignment 5: Cell and Struct
Arrays
The purpose of this lab is to introduce the concepts and syntax of writing functions in MATLAB.
Note: Use the template provided (HW5 Template.m) in the assign
E45: Properties of Materials
Homework 4
Fall 2016
Instructor: Lane W. Martin
Answer the following questions and provide as many details and as much work as possible to assure partial
credit. Recall that homeworks may be completed in groups of two students
E45: Properties of Materials
Homework 5
Fall 2016
Instructor: Lane W. Martin
Answer the following questions and provide as many details and as much work as possible to assure partial
credit. Recall that homeworks may be completed in groups of two students
E45: Properties of Materials
Homework 4
Fall 2016
Instructor: Lane W. Martin
Answer the following questions and provide as many details and as much work as possible to assure partial
credit. Recall that homeworks may be completed in groups of two students
E45: Properties of Materials
Homework 5
Fall 2016
Instructor: Lane W. Martin
Answer the following questions and provide as many details and as much work as possible to assure partial
credit. Recall that homeworks may be completed in groups of two students
E45: Properties of Materials
Homework 3
Fall 2015
Instructor: Lane W. Martin
Answer the following questions and provide as many details and as much work as possible to assure partial
credit. Recall that homeworks may be completed in groups of two students
E45: Properties of Materials
Homework 2
Fall 2016
Instructor: Lane W. Martin
Answer the following questions and provide as many details and as much work as possible to assure partial
credit. Recall that homeworks may be completed in groups of two students
E 45: Properties of Materials
Laboratory 0: Engineering Ethics
Instructor: Lane W. Martin
Laboratory 0:
Engineering Ethics
Objectives
1.
2.
3.
4.
To understand what is meant by ethics as it pertains to science and engineering.
To define ethics and ethics
A
Section views are
used to clarify internal
features of the part.
These two section
views show all internal
features.
B
Additional
orthographic views
would best clarify
external features, but
were not asked for.
B
Hidden lines are not
included in section
9/7/16
Appendix: The price of Risk
Risky vs. risk-free cash flows
Arbitrage with transactions costs
Table 3A.1 Cash flows and Market
Prices (in $) of a Risk-Free Bond and
an Investment in the Market
Portfolio
Risky Versus Risk-free Cash Flows
Assume t
Data Case 2
I used the data from Marketwatch instead of Morningstar. Therefore, a lot of the ratios may not
make sense to you. I have taken this into consideration when grading the data cases. There may
also be mistakes in the solution, you are welcome to
8/29/16
Eng. 120
Engineering Economics
Today
Key Topics
Ch.1
Finish ch.1 and start ch.2
Assignments:
Online problem set (MFL) due weds.
No data lab (bcourses) due this week.
control of corporations
the stock market
Ch.2
Financial statements
Rem
9/19/16
Eng. 120
Engineering Economics
Today
Finish up: Retirement (and some investing.)
Not in text but could be on the test.
Start ch. 5.
Outline
Basics of retirement savings
A video!
The power of compounding
Note: this lecture Ill just use brute