assign5 - ECOR 1606 Exercise 5 If we know both the major...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
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 using a "tap" to create a female thread). Major diameter Minor diameter Thread depth thread depth (in inches) = 0.6495 / TPI minor diameter = major diameter - (2 * thread depth) tap drill diameter = major diameter - (1 / TPI) There are limits to how deep the thread depth can reasonably be. For the purposes of this assignment, assume that the minor diameter must be at least half of the major diameter. Any TPI value that results in a smaller minor diameter should be taken as being unreasonable. You are to write a program which, given a major diameter and a range of TPI values, will produce a table of thread depths, minor diameters, and tap drill diameters. The sample run on the next page should give the idea. Have your program loop, repeatedly reading in major diameters, until a zero or negative
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/28/2011 for the course MATH 101 taught by Professor Duke during the Spring '11 term at University of Ottawa.

Page1 / 2

assign5 - ECOR 1606 Exercise 5 If we know both the major...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online