MathLab with Mr. Ahmed

MathLab with Mr. Ahmed is a math learning website by Ahmed Amasha, a mathematics teacher teaching the American curriculum. Explore Algebra 2, Precalculus, Calculus, and SAT and PSAT Math Prep through lessons, focused practice and printable resources.

MathLabwith Mr. Ahmed
Free preview

5.M Focus on Modeling (Chapter Supplement)

Fit sinusoidal models to periodic data and evaluate predictions within a meaningful domain.

Before you solve

Ideas in this lesson

Explore the lesson brief and the worked example for Idea 11. Create a free account to continue with the remaining ideas and practice.

Lesson brief and rules

5.M Focus on Modeling (Chapter Supplement)

Read the observations and units, estimate the midline, amplitude and period, fit an appropriate sinusoidal model, and test its residuals and predictions.

Remember
Report predictions at a precision supported by the displayed data and the fitted model.
Worked example 11
01 / The complete original signed laboratory sensor data use signed signal and seconds.
Complete original simulated dataset: 88 observations. No omitted or interpolated observations.
secondssigned signal
002.562.56
221.931.93
44−0.8-0.8
66−2.9-2.9
88−2.53-2.53
1010−0.3-0.3
12121.961.96
14142.322.32
Construct a scatterplot of every pair with labeled scales. Compare the full pattern with linear, exponential, saturating and quadratic trends. Identify a rising and a falling interval using calculated secant slopes; distinguish repeated cycles from a single U-shaped turn. Do not calibrate parameters or run a regression in this task. Also classify each of these five supplied plots and justify the distinction between one U-turn and repetition.
0−1.2423.8849614.12819.24InputOutput
Straight trend
0−1.123.748.5613.3818.1InputOutput
Multiplicative trend
0−0.7520.9642.6764.3786.08InputOutput
Leveling trend
0−3.524.5412.5620.5828.5InputOutput
U-shaped trend
00.4421.724364.2885.56InputOutput
Repeating trend
Show the requested calculations and interpretation. Written reasoning and graphs require teacher review; selecting a summary does not verify them. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
02 /
0−3.663.5−1.927−0.1710.51.58143.32secondssigned signal
Every original observation; no connecting line
03 / The full input horizon is [0,14][0,14]; the output range of the observations is [−2.9,2.56][-2.9,2.56] in signed signal. All 88 observations are plotted.
04 / On [10,12][10,12], the secant slope is 1.96+0.32=1.13\dfrac{1.96+0.3}{2}=1.13. On [2,4][2,4], it is −0.8−1.932=−1.365\dfrac{-0.8-1.93}{2}=-1.365. Thus the record contains both genuine increases and decreases.
05 / Count each consecutive run of tied readings as one sampled extremum when the neighboring readings are lower (( peak )) or higher (( trough )). Listed run endpoints are sample times, not a claim that the underlying signal is constant between them. Use the first sample in each run as its representative time. Interior sampled peak times or runs: none inside the sampled horizon. Interior sampled trough times or runs: 66. There are not two interior sampled peaks, so this record alone does not directly measure a repeated peak-to-peak period.
06 / The endpoint change is 2.32−2.56=−0.242.32-2.56=-0.24, but the full excursion is 2.56+2.9=5.462.56+2.9=5.46. An endpoint secant hides the interior reversals and does not justify a line.
07 / A sinusoidal trial is reasonable because the record falls and rises around a bounded central level rather than sustaining one direction. A line has constant slope; a positive-base exponential with fixed nonzero coefficient is monotone; a usual saturating trend approaches a level without repeated reversals. A single U-turn is compatible with a quadratic and does not alone establish a repeating cycle. Here the full sampled turning pattern supports testing a sinusoid, not declaring it uniquely proved.
08 / Finite, noisy samples do not prove exact periodicity, identify a unique unrestricted frequency, or establish future repeats. A translated origin changes horizontal labels, not the order or spacing of observations. Every endpoint remains part of the evidence; choosing a shorter favorable window would discard relevant data.
09 / There are not two interior sampled trough runs, so a repeated trough-to-trough spacing cannot be measured from this record alone.
10 / Linear: equal output differences for equal input steps.
0−1.2423.8849614.12819.24InputOutput
Straight trend
11 / Exponential: equal multiplicative ratios for equal input steps.
0−1.123.748.5613.3818.1InputOutput
Multiplicative trend
12 / Saturating: growth slows toward a finite upper level.
0−0.7520.9642.6764.3786.08InputOutput
Leveling trend
13 / Quadratic: one turning point and symmetric rise, not a repeating cycle.
0−3.524.5412.5620.5828.5InputOutput
U-shaped trend
14 / Sinusoidal: repeated peaks and troughs at similar spacings.
00.4421.724364.2885.56InputOutput
Repeating trend
Worked example 2 · Read full datasets and choose a model family

