169Mathematics · Variations

Variation: constant plus one term

Variation: constant plus one term

Determine the two coefficients from two values of a model that becomes y=a+bu, then evaluate the requested expression.

  • 100 bytes
  • COMP mode
01

Worked examples

Example 1

Original exercise. Determine the two coefficients from two values of a model that becomes y=a+bu, then evaluate the requested expression. y=a+bu; y(2)=11; y(5)=23. a=?, b=?, y(7)=?

Answer
y(7)=3+4×7=31; y(2)=11, y(5)=23.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: a+2b=11; a+5b=23 ⇒ 3b=12.
  3. Calculation: b=4; a=11−8=3; y=3+4u.
  4. Conclusion: y(7)=3+4×7=31; y(2)=11, y(5)=23.
Do it on the calculator

Example 2

Original exercise. Determine the two coefficients from two values of a model that becomes y=a+bu, then evaluate the requested expression. y=a+bx²; y(1)=7; y(3)=31. a=?, b=?, y(2)=?

Answer
y(2)=4+3×2²=16; y(1)=7, y(3)=31.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: u=x² ⇒ (u₁,y₁)=(1,7), (u₂,y₂)=(9,31).
  3. Calculation: 8b=31−7=24 ⇒ b=3; a=7−3=4.
  4. Conclusion: y(2)=4+3×2²=16; y(1)=7, y(3)=31.
Do it on the calculator

Example 3

Original exercise. Determine the two coefficients from two values of a model that becomes y=a+bu, then evaluate the requested expression. y=ax²+b/x, x≠0; y(1)=−8; y(2)=10. a=?, b=?, y(−2)=?

Answer
y(−2)=4×4+(−12)/(−2)=22; y(1)=−8, y(2)=10.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: xy=ax³+b; (u,v)=(x³,xy): (1,−8),(8,20).
  3. Calculation: 7a=20−(−8)=28 ⇒ a=4; b=−12; v=−12+4u.
  4. Conclusion: y(−2)=4×4+(−12)/(−2)=22; y(1)=−8, y(2)=10.
Do it on the calculator
02

When to use it

Determine the two coefficients from two values of a model that becomes y=a+bu, then evaluate the requested expression.

Input order

  • u₁ → y₁ → u₂ → y₂
  • Enter all fields again for every run. Blank EXE retains old memory; zero must be typed as 0EXE.

Results

  • S → a → b
  • S → b → a
  • All displayed values follow the output order below. A pause requires EXE; the final screen uses AC.
  • S=0: unique solution, then two coefficients. S=1: no solution. S=2: nonunique coefficients. S=3: unsupported input or a determinant below the relative 10⁻¹⁰ threshold; this is a numerical refusal, not proof of no solution. All prompts require fresh entries; blank EXE retains old memory. Values within |input|≤10⁹ are recommended. Overflow can still produce Math ERROR instead of S=3. Check the original equations and variable transformation. Working variables A,B,C,D,X,Y,M and Ans may be overwritten.

Conditions and limits

  • Enter u₁,y₁,u₂,y₂ after transforming the variable if needed. Output S,a,b only when S=0. If transforming xy=ax³+b, the constant output is original b and the slope is original a; map the coefficients back before evaluating y. No automatic model selection or inverse x calculation.
  • S=0: unique solution, then two coefficients. S=1: no solution. S=2: nonunique coefficients. S=3: unsupported input or a determinant below the relative 10⁻¹⁰ threshold; this is a numerical refusal, not proof of no solution. All prompts require fresh entries; blank EXE retains old memory. Values within |input|≤10⁹ are recommended. Overflow can still produce Math ERROR instead of S=3. Check the original equations and variable transformation. Working variables A,B,C,D,X,Y,M and Ans may be overwritten.
  • The finite precision and numeric range of the calculator limit very large, very small or nearly cancelling values.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.