GET /api/questions/11936/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://numbas.mathcentre.ac.uk/api/questions/11936/?format=api",
    "name": "Calculate probability, expected value and variance of a geometric distribution, ",
    "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/11936/calculate-probability-expected-value-and-variance-/?format=api",
    "preview": "https://numbas.mathcentre.ac.uk/question/11936/calculate-probability-expected-value-and-variance-/preview/?format=api",
    "download": "https://numbas.mathcentre.ac.uk/question/11936/calculate-probability-expected-value-and-variance-.zip?format=api",
    "source": "https://numbas.mathcentre.ac.uk/question/11936/calculate-probability-expected-value-and-variance-.exam?format=api",
    "metadata": {
        "notes": "<p><strong>7/07/2012:</strong></p>\n        <p>Added tags.</p>\n        <p>Cannot access stats extension at present, so question does not run. Issue posted.</p>\n        <p>Set new tolerance variable tol=0.001 for first two answers.</p>\n        <p>Calculation to be tested under Test Run.</p>\n        <p><strong>22/07/2012:</strong></p>\n        <p>Added description.</p>\n        <p>Can check calculation now stats extension box ticked.</p>\n        <p>Calculations checked.</p>\n        <p><strong>31/07/2012:</strong></p>\n        <p>&nbsp;Added tags.</p>\n        <p>Question appears to be working correctly.</p>\n        <p><strong>20/12/2012:</strong></p>\n        <p>Checked calculations against standard tables, OK.</p>\n        <p>Added tested1 tag.</p>\n        <p>User defined function arz picks out values in an array a lying between given values m and n.</p>\n        <p>arz(m,n,a)=map(if(x&lt;m or x &gt;n,0,1),x,a). Added udf tag.</p>\n        <p>Extra rounding introduced for variables tans1, tans. Added tag sr.</p>",
        "licence": "Creative Commons Attribution 4.0 International",
        "description": "<p>$W \\sim \\operatorname{Geometric}(p)$. Find $P(W=a)$, $P(b \\le W \\le c)$, $E[W]$, $\\operatorname{Var}(W)$.</p>"
    },
    "status": null,
    "resources": []
}