MaplePrimes Posts

MaplePrimes Posts are for sharing your experiences, techniques and opinions about Maple, MapleSim and related products, as well as general interests in math and computing.

Latest Post
  • Latest Posts Feed
  • When replying to a reply, the text that is displayed is not the immediate reply, but rather the very first response.  This is rather annoying; I have to open a separate tab just to see what I am responding to.

    On Tuesday August 10, 2010, the first meeting of an ad hoc group focused on exploring the use of MapleSim in the engineering curriculum met at McMaster University, Hamilton, Ontario, Canada.  Faculty from McMaster University, Kettering University, Lawrence Technical University, University of Waterloo, Ryerson University, University of Ontario Inst. of Technology, and the State University of New York (Buffalo and Binghamton).

    The full-day workshop provided an ideal...

     

    This is the fourth and final part of a blog post, the first three parts of which can be found here: Generating Samples from Custom Probability Distributions (I)

    As alluded to in my previous post in this series, one of the most straight forward ways to test if a PRNG is generating good random sequences is by examining the frequency of 0's and 1's.  This is just a couple lines in Maple using Statistics:

    (**) r1 := rand(0..1):L := [seq(r1(), i=1..10000)]:
    (**) n := nops(L); tally := `+`(op(L));
    (**) Statistics:-ChiSquareGoodnessOfFitTest(
    [n-tally, tally], [n/2, n/2], ':-output'=':-hypothesis');

    Here, using the toolbar, I attempt to enter x-squared, using the superscript button: x. It shows up fine when I type this, but I don't see the raised 2 in the post.

    I thought for sure something like this would have already been done in Maple (mapleprimes).  I see it's already been done over at Mathematica.  I must admit I am a bit jealous at how much Mathematica users have done.  So anyways ... something simple

    for i from 1 to 10 do
      for j from 1 to 10 do

    This is the third post in a four-part series; the earlier posts are Generating...

    This is not a question about any technical problem with Maple.I'm not even sure that is it a question or a post.Since I'm asking something inside it,I consider it as a question.I'm sorroy that it is too long.

     

    In scientific computing(computational physics/chemestry/biology/enginnering),which needs a large amount of data to manipulate and then simulate,some high level programming languages(HLL) are used.

    Different fields have different language of choice...

    This is just an idea.  Each mapleprimes user would have an adobe file (user booklet) containing all of the posts/blogs/questions he/she has ever posted/blogged/asked on mapleprimes which would be available to mapleprimes users for download.

    I think it's a neat idea but I don't know how viable it is. 

    As a solution to solve the disjointed answers here on mapleprimes for answers bubbling up and causing a terrible mixed flow of answers.

    I propose that users have the option to have the answers sorted by date answered OR by thumbs up.  That way the flow of an answered post(question) can be followed properly or the user may just want to see the best answer first.  However I find in general I want to read all of the answers to the post but bubbling is not good...

    This is the second post in a four-part series that started with this post: Generating...

    Maple's Statistics package contains many predefined probability distributions; well-known ones such as the normal distribution and lesser-known ones such as the Gumbel distribution. For these distributions, we ship efficient algorithms that can quickly generate a large number of sample points. To generate a sample of size 106 of both of these distributions, and print the time it took to do this (in seconds), you can run the following:

    with(Statistics):

    Consider the following C code:

    I've received a suggestion offline saying that I should animate the Pacman. There are two items to animate: Pacman's mouth and pac-dots. To review how pacman's mouth moves, please have a quick look at Google Pacman doodle.

    Pacman's mouth only has three stages: open, half open and close. Let's take the pacman that I created in the previous post. Each frame of the animation is done by adjusting the radian values of the "pie" (aka Pacman's body and mouth).

    I stumbled upon this interesting quirk.  My apologies if it's already been brought up.  This is for Maple 12 on a 32 bit windows machine.  It's possibly different for newer versions and operating systems. 

    restart;
    gc();
    memory usage displays 1.37M

    restart; gc();
    memory usage displays 0.43M

    The point was that it uses more than a half a megabyte more if gc() is put on a seperate line ... interesting..

    First 133 134 135 136 137 138 139 Last Page 135 of 306