• S
    SwaseekhGATE Preparation
General
  • Dashboard
  • Syllabus
  • Questions
  • Aptitude
  • Mock Tests
  • TCS NQT 2026
Account
  • Pricing
  • Contact
  1. GATE CS
  2. PYQs
  3. General Aptitude

A function f(x) is linear and has a value of 29 at x = -2 and 39 at x = 3. Find its value at x = 5. A. 59 B. 45 C. 43 D. 35

GATE 2015 · General Aptitude · Functions · medium

Answer: f(5) = 43

  1. Set up the two equations: Eq1: a(-2) + b = 29 => -2a + b = 29 Eq2: a(3) + b = 39 => 3a + b = 39
  2. Subtract Eq1 from Eq2 to find slope a: 5a = 10 => a = 2
  3. Substitute a = 2 into Eq1 to find b: -2(2) + b = 29 => -4 + b = 29 => b = 33
  4. Evaluate f(5): f(5) = 2(5) + 33 = 10 + 33 = 43