Announcements
At this point of the course we start the introduction to numerical methods used in engineering problems. We will cover material that is simple and yet very important. Don't worry if your calculus background is not advanced. We will assume only pre calculus knowledge.
 Reading Assignments
Mandatory:  Book 1; Pages 131 - 138 

 Subtopics — Notes/ Examples:


Formatting:

Linear Interpolation :

 

 Tasks:


Task 1: Write a program, which repeatedly prompts for and reads a value of x between 2.7 and 5.1. For each value of x, it calculates and outputs the value of y using linear interpolation between the points (2.7, 5) and (5.1, 7.89). A value of x not in the range given, will signal termination of the program.

Task 2: A composite machine element consists of an elastoplastic tube with a cylindrical core made of a different elastoplastic material. The force - elongation curve for the composite element is given by

Here a is related to the length of the element and it is about 1 mm.

Write a program that calculates and displays the value of the force for a given value of delta and a. Linear interpolation must be used to calculate the force.

Start working on HW4 and PA4.


Jacob Y. Kazakia © 2001 All rights reserved