Q1 Find the floor and ceiling Function of x and . Take any value of x and y. (5) X Floor Ceiling -X.Y (x point y) X / Y (x divided by y)
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
Solution :
The floor and ceiling functions give us the nearest integer up or down.
Suppose x= 2
The Floor of 2 is 2
The Ceiling of 2 is 2
Suppose x= 2.31
The Floor of 2.31 is 2
The Ceiling of 2.31 is 3
what is frac(3.65)?
frac(x) = x − floor(x)
Suppose we find frac(3.65)
frac(x) = x − floor(x)
So: frac(3.65) = 3.65 − floor(3.65) = 3.65 − 3
= 0.65