Problem Statement: Many chemical engineering textbooks/literature contain figures from which you find the physical properties of various chemical compounds. These graphs were originally generated at a time when we did most calculations manually. Data contained in these graphs are not readily accessible with a computer -- something of a pain. Here is one such graph taken from Perry's Chemical Engineers' Handbook for the specific heats for a select group of compounds. Translate the graph to an equivalent computer program such that the program returns the specific heat at a specified temperature for any one of the compounds given in the graph.
Solution:
In the following program, we find the coordinates by viewing the
.gif image file of the graph in an image program (e.g., Photoshop or
Paint Shop) and reading the coordinates under the cursor.
|