Page 221, Problem 24
Due: next Monday midnight, 3/4/13
Suture Packaging. Sutures are strands or fibers used to sew living tissue together after an
injury or an operation. Packages of sutures must be sealed carefully before they are shipped to
hospitals so that contaminants cannot enter the packages. The object that seals the package is
referred to as a sealing die. Generally, the sealing die is maintained at an established temperature
and must contact the package with a predetermined pressure for an established time period. The
time period in which the sealing die contacts the package is called the dwell time. Assume that
the acceptable range of parameters for an acceptable seal, are the following:
Temperature: 150-170 degree C
Pressure: 60-70 psi
Dwell time: 2-2.5 s
24. A data file named suture.dat contains information on batches of suturtes
that have been rejected during a one-week period. Each line in the data file contains the batch
number, the temperature, the pressure, and the dwell time for a rejected batch. The quality
control engineer would like to analyze the information and needs a report that computes the
percent of the batches rejected due to pressure, due to temperature and the percent rejected due to dwell time. It is
possible that a specific batch may have been rejected for more than a reason and should be
counted in all acceptable totals. Write a program to compute and print these three percentages.
Use the following test data:
(The red numbers are what actually in your file.
-99s are sentinel signal for end checking.
You may want to use my class example(in dropbox) as your template)
(In order to make sure your program works properly, you could manually check out the results,
since the data file is very small.
For example, due to Temperature, it fails at batch 24551. So the percentage would be 1/5 = 20%
You could also check others)
Batch Number Temperature Pressure Dwell Time
24551 145.5 62.3 2.23
24582 153.7 62.3 2.52
26553 160.3 62.3 2.51
26623 159.5 62.3 2.01
26642 160.3 62.3 1.98
-99 -99 -99 -99
No comments:
Post a Comment