Navigation

    Möbius Community
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    Need help? Ask here!
    Best Practices
    Quick Code Snippets
    Inspiration
    1. Home
    2. jgray
    J
    • Continue chat with jgray
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    jgray

    @jgray

    0
    Reputation
    7
    Posts
    1947
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jgray Follow

    Posts made by jgray

    • RE: same random digraphs in two separate commands?

      A more thorough search through the Maple TA Online Help has shed some more light on this question. Including the command randomize(): in Maple-based variable definitions sets the initial state of the random number generator using a number based on the system clock instead of the default seed in Maple.

      Thus, using

      $graphdisplay=plotmaple("randomize():GraphTheory[DrawGraph](GraphTheory[RandomGraphs][RandomDigraph]($n,$m)),plotoptions='width=512,height=512'");

      $ans=maple("randomize():GraphTheory[AdjacencyMatrix](GraphTheory[RandomGraphs][RandomDigraph]($n,$m))");

      would result in the two different random digraphs (which I do not want in this particular case).

      posted in Question Creation
      J
      jgray
    • same random digraphs in two separate commands?

      I have created a Maple-graded question that presents students with a random digraph (see $graphdisplay below) and asks for the corresponding adjacency matrix.

      Algorithm

      $n=range(3,5,1);

      $m=range($n,$n*($n - 1)/2,1);

      $graphdisplay=plotmaple("GraphTheory[DrawGraph](GraphTheory[RandomGraphs][RandomDigraph]($n,$m)),plotoptions='width=512,height=512'");

      $ans=maple("GraphTheory[AdjacencyMatrix](GraphTheory[RandomGraphs][RandomDigraph]($n,$m))");

      It seems to me that the random digraphs generated by these two commands should be different, yet they turn up the same and $ans gives the correct adjacency matrix every time. I thought I had made an error but the problem seems to function just fine with

      Answer:  $ans

      Grading Code: LinearAlgebra[Equal]($RESPONSE,$ans);

      Could someone please explain what is going on? 

       

      posted in Question Creation
      J
      jgray
    • question banks

      I have been looking in the Maple Cloud for questions in linear algebra and differential equations. I have found some, but I wonder if my search has missed some in cases where authors have not filled in enough details that would make their problems easier to find. If anyone knows of some Schools where I might find some question banks on these subjects, I would be grateful if you could point them out. 

      Also, if you are an author of linear algebra or differential equations questions, please consider publishing them to the Maple Cloud and adding a few details that would make them more likely to be picked up in a search through the content repository. Thank you!

      posted in Content Sharing
      J
      jgray
    • RE: Broken MathML

      Thanks very much, @jmtrik . I thought that plotmaple() was only used for plots and did not know that it could be used more generally so I did not attempt to use it.

      posted in Question Creation
      J
      jgray
    • Broken MathML

      I am trying to display a graph (i.e., a set of vertices and edges) in a question using

      $g=maple("printf(MathML[ExportPresentation]($graph))");

      where $graph is defined using 

      $graph=maple("GraphTheory[DrawGraph](GraphTheory[Graph](directed, Matrix([[0, 1, 1, 1], [1, 0, 1, 1], [1, 1, 0, 1], [1, 1, 1, 0]])))");

      However, when I preview the question only a brokenMML image is displayed. I suspect that this type of object cannot be represented in MathML. If this is true, how can I embed the image in the problem given that I ultimately want the matrix to be randomized and therefore do not want a static image?

       

      posted in Question Creation
      J
      jgray
    • Adaptive Hints

      I have read the doumentation on adding generic hints or feedback to a problem. However, what I would like to do is create adaptive hints that are triggered when a student enters a particular type of incorrect answer, in order to give custom feedback. I am primarily authoring Maple-graded and Mathematical Formula type questions.

      Can I do this in the Grading Code? Could someone illustrate this with an example? 

      posted in Question Creation
      J
      jgray

    About Us

    This forum aims to connect DigitalEd's users. For official Möbius support, please see https://www.digitaled.com/support/.

    Contact Info

    630 Weber Street North
    Suite 100
    Waterloo, ON Canada
    N2V 2N2
    .
    1.888.355.4511
    info@digitaled.com

    Community

    Quick Links

    Categories Recent Tags Popular Users Search

    Möbius Community Forum

    © DigitalEd, a division of Digital Education Ltd. 2018.   •  Terms of Use | Privacy | Trademarks

    Powered by NodeBB Forums | Contributors