The complete original slow industrial sensor data use output units and seconds.

Complete original simulated dataset: 15 observations. No omitted or interpolated observations.
secondsoutput units
00276.1276.1
2525279.3279.3
5050264.6264.6
7575243.8243.8
100100222.3222.3
125125198.8198.8
150150183.2183.2
175175182.4182.4
200200195.5195.5
225225220.8220.8
250250247.1247.1
275275264.2264.2
300300275.1275.1
325325276.4276.4
350350260.9260.9
Construct a scatterplot of every pair with labeled scales. An analyst chooses a straight line using only the first and last observations. Calculate the endpoint change and full observed range; use interior rising and falling secant slopes to assess that choice. Do not calibrate parameters or run a regression in this task. Show the requested calculations and interpretation. Written reasoning and graphs require teacher review; selecting a summary does not verify them. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.

0168.8387.5199.84175230.85262.5261.86350292.87secondsoutput units
Every original observation; no connecting line

The full input horizon is [0,350][0,350]; the output range of the observations is [182.4,279.3][182.4,279.3] in output units. All 15 observations are plotted.
On [225,250][225,250], the secant slope is 247.1−220.825=1.052\dfrac{247.1-220.8}{25}=1.052. On [100,125][100,125], it is 198.8−222.325=−0.94\dfrac{198.8-222.3}{25}=-0.94. Thus the record contains both genuine increases and decreases.
Count each consecutive run of tied readings as one sampled extremum when the neighboring readings are lower (peak) or higher (trough). Listed run endpoints are sample times, not a claim that the underlying signal is constant between them. Use the first sample in each run as its representative time. Interior sampled peak times or runs: 25, 325. Interior sampled trough times or runs: 175. Gaps between the declared representative peak times are 300. These are estimates influenced by sampling and noise.
The endpoint change is 260.9−276.1=−15.2260.9-276.1=-15.2, but the full excursion is 279.3−182.4=96.9279.3-182.4=96.9. An endpoint secant hides the interior reversals and does not justify a line.
A sinusoidal trial is reasonable because the record falls and rises around a bounded central level rather than sustaining one direction. A line has constant slope; a positive-base exponential with fixed nonzero coefficient is monotone; a usual saturating trend approaches a level without repeated reversals. A single U-turn is compatible with a quadratic and does not alone establish a repeating cycle. Here the full sampled turning pattern supports testing a sinusoid, not declaring it uniquely proved.
Finite, noisy samples do not prove exact periodicity, identify a unique unrestricted frequency, or establish future repeats. A translated origin changes horizontal labels, not the order or spacing of observations. Every endpoint remains part of the evidence; choosing a shorter favorable window would discard relevant data.
There are not two interior sampled trough runs, so a repeated trough-to-trough spacing cannot be measured from this record alone.
Written-work review:

15 questions with a worked answer for each.Start practice ↗
Textbook reference: Stewart, Redlin & Watson, Precalculus: Mathematics for Calculus, 7th ed. (Cengage, 2016). The explanations and practice here are original, organized by textbook section.