Maple (software) - Examples of Maple Code

Examples of Maple Code

Sample imperative programming constructs:

myfac := proc(n::nonnegint) local out, i; out := 1; for i from 2 to n do out := out * i end do; out end proc;

Simple functions can also be defined using the "maps to" arrow notation:

myfac := n -> product( i, i=1..n );

Read more about this topic:  Maple (software)

Famous quotes containing the words examples of, examples, maple and/or code:

    There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring ‘em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.
    Bernard Mandeville (1670–1733)

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    Her teacher’s certainty it must be Mabel
    Made Maple first take notice of her name.
    She asked her father and he told her, “Maple
    Maple is right.”
    Robert Frost (1874–1963)

    Faultless honesty is a sine qua non of business life. Not alone the honesty according to the moral code and the Bible. When I speak of honesty I refer to the small, hidden, evasive meannesses of our natures. I speak of the honesty of ourselves to ourselves.
    Alice Foote MacDougall (1867–1945)