{
  "id": "XAT2020-Q63",
  "exam": "XAT",
  "year": 2020,
  "slot": "Full Paper",
  "question_no": 63,
  "section": "Quantitative Ability & Data Interpretation",
  "sub_section": "Algebra",
  "topic": "Linear Programming / Optimisation",
  "sub_topic": "Integer optimisation",
  "difficulty": "Medium",
  "ideal_time_seconds": 60,
  "set": null,
  "context_text": null,
  "question_text": "Consider the four variables A, B, C and D and a function Z of these variables, $Z=15A^2-3B^4+C+0.5D$ It is given that A, B, C and D must be non-negative integers and that all of the following relationships must hold: i) $2A+B\\le2$ ii) $4A+2B+C\\le12$ iii) $3A+4B+D\\le15$ If Z needs to be maximised, then what value must D take?",
  "question_html": "Consider the four variables A, B, C and D and a function Z of these variables,<br><span class=\"ck-tex\" data-d=\"0\" data-tex=\"Z=15A^2-3B^4+C+0.5D\">$Z=15A^2-3B^4+C+0.5D$</span><br>It is given that A, B, C and D must be non-negative integers and that all of the following relationships must hold:<br>i) <span class=\"ck-tex\" data-d=\"0\" data-tex=\"2A+B\\le2\">$2A+B\\le2$</span><br>ii) <span class=\"ck-tex\" data-d=\"0\" data-tex=\"4A+2B+C\\le12\">$4A+2B+C\\le12$</span><br>iii) <span class=\"ck-tex\" data-d=\"0\" data-tex=\"3A+4B+D\\le15\">$3A+4B+D\\le15$</span><br>If Z needs to be maximised, then what value must D take?",
  "figures": [],
  "figure_description": null,
  "options": [
    {
      "id": "A",
      "text": "12",
      "html": "12"
    },
    {
      "id": "B",
      "text": "5",
      "html": "5"
    },
    {
      "id": "C",
      "text": "0",
      "html": "0"
    },
    {
      "id": "D",
      "text": "15",
      "html": "15"
    },
    {
      "id": "E",
      "text": "10",
      "html": "10"
    }
  ],
  "answer": {
    "key": "A",
    "text": "12"
  },
  "answer_verified": true,
  "solution_text": "1. From (i), possible (A, B): (0,0), (0,1), (0,2), (1,0). 2. (1,0): Z = 15 + C + 0.5D with $C\\le12-4=8$ and $D\\le15-3=12$ , so Z = 15 + 8 + 6 = 29. 3. (0,0): Z = C + 0.5D with C up to 12, D up to 15: 19.5. 4. (0,1): Z = -3 + C + 0.5D with $C\\le10$ , $D\\le11$ : 12.5. (0,2): $-48$ + small: much lower. 5. Maximum Z = 29 at A = 1, B = 0, C = 8, D = 12. Quick check: D = 12 is the largest allowed by (iii): $3(1)+0+12=15$ . Answer: A) 12",
  "solution_html": "1. From (i), possible (A, B): (0,0), (0,1), (0,2), (1,0).<br>2. (1,0): Z = 15 + C + 0.5D with <span class=\"ck-tex\" data-d=\"0\" data-tex=\"C\\le12-4=8\">$C\\le12-4=8$</span> and <span class=\"ck-tex\" data-d=\"0\" data-tex=\"D\\le15-3=12\">$D\\le15-3=12$</span>, so Z = 15 + 8 + 6 = 29.<br>3. (0,0): Z = C + 0.5D with C up to 12, D up to 15: 19.5.<br>4. (0,1): Z = -3 + C + 0.5D with <span class=\"ck-tex\" data-d=\"0\" data-tex=\"C\\le10\">$C\\le10$</span>, <span class=\"ck-tex\" data-d=\"0\" data-tex=\"D\\le11\">$D\\le11$</span>: 12.5. (0,2): <span class=\"ck-tex\" data-d=\"0\" data-tex=\"-48\">$-48$</span> + small: much lower.<br>5. Maximum Z = 29 at A = 1, B = 0, C = 8, D = 12.<br>Quick check: D = 12 is the largest allowed by (iii): <span class=\"ck-tex\" data-d=\"0\" data-tex=\"3(1)+0+12=15\">$3(1)+0+12=15$</span>.<br>Answer: A) 12",
  "g_strategy": {
    "note": "Cetking™'s famous G Strategy: Sacred Art of Shortcut & Sacred Art of Tukka Shortcut — available after login on cetking.com.",
    "login_url": "https://cetking.com/login/",
    "page_url": "https://cetking.com/xat-2020-q63-consider-the-four-variables-a-b/#q63"
  },
  "page_url": "https://cetking.com/xat-2020-q63-consider-the-four-variables-a-b/#q63",
  "json_url": "https://cetking.com/api/xat/q/XAT2020-Q63.json",
  "paper_index_url": "https://cetking.com/api/xat/paper/2020.json",
  "publisher": {
    "name": "Cetking",
    "url": "https://cetking.com"
  }
}