ECOR 1606 A&C FINAL EXAMINATION Fall 2006 DURATION: 3 HOURS Department Name: Course Number: Course Instructor(s):
AUTHORIZED MEMORANDA
No. of Students: 208 Systems and Computer Engineering ECOR 1606 Problem Solving & Computers Professors John Bryant and I
ECOR 1606 Winter 2010 Assignment #1 Sample Solution
Question 1 while there are cars in the siding that need to join the train do if engine attached to main train then decouple engine from train ensure switch is set A1A2 move engine past switch set switch
ECOR 1606 B & C Assignment 1 Put your answers in a plain text file a1.txt and submit as Assignment #1. Question 1 (2 marks) A westbound train has come to an industrial siding. The siding may or may not have cars in it. If there are cars in the siding, eac
ECOR 1606 Winter 2010 Lab Final Test
Lab Final Test Content
The lab final test (Lab #10) will involve writing a program in C+. The material covered on the lab final test will be everything discussed in class and in the notes up to the end of Chapter 6. La
Question 2 This question involves a function that process rainfall data. The function is to be given 1/. A double array containing rainfall data for N consecutive days (array[0] = rainfall for the first day, array[1] = rainfall for the second day, and so
ECOR 1606 Fall 2009 Final Exam Question 1 (10 Marks) What will be output by the following program? int alpha (int x, int &y) cfw_ int a = x + y; cout < "CAT " < x * y < endl; x = 4; y = 3; return a % y; void beta (int x[], int n) cfw_ x[0] = x[n]; int m
A. Alaca
MATH 1005F
Fall 2008
1
FIRST ORDER LINEAR DIFFERENTIAL EQUATIONS A rst order linear dierential equation is an equation of the form y + P (x)y = Q(x) ()
where P (x) and Q(x) continuous functions on a given interval. Method of solution: We are look
A. Alaca
MATH 1005
Winter 2010
2
SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS A Second-order linear dierential equation has the form P (x)y + Q(x)y + R(x)y = G(x) ()
where P, Q, R and G are continuous functions. If G(x) = 0 for all x, then () is called homo
MATH 1005F
Solutions to Test 1
October 5, 2009
1
This test paper has two parts and total of 30 marks. Part I has 3 multiple choice questions. Part II has 4 long answer questions. It cannot be taken from the examination room. Only nonprogrammable calculato
MATH 1005B
Test 1
Winter 2009
1
This test paper has two parts and total of 30 marks. Part I has 3 multiple choice questions. Part II has 4 long answer questions. It cannot be taken from the examination room. Only nonprogrammable calculators are allowed. D
ECOR 1606 - Exercise 2 Imagine that you are doing some maintenance work on a steam crane (see the photos supplied) and need to replace a section of the curved roof. In order to have some steel rolled to the correct radius, you need to determine exactly wh
ECOR 1606 Exercise #3
Imagine that we like to determine whether some carpets will fit a room. We know the size of the room and the sizes of the carpets. For each carpet, there are three possibilities. The carpet may be a perfect fit, it may be large enoug
ECOR 1606 Final Lab Test Crib Sheet and Hints (Note: 2 pages long) CONTROL STRUCTURES
simple if: if (boolean exp) cfw_ statements / body if-then-else: if (boolean exp) cfw_ statements / true part else cfw_ statements / false part multi-way if: if (bool
Chapter 1 - Basic Programming Concepts
The diagram below illustrates the essence of computer programming. The computer is a mindless robot which simply follows the instructions given to it. It follows these instructions very quickly, and very accurately,
Exercise #11
A university is interested in the employment prospects of its graduating students. Each graduating student is expected to have between N1 and N2 job interviews (inclusive of these limits), with each possibility being equally likely, and each
Exercise #10 A store has a file containing information on sales made to customers. Each line of this file contains a customer number and a sale amount as shown below. The first line of the file indicates that customer number 17568 made a purchased $167.90
Assignment 9 Mastermind is a code-breaking game. One player makes a code, and the other player tries to break it. Visit http:/www.archimedes-lab.org/mastermind.html for a brief history of the game. The site also allows you to play the game. The computer p
Assignment 8 The diagram below illustrates a drive arrangement commonly used on drill presses and other kinds of machine tools. The motor is connected to the ultimate load (in this case a drill bit) by two belts. One of these connects the motor shaft to a
Exercise 7
The Chinese game of Tsyan/shi/dzi (picking stones) involves two players and two piles of chips. The two players take turns removing chips from the piles. On their turn, each player must either i) remove any number of chips from either one of th
ECOR 1606 Exercise 6
The fuel tank of an oil fired steam locomotive consists of three parts as shown in the diagram below: dipstick
3.5 feet 3 feet 1 foot The top and middle parts of the tank are rectangular. The top part is 4 foot by 6 foot and the middl
ECOR 1606 Exercise 5
If we know both the major diameter of a screw thread (see diagram below) and the number of threads per inch (TPI), we can compute the thread depth, the minor diameter, and the tap drill size (the size of the drill compatible with usin
Exercise #4
As a liquid moves through a horizontal pipe, the pressure drops due to friction between the liquid and the walls of the pipe. In order to calculate the actual pressure drop, it is necessary to somehow determine the friction factor ( f). One po
MATH 1005 BC Instructor: Dr. A. Alaca
Assignment 1
Winter 2010
To be handed in to your TA during the tutorial on January 28, 2010 for Section B January 27, 2010 for Section C. Please write down your full name, student number and Tutorial section clearly
4.5
Maximum and Minimum Values
The maximum and minimum values of a function f are called extreme values of f .
Definition (Local/Relative Maximum/Minimum). Let a, b, c R. We say that c is a
local (or relative) maximum of a function f (x) (with value f (c
4.7
Curve Sketching
In this section, we bring everything weve learned today to get an accurate sketch of the
curve of a function.
S UMMARY:
Function
Information Provided
f (x)
Domain, Intercepts, Asymptotes
0
f (x)
Interval(s) of increase/decrease, Critic
4.3 Elasticity of Demand
Recall from chapter 1 the denition of the demand function:
The consumer demand function, f, expresses the relationship between the unit price p
of a product or service and the quantity :5 of units that consumers are willing and
Chapter 4
Applications of the Derivative
4.1 Intervals of Increase or Decrease
Denition (Increasing/ Decreasing). On the open interval (a, b), a function f (:5) is said to he
0 increasing iff(:v1) g f(:v2)for all $1,532 6 (a,b) where :31 < :52.
o decreasi
1.6 Logarithmic Functions
Denition (Logarithmic Function). The logarithmic function f (:5) = loga :5 is the inverse of
the exponential function f (:5) = a. (recall that a > 0 and a 7E 1. ) In other words,
y=loga$ 4:) azay.
Example 15. Examples of logarith
1.6.2 Application: Compound Interest
One of the most common applications of exponential and logarithmic functions in busi-
ness are the compound interest problems.
Here is the notation we will use:
0 P 2 Principal amount = original amount deposited
o 7" 2