Answer:
My research suggests that it is before and after.
Answer:
1. When calculating the division of each number in some range of floating type number.
2. One cannot use real numbers for exact comparison. Two real numbers are rarely equal. Real numbers are have representational errors.
Explanation:
1. In structured programming, we make use of a floating-point number with a fractional part for a loop control variable. a given scenario is when we just want to calculate the division of each number in some range of floating type number. However, the downsides to using a floating-point number with a fractional part for a loop control variable are:
- They can cause 'off-by-one' failure
- A floating point number cannot represent all simple fractions exactly
2. The pitfalls of using real numbers for the index variable in a for loop:
- Two real numbers are hardly equal
- One cannot use real numbers for exact comparison
- The existence of representational errors
Answer:
The graph shows the depth, y, in meters, of a shark from the surface of an ocean for a certain amount of time, x, in minutes:
A graph titled Distance Vs. Time is shown. The x axis is labeled Time in minutes and shows numbers 0, 1, 2, 3, 4, 5. The y axis is labeled Distance from Ocean Surface in meters. A straight line joins the points C at ordered pair 0,60, B at ordered pair 1, 100, A at ordered pair 2, 140, and the ordered pair 3, 180.
Part A: Describe how you can use similar triangles to explain why the slope of the graph between points A and B is the same as the slope of the graph between points A and C. (4 points)
Part B: What are the initial value and slope of the graph and what do they represent? (6 points)
Explanation: