{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

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.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}