GET /api/questions/12023/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept
{
"url": "https://numbas.mathcentre.ac.uk/api/questions/12023/?format=api",
"name": "Apply the cosine rule",
"published": true,
"project": "https://numbas.mathcentre.ac.uk/api/projects/601/?format=api",
"author": {
"url": "https://numbas.mathcentre.ac.uk/api/users/697/?format=api",
"profile": "https://numbas.mathcentre.ac.uk/accounts/profile/697/?format=api",
"full_name": "Newcastle University Mathematics and Statistics",
"pk": 697,
"avatar": {
"20x20": "https://numbas.mathcentre.ac.uk/media/avatars/UnivNcle-shield_mKn5GZP.20x20.png",
"40x40": "https://numbas.mathcentre.ac.uk/media/avatars/UnivNcle-shield_mKn5GZP.40x40.png",
"150x150": "https://numbas.mathcentre.ac.uk/media/avatars/UnivNcle-shield_mKn5GZP.150x150.png"
}
},
"edit": "https://numbas.mathcentre.ac.uk/question/12023/apply-the-cosine-rule/?format=api",
"preview": "https://numbas.mathcentre.ac.uk/question/12023/apply-the-cosine-rule/preview/?format=api",
"download": "https://numbas.mathcentre.ac.uk/question/12023/apply-the-cosine-rule.zip?format=api",
"source": "https://numbas.mathcentre.ac.uk/question/12023/apply-the-cosine-rule.exam?format=api",
"metadata": {
"notes": "\n \t\t<p>I want acute triangles with side lengths $a,b,c$. I need $|a^2-b^2|<c^2<a^2+b^2$ along with corresponding conditions on $a,b$. In fact the conditions $a^2-b^2<c^2<a^2+b^2$ and $b^2-a^2<c^2<a^2+b^2$ imply also the corresponding conditions on $a,b$. Thus the design of the question involves choosing $a,b$ and then choosing $c$ to meet the required condition. The integer $c$ is chosen randomly between the ceiling of $\\sqrt{|a^2-b^2|}$ and the floor of $\\sqrt{a^2+b^2}$. The first is no greater than the second because $\\max\\{a,b\\}$ lies between them; if $a=b$, then $\\sqrt{a^2+b^2} > 1$. The range of values for $a$ and $b$ may be changed according to taste without invalidating the question, but questions arise about accuracy. My calculations suggest that values of $a,b,c$ between 5 and 100 are safe, but I have been more conservative than that.</p>\n \t\t <p>The second part tests the ability to apply the same principles as the first part but with a different orientation to the triangle: the first part seeks $b,C,c$ whereas the second seeks $b,A,a$.</p>\n \t\t",
"licence": "Creative Commons Attribution 4.0 International",
"description": "<p>Two questions testing the application of the Cosine Rule when given two sides and an angle. In these questions, the triangle is always acute and both of the given side lengths are adjacent to the given angle.</p>"
},
"status": "pleasetest",
"resources": []
}