list three rational number between-2 and -1
Answers
Answer:
A point is interpolated using the following formula:
linear interpolation
We can develop then the following Matlab function. Input parameters are the two known coordinates and the desired x-value to interpolate. Note that with this formula we can also extrapolate a coordinate on the same line.
function y = interpolate(x1, y1, x2, y2, x)
% Calculate corresponding y-coordinate
y = y1 + (y2-y1)/(x2-x1) * (x-x1);
Let's assume that our known coordinates are (60, 15.56) and (90, 32.22), and our x-values to be interpolated are 73 and 85.6.
Now, we can use the above function, for example calling it like this:
y = interpolate(60, 15.56, 90, 32.22, 73)
y = interpolate(60, 15.56, 90, 32.22, 85.6)
Matlab response is:
y = 22.7793
y = 29.7765
Step-by-step explanation:
Answer:
Let us write -1 and -2 as rational numbers with denominator 5 (why?)
We have -1 =
5
−5
= -2=
5
−10
so
5
−10
<
5
−9
<
5
−8
<
5
−7
<
5
−6
<
5
−5
or -2<
5
−9
<
5
−8
<
5
−7
<
5
−6
<-1
The three rational numbers between -2 and -1 would be
5
−9
,
5
−8
,
5
−7
(You can take any three of
5
−9
,
5
−8
,
5
−7
,
5
−6
)
Step-by-step explanation: