{"id":957,"date":"2016-07-13T13:18:24","date_gmt":"2016-07-13T13:18:24","guid":{"rendered":"http:\/\/www.numbas.org.uk\/?p=957"},"modified":"2016-07-13T13:18:24","modified_gmt":"2016-07-13T13:18:24","slug":"embed-geogebra-worksheets-in-numbas-and-mark-them","status":"publish","type":"post","link":"https:\/\/www.numbas.org.uk\/theme-testing\/blog\/2016\/07\/embed-geogebra-worksheets-in-numbas-and-mark-them\/","title":{"rendered":"Embed GeoGebra worksheets in Numbas and mark them"},"content":{"rendered":"<p>You can now embed GeoGebra applets\u00a0in Numbas questions and, using GeoGebra&#8217;s new exercises feature, award the student marks\u00a0based on constructions within the applet. This is a huge step forward, making it much easier to include interactive diagrams in Numbas questions.<\/p>\n<p>Here&#8217;s a video showing how to embed a GeoGebra applet in a Numbas question, and award the student marks if they complete a certain construction. There are even steps, giving marks for each stage of the process!<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/174512376\" width=\"500\" height=\"281\" frameborder=\"0\" title=\"Embed a GeoGebra exercise in a Numbas question\" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe><\/p>\n<p>You can use the values of Numbas question variables in the definitions of objects in the GeoGebra worksheet, meaning that diagrams can accurately reflect the rest of your question.<\/p>\n<div id=\"attachment_960\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-960\" loading=\"lazy\" class=\"size-full wp-image-960\" src=\"http:\/\/www.numbas.org.uk\/wp-content\/uploads\/2016\/07\/numbas-geogebra-variables-1.png\" alt=\"In this question, the gradient of the slope and coefficient of friction are randomly generated in Numbas, then passed to the GeoGebra applet.\" width=\"500\" height=\"473\" srcset=\"https:\/\/www.numbas.org.uk\/wp-content\/uploads\/2016\/07\/numbas-geogebra-variables-1.png 500w, https:\/\/www.numbas.org.uk\/wp-content\/uploads\/2016\/07\/numbas-geogebra-variables-1-300x284.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-960\" class=\"wp-caption-text\">In this question, the gradient of the slope and coefficient of friction are randomly generated in Numbas, then passed to the GeoGebra applet.<\/p><\/div>\n<p>I&#8217;ve put together <a href=\"https:\/\/numbas.mathcentre.ac.uk\/exam\/3510\/geogebra-extension-demo\/\">a small demo exam<\/a> with a couple of questions showing some ways you can use GeoGebra inside Numbas.<\/p>\n<p>To get started using\u00a0GeoGebra in your own Numbas questions,\u00a0read <a href=\"https:\/\/github.com\/numbas\/numbas-extension-geogebra\">the extension&#8217;s documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can now embed GeoGebra applets\u00a0in Numbas questions and, using GeoGebra&#8217;s new exercises feature, award the student marks\u00a0based on constructions within the applet. This is a huge step forward, making it much easier to include interactive diagrams in Numbas questions. Here&#8217;s a video showing how to embed a GeoGebra applet in a Numbas question, and [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[28],"_links":{"self":[{"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/posts\/957"}],"collection":[{"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/comments?post=957"}],"version-history":[{"count":2,"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/posts\/957\/revisions"}],"predecessor-version":[{"id":961,"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/posts\/957\/revisions\/961"}],"wp:attachment":[{"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/media?parent=957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/categories?post=957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.numbas.org.uk\/theme-testing\/wp-json\/wp\/v2\/tags?post=957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}