Logic and subfunctions
Lecture 5: 19 Sep 2012 Kominsky
Announcements Exam 1
The first exam is October 2, 6-8pm
If you have a class conflict (Chem 210, or another class)
there will be an alternate starting at 8:30 for 2 hours
You will be told next week whi
Selection
Lecture 4: 17 Sep 2012 Kominsky
Announcements
Questions about project1?
Selection
Selective
execution of
steps based
on specified
condition
Greatest Common Factor
1: Request a value for a
2: Request a value for b
3: if a b then assign b to c
4:
Functions
Lecture 3: 12 Sep 2012 Kominsky
Announcements
Project1 available in resources
From algorithms to programs
Last time we developed some sequences of statements,
for instance the following:
disc = b^2 4*a*c;
x = (-b + [1 -1] * sqrt(disc) / (2*a);
T
Matlab
Lecture 2: 10 Sep 2012 Kominsky
Announcements
Some clarifications of project 0
From algorithms to programs
Algorithm = a precise specification of a computational
process
If the specification is precise enough to execute
automatically, we call it a
ENGR 101: Intro to Computers and
Programming
Lecture 1: 5 Sep 2012 Kominsky
What is ENGR 101?
Engineering 101 introduces first-year students to the
concept of an algorithm: a well-defined set of instructions
that achieve a particular goal.
- Constructing
Math 116
Fall 2012
Team Homework 4
Problem 1 : A forest is 10 miles long. A wildre starts at one end of the forest and moves in
the opposite direction. Let x be the distance in miles from a point on the forest to
the place where the re started. The positi
Math 116
Fall 2012
Team Homework 3
Problem 1 : Egg geometrical calculations are important for the poultry industry and in biological
studies*. In this problem, you will estimate the volume of an egg.
1. The shape of the egg is approximated by a solid S ob
Math 116
Fall 2012
Problem 1 : Let
2t
2t
4
xex dx
G(t) =
Team Homework 2
and
0
4
xex dx.
H (t) =
1
1. Is the function G(t) even, odd or neither? Hint: Find a formula for G(t) and use
the substitution u = x .
2. Use Left(4) and Right(4) to approximate the
Math 116 Fall 2012
Team Homework 1
Problem 1 : The number of U.S. citizens 65 and older from 1990 through 2050 is estimated to be
growing at the rate of
R(t) = 0.063t2 0.48t + 3.87
(0 t 15)
million people/decade, where t is measured in decades and t = 0 c
Math 116-009 (Fall 2012)
Quiz 3: 7.5, 8.1-8.2
09/27/2012
Name:
Show all work and include units where appropriate. (20 pts)
1. The Belgian scholar Lambert Quetelet published a distribution of chest measurements of Scottish
soldiers in 1846. His distributio
Math 116-009 (Fall 2012)
Quiz 3: 7.5, 8.1-8.2
09/27/2012
Name:
Show all work and include units where appropriate. (20 pts)
1. The Belgian scholar Lambert Quetelet published a distribution of chest measurements of Scottish
soldiers in 1846. His distributio
Math 116-009 (Fall 2012)
Quiz 2: 6.4, 7.1 - 7.2
09/18/2012
Name:
Show all work and include units where appropriate. (20 pts)
1. (a) Using the second FTC, nd a formula for the function A(t) giving the area under the curve
y = cos x x + 1 between x = 1 and
Math 116-009 (Fall 2012)
Quiz 1: 5.1 - 6.2
09/11/2012
Name:
Show all work and include units where appropriate. (20 pts)
1. Let f (x) be an odd function and let g (x) be an even function. Given that
8
8
f (x)dx = 4,
3
8
0
3
g (x)dx = 2,
f (x)dx = 10,
3
g (
Math 116-009 (Fall 2012)
Quiz 0: Student Data Sheet
09/04/2012
Name:
Show all work and include units where appropriate. (This quiz is worth approximately 0 points.)
1. Please list any math courses youve taken in high school and at the university level.
2.
Math 116-009 (Fall 2012)
Handout 8.4: Density and Center of Mass
09/27/2012
Name:
1. Set up but do not evaluate an expression to nd the y -center of mass of a 2 inch wide
by 3 inch high rectangular object having a density (y ) = cos(y ) g/in2 . (y is the
Math 116-009 (Fall 2012)
Handout 8.2: Applications to Geometry
09/21/2012
Name:
1
1. The integral 0 x dx gives the volume of the solid created when a curve y = f (x), for
0 < x 1, is rotated around the x-axis. Find an equation for f (x), draw a picture of
Math 116-009 (Fall 2012)
Handout 8.1: Areas and Volumes
09/20/2012
Name:
3
1. Consider the integral 0 (3 h)2 dh, which gives the volume of a region in space. Sketch
the region, showing all relevant variables and lengths and the slice used to write the int
Math 116-009 (Fall 2012)
Handout 8.1: Areas and Volumes
09/20/2012
Name:
3
1. Consider the integral 0 (3 h)2 dh, which gives the volume of a region in space. Sketch
the region, showing all relevant variables and lengths and the slice used to write the
int
Math 116-009 (Fall 2012)
Handout 7.5: MID(n), TRAP(n)
09/18/2012
Name:
2
1. An astute calculus student notes that her calculus GSI spews forth r(t) = 5e7t words/minute,
where t gives the number of hours from the beginning of class. Use MID(3) to estimate
Math 116-009 (Fall 2012)
Handout 7.2: Integration by Parts (IBP)
09/14/2012
1. Write arctan x = 1 arctan x to nd
Name:
arctan x dx.
10
f (x)g (x) dx if f (x) = x2 and g has the values in the following table:
2. Estimate
0
x
g (x)
0
2.3
2
3.1
4
4.1
6
5.5
8
Math 116-009 (Fall 2012)
Handout 7.1: w-substitution
09/13/2012
Name:
1. In the following, use the indicated substitution to evaluate the given integral.
(a)
(3x 5)17 dx;
(b)
1
(4x+7)6
(c)
cos kx dx;
(d)
(1 cos x)5 sin x dx;
(e)
y y + 1 dy ;
dx;
w = 3x 5