172Mathematics · Variations

Variation: two arbitrary terms

Variation: two arbitrary terms

Determine coefficients in y=aF(x)+bG(x) from two observations, then evaluate the model.

  • 154 bytes
  • COMP mode
01

Worked examples

Example 1

Original exercise. Determine coefficients in y=aF(x)+bG(x) from two observations, then evaluate the model. y=a+b x²; y(2)=19; y(4)=67. a=?, b=?, y(3)=?

Answer
y(3)=3+4×9=39; y(2)=19, y(4)=67.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: F=1, G=x²: a+4b=19; a+16b=67.
  3. Calculation: 12b=48 ⇒ b=4; a=3.
  4. Conclusion: y(3)=3+4×9=39; y(2)=19, y(4)=67.
Do it on the calculator

Example 2

Original exercise. Determine coefficients in y=aF(x)+bG(x) from two observations, then evaluate the model. y=ax²+bx; y(2)=22; y(3)=45. a=?, b=?, y(4)=?

Answer
y(4)=4×16+3×4=76; y(2)=22, y(3)=45.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: F=x², G=x: 4a+2b=22; 9a+3b=45.
  3. Calculation: 2a+b=11; 3a+b=15 ⇒ a=4, b=3.
  4. Conclusion: y(4)=4×16+3×4=76; y(2)=22, y(3)=45.
Do it on the calculator

Example 3

Original exercise. Determine coefficients in y=aF(x)+bG(x) from two observations, then evaluate the model. y=ax²+b/x; y(1)=−6; y(2)=18. a=?, b=?, y(−2)=?

Answer
y(−2)=6×4+(−12)/(−2)=30; y(1)=−6, y(2)=18.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: F=x², G=1/x: a+b=−6; 4a+b/2=18.
  3. Calculation: 8a+b=36 ⇒ 7a=42 ⇒ a=6, b=−12.
  4. Conclusion: y(−2)=6×4+(−12)/(−2)=30; y(1)=−6, y(2)=18.
Do it on the calculator
02

When to use it

Determine coefficients in y=aF(x)+bG(x) from two observations, then evaluate the model.

Input order

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

Results

  • S → a → b
  • 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

  • Compute the bases first, then enter F₁,G₁,y₁,F₂,G₂,y₂. The program does not infer F and G from x. For a unique solution read S=0,a,b; degenerate systems include the all-zero coefficient matrix. More than two independent unknowns and nonlinear unknown coefficients require another method.
  • 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.