Question: in c++ please Please write the following functions (a) float map(float in, float inmin, float inMax, float outMin, float out Max) which given two points

in c++ please
Please write the following functions (a) float map(float in, float inmin, float inMax, float outMin, float out Max) which given two points on a line: (inMin, outMin) and (inMax, outMax), computes the slope and interceps and then retuns out-in+ b (b) void map-vec(int n, float in [], float out[], float nMn, putMin, float outMax) which is a vectorized version of the map function. float nax, float
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
