Question: Code this in C A set of numbers xi in the range xlow to xhigh can be normalized into a new range min to max,

Code this in C A set of numbers xi in the range xlow to xhigh can be "normalized" into a new range min to max, by calculating each normxi from each xi as follows:
normxi = min +(xi - xlow)*(max - min)/(xhigh -xlow)
Write a complete C program to read from a data file an integer count (between 3 and 20) and two real numbers (min and max). Then read the set of real numbers (there are count numbers) for xi into an array. Normalize the xi values into the range min to max, placing the normalized values into a second array. Finally print the original and normalized values in a two-column table, with appropriate column headings.
Use the following sets of data to test your program. Put all three high-resolution screenshots in your report.
70.010.067.945.233.366.183.514.350.5
110.01.06.94.23.36.18.51.35.59.98.03.62.8
50.0100.0-34.350.90.043.2-77.7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!