Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

3. Are our bosses always right? If not, what should we do?

Answered: 1 week ago

Question

Different formulas for mathematical core areas.

Answered: 1 week ago

Question

What is DDL?

Answered: 1 week ago