Codeblocks, C code, The input to the program will be a text file containing the information for a tolerance table. An example follows using the
Codeblocks, C code,
The input to the program will be a text file containing the information for a tolerance table. An example follows using the values from the first lecture on tolerance analysis. These values will be stored in a text file. The data is comma delimited, which means that each data field is separated by a comma. If the first word is PART the following values are the nominal size, +/- impact, tolerance, and fixed/variable. If the first word is GAP the following values are the minimum and maximum sizes. (Note: assume all units are inches.)
PART,2.000,-1,0.050,V
PART,0.975,-1,0.025,V
PART,3.000,+1,0.010,F
GAP,0.000,0.080
These values will be processed using the method taught in class. A sample output for the first stage is given.
Actual Gap Mean: 0.025
Actual Gap Tolerance: 0.085
The Maximum Gap (0.110) is (Greater) than specified (0.080)
The Minimum Gap (-0.060) is (Less) than the specified (0.000)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started