Maple Programming: New Applications
http://www.maplesoft.com/applications/category.aspx?cid=211
en-us2015 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemTue, 01 Sep 2015 16:14:01 GMTTue, 01 Sep 2015 16:14:01 GMTNew applications in the Maple Programming categoryhttp://www.mapleprimes.com/images/mapleapps.gifMaple Programming: New Applications
http://www.maplesoft.com/applications/category.aspx?cid=211
Maple Implementation of Transport Encryption Scheme Using the Secret Key of Length 479 Bits
http://www.maplesoft.com/applications/view.aspx?SID=153841&ref=Feed
An easy-to-use Maple implementation of transport encryption has been presented. It allows encrypting any file with arbitrary extension stored in the used computer system. The encrypted file contains space, alphabetic and decimal digit characters and the following special characters !#$%&'()*+,-./:;<=>?@[]^_`{|}~. These 93 printable characters can be defined by the set {32, 33, 35, seq(i, i=36 .. 91), seq(i, i=93 .. 126)} of byte values. Therefore, the encrypted file can be not only securely transmitted over the internet as an e-mail enclosure, but also protected effectively against unauthorized access. The application encrypts the name of the plaintext file as well: this way, the kind of content of the plaintext file is hidden. The encrypted file is saved in the same folder as the plaintext file. The size of the encrypted file is about 22.3% greater than the size of the plaintext file. On encryption/decryption in the GUI Text Area the user will see exhaustive information about the performed task. On decryption, the encrypted file is removed. It is worth knowing that the secret key in the application is embedded. Thus, any user can install his own secret key in the application in many ways. For example, he can change the value of the variable skc and the value of the variable seed in the procedures fne and fnd. The presented applications fed479k.mw must have permission to save and to remove the processed files. For security reason the application worksheet fed479k.mw ought to be stored in the meticulously watched over pen drive.<img src="/view.aspx?si=153841/im.jpg" alt="Maple Implementation of Transport Encryption Scheme Using the Secret Key of Length 479 Bits" align="left"/>An easy-to-use Maple implementation of transport encryption has been presented. It allows encrypting any file with arbitrary extension stored in the used computer system. The encrypted file contains space, alphabetic and decimal digit characters and the following special characters !#$%&'()*+,-./:;<=>?@[]^_`{|}~. These 93 printable characters can be defined by the set {32, 33, 35, seq(i, i=36 .. 91), seq(i, i=93 .. 126)} of byte values. Therefore, the encrypted file can be not only securely transmitted over the internet as an e-mail enclosure, but also protected effectively against unauthorized access. The application encrypts the name of the plaintext file as well: this way, the kind of content of the plaintext file is hidden. The encrypted file is saved in the same folder as the plaintext file. The size of the encrypted file is about 22.3% greater than the size of the plaintext file. On encryption/decryption in the GUI Text Area the user will see exhaustive information about the performed task. On decryption, the encrypted file is removed. It is worth knowing that the secret key in the application is embedded. Thus, any user can install his own secret key in the application in many ways. For example, he can change the value of the variable skc and the value of the variable seed in the procedures fne and fnd. The presented applications fed479k.mw must have permission to save and to remove the processed files. For security reason the application worksheet fed479k.mw ought to be stored in the meticulously watched over pen drive.153841Thu, 13 Aug 2015 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyMaple Implementation of Transport Encoding Scheme Using the Base Value Equal to 93
http://www.maplesoft.com/applications/view.aspx?SID=153817&ref=Feed
In the `RFC 4648` document (http://www.rfc-base.org/rfc-4648.html) the commonly used base 64, base 32, and base 16 encoding schemes are decribed. The output file, encoded according to this document, is about 33%, 60% and 100% greater than the input file, respectively. The presented application uses the base value equal to 93, and now the encoded file is only about 22% greater than the input file. The application must have a permission to save and to remove the files processed. It is easy to use - the reader is informed which tasks are being performed for any selected option, namely, he will know the input file size and name, the output file size and name, the encoding/decoding rates.In the `RFC 4648` document (http://www.rfc-base.org/rfc-4648.html) the commonly used base 64, base 32, and base 16 encoding schemes are decribed. The output file, encoded according to this document, is about 33%, 60% and 100% greater than the input file, respectively. The presented application uses the base value equal to 93, and now the encoded file is only about 22% greater than the input file. The application must have a permission to save and to remove the files processed. It is easy to use - the reader is informed which tasks are being performed for any selected option, namely, he will know the input file size and name, the output file size and name, the encoding/decoding rates.153817Thu, 25 Jun 2015 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyComputational Performance with evalhf and Compile: A Newton Fractal Case Study
http://www.maplesoft.com/applications/view.aspx?SID=153683&ref=Feed
<p>This Tips and Techniques article focuses on the relative performance of Maple's various modes for floating-point computations. The example used here is the computation of a particular Newton fractal, which is easily parallelizable. We compute an image representation for this fractal under several computational modes, using both serial and multithreaded computation schemes.</p>
<p>This article is a follow up to a previous Tips and Techniques, <a href="http://www.maplesoft.com/applications/view.aspx?SID=153645">evalhf, Compile, hfloat and all that</a>, which discusses functionality differences amongst Maple's the different floating-point computation modes available in Maple.</p><img src="/view.aspx?si=153683/thumb.jpg" alt="Computational Performance with evalhf and Compile: A Newton Fractal Case Study" align="left"/><p>This Tips and Techniques article focuses on the relative performance of Maple's various modes for floating-point computations. The example used here is the computation of a particular Newton fractal, which is easily parallelizable. We compute an image representation for this fractal under several computational modes, using both serial and multithreaded computation schemes.</p>
<p>This article is a follow up to a previous Tips and Techniques, <a href="http://www.maplesoft.com/applications/view.aspx?SID=153645">evalhf, Compile, hfloat and all that</a>, which discusses functionality differences amongst Maple's the different floating-point computation modes available in Maple.</p>153683Fri, 26 Sep 2014 04:00:00 ZDave LinderDave LinderGenerating random numbers efficiently
http://www.maplesoft.com/applications/view.aspx?SID=153662&ref=Feed
Generating (pseudo-)random values is a frequent task in simulations and other programs. For some situations, you want to generate some combinatorial or algebraic values, such as a list or a polynomial; in other situations, you need random numbers, from a distribution that is uniform or more complicated. In this article I'll talk about all of these situations.<img src="/view.aspx?si=153662/thumb.jpg" alt="Generating random numbers efficiently" align="left"/>Generating (pseudo-)random values is a frequent task in simulations and other programs. For some situations, you want to generate some combinatorial or algebraic values, such as a list or a polynomial; in other situations, you need random numbers, from a distribution that is uniform or more complicated. In this article I'll talk about all of these situations.153662Mon, 18 Aug 2014 04:00:00 ZDr. Erik PostmaDr. Erik Postmaevalhf, Compile, hfloat and all that
http://www.maplesoft.com/applications/view.aspx?SID=153645&ref=Feed
Users sometimes ask how to make their floating-point (numeric) computations perform faster in Maple. The answers often include references to special terms such as evalhf, the Compiler, and option hfloat. A difficulty for the non-expert lies in knowing which of these can be used, and when. This Tips and Techniques attempts to clear up some of the mystery of these terms, by discussion and functionality comparison.<img src="/applications/images/app_image_blank_lg.jpg" alt="evalhf, Compile, hfloat and all that" align="left"/>Users sometimes ask how to make their floating-point (numeric) computations perform faster in Maple. The answers often include references to special terms such as evalhf, the Compiler, and option hfloat. A difficulty for the non-expert lies in knowing which of these can be used, and when. This Tips and Techniques attempts to clear up some of the mystery of these terms, by discussion and functionality comparison.153645Tue, 22 Jul 2014 04:00:00 ZDave LinderDave LinderElGamal E-mail Encryption Scheme
http://www.maplesoft.com/applications/view.aspx?SID=153538&ref=Feed
<p>The submission shows how to implement the user-friendly, but mathematically sophisticated strong e-mail encryption scheme using the ElGamal algorithm working in the multiplicative group of GF(p^m) (http://www.maplesoft.com/applications/view.aspx?SID=4403, J. L. G. Pardo - Introduction to Cryptography with Maple). On unpacking the file `elgmail.zip` the user will see three public key files: `ElGpub_Eve_Flower.m`, `ElGpub_Jack_Herod.m`, `ElGpub_Michele_Lazy.m` and three application worksheets: `ElGedm_Flower.mw`, `ElGedm_Herod.mw`, `ElGedm_Lazy.mw` in which the proper private keys are embedded. Each of the three users can encrypt an e-mail letter and can send the encrypted message to the required addressee, knowing its public key. Evidently, any user can also decrypt the proper encrypted message, addressed to him. The way of generating the public and private keys demonstrates the worksheet ElGkg.mw. The data contained in the names of the computed keys using the worksheet ElGkg.mw is evident. In the presented example the e-mail message should contain no more than 782 printable characters with byte values less than 127. The scheme can be accepted for any e-mail system: the public keys and encrypted messages are Maple `*.m` format files containing characters with 91 byte values from the set {10, 33 .. 122}. The user can also observe the time needed for encryption, decryption and the computation of keys, and the encryption scheme redundancy. An example test message and its cryptogram is also presented and the user can check for which the encrypted test message ought to be sent.</p><img src="/view.aspx?si=153538/image.PNG" alt="ElGamal E-mail Encryption Scheme" align="left"/><p>The submission shows how to implement the user-friendly, but mathematically sophisticated strong e-mail encryption scheme using the ElGamal algorithm working in the multiplicative group of GF(p^m) (http://www.maplesoft.com/applications/view.aspx?SID=4403, J. L. G. Pardo - Introduction to Cryptography with Maple). On unpacking the file `elgmail.zip` the user will see three public key files: `ElGpub_Eve_Flower.m`, `ElGpub_Jack_Herod.m`, `ElGpub_Michele_Lazy.m` and three application worksheets: `ElGedm_Flower.mw`, `ElGedm_Herod.mw`, `ElGedm_Lazy.mw` in which the proper private keys are embedded. Each of the three users can encrypt an e-mail letter and can send the encrypted message to the required addressee, knowing its public key. Evidently, any user can also decrypt the proper encrypted message, addressed to him. The way of generating the public and private keys demonstrates the worksheet ElGkg.mw. The data contained in the names of the computed keys using the worksheet ElGkg.mw is evident. In the presented example the e-mail message should contain no more than 782 printable characters with byte values less than 127. The scheme can be accepted for any e-mail system: the public keys and encrypted messages are Maple `*.m` format files containing characters with 91 byte values from the set {10, 33 .. 122}. The user can also observe the time needed for encryption, decryption and the computation of keys, and the encryption scheme redundancy. An example test message and its cryptogram is also presented and the user can check for which the encrypted test message ought to be sent.</p>153538Wed, 02 Apr 2014 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnySimon Tatham's 5 Puzzle Games
http://www.maplesoft.com/applications/view.aspx?SID=152142&ref=Feed
<p>It has been shown how to implement one-worksheet application containing six *.exe files. The files, embedded in the presented statham5mp.mw Maple worksheet, allow the Maple user to play Simon Tatham's five one-player puzzle games</p>
<p>(<a href="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/">http://www.chiark.greenend.org.uk/~sgtatham/puzzles/</a>).</p>
<p>Note: For proper functioning of this application, this application must be saved in a location with no spaces in the path name, e.g. C:\games.</p><img src="/applications/images/app_image_blank_lg.jpg" alt="Simon Tatham's 5 Puzzle Games" align="left"/><p>It has been shown how to implement one-worksheet application containing six *.exe files. The files, embedded in the presented statham5mp.mw Maple worksheet, allow the Maple user to play Simon Tatham's five one-player puzzle games</p>
<p>(<a href="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/">http://www.chiark.greenend.org.uk/~sgtatham/puzzles/</a>).</p>
<p>Note: For proper functioning of this application, this application must be saved in a location with no spaces in the path name, e.g. C:\games.</p>152142Tue, 24 Sep 2013 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyHohmann Elliptic Transfer Orbit with Animation
http://www.maplesoft.com/applications/view.aspx?SID=151351&ref=Feed
<p>Abstract<br /><br />The main purpose of this article is to show how to use Hohmann elliptic transfer in two situations:<br />a- When one manned spaceship is trying to catch up with an other one <br />on the same circular orbit around Earth.<br />b- When delivering a payload from Earth to a space station on a circular <br />orbit around Earth using 2-stage rocket .<br /><br />The way we set up the problem is as follows:<br />Consider two manned spaceships with astronauts Sally & Igor , the latter<br />lagging behind Sally by a given angle = 4.5 degrees while both are on the same<br />circular orbit C2 about Earth. A 2d lower circular orbit C1 is given. <br />Find the Hohmann elliptic orbit that is tangent to both orbits which allows<br />Sally to maneuver on C1 then to get back to the circular orbit C2 alongside Igor.<br /><br />Though the math was correct , however the final result we found was not !! <br />It was somehow tricky to find the culprit!<br />We have to restate the problem to get the correct answer. <br />The animation was then set up using the correct data. <br />The animation is a good teaching help for two reasons:<br />1- it gives a 'hand on' experience for anyone who wants to fully understand it,<br />2- it is a good lesson in Maple programming with many loops of the type 'if..then'.<br /><br />Warning<br /><br />This particular animation is a hog for the CPU memory since data accumulated <br />for plotting reached 20 MB! This is the size of this article when animation is <br />executed. For this reason and to be able to upload it I left the animation <br />procedure non executed which drops the size of the article to 300KB.<br /><br />Conclusion<br /><br />If I can get someone interested in the subject of this article in such away that he or <br />she would seek further information for learning from other sources, my efforts<br />would be well rewarded.</p><img src="/view.aspx?si=151351/Elliptic_image1.jpg" alt="Hohmann Elliptic Transfer Orbit with Animation" align="left"/><p>Abstract<br /><br />The main purpose of this article is to show how to use Hohmann elliptic transfer in two situations:<br />a- When one manned spaceship is trying to catch up with an other one <br />on the same circular orbit around Earth.<br />b- When delivering a payload from Earth to a space station on a circular <br />orbit around Earth using 2-stage rocket .<br /><br />The way we set up the problem is as follows:<br />Consider two manned spaceships with astronauts Sally & Igor , the latter<br />lagging behind Sally by a given angle = 4.5 degrees while both are on the same<br />circular orbit C2 about Earth. A 2d lower circular orbit C1 is given. <br />Find the Hohmann elliptic orbit that is tangent to both orbits which allows<br />Sally to maneuver on C1 then to get back to the circular orbit C2 alongside Igor.<br /><br />Though the math was correct , however the final result we found was not !! <br />It was somehow tricky to find the culprit!<br />We have to restate the problem to get the correct answer. <br />The animation was then set up using the correct data. <br />The animation is a good teaching help for two reasons:<br />1- it gives a 'hand on' experience for anyone who wants to fully understand it,<br />2- it is a good lesson in Maple programming with many loops of the type 'if..then'.<br /><br />Warning<br /><br />This particular animation is a hog for the CPU memory since data accumulated <br />for plotting reached 20 MB! This is the size of this article when animation is <br />executed. For this reason and to be able to upload it I left the animation <br />procedure non executed which drops the size of the article to 300KB.<br /><br />Conclusion<br /><br />If I can get someone interested in the subject of this article in such away that he or <br />she would seek further information for learning from other sources, my efforts<br />would be well rewarded.</p>151351Wed, 04 Sep 2013 04:00:00 ZDr. Ahmed BaroudyDr. Ahmed BaroudyBase 128 Encoding Scheme
http://www.maplesoft.com/applications/view.aspx?SID=147458&ref=Feed
<p>In the submission a new encoding/decoding method of files, which is not described in RFC documents, named base 128 encoding scheme, has been presented. The size of the file, encoded using the presented method, equals to 1.1428 of the size of original file, while the commonly used base 64 encoding generates encoded file having the size 33% greater than the size of original file. </p><img src="/applications/images/app_image_blank_lg.jpg" alt="Base 128 Encoding Scheme" align="left"/><p>In the submission a new encoding/decoding method of files, which is not described in RFC documents, named base 128 encoding scheme, has been presented. The size of the file, encoded using the presented method, equals to 1.1428 of the size of original file, while the commonly used base 64 encoding generates encoded file having the size 33% greater than the size of original file. </p>147458Fri, 31 May 2013 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyC64K366 "Keyless" File Encryption
http://www.maplesoft.com/applications/view.aspx?SID=147752&ref=Feed
<p>This maplet application fulfilling the role of the secret key uses base 64 encoding scheme non-linear transformations for encrypting or decrypting e-mailed files. The encrypted files with extension ".e64" contain only 64 characters belonging to the set of base 64 encoding scheme alphabet and 23 characters "()<>[]{}|-*^_!?@#$%&,:;". The application uses original encryption tool named C64K366. The number following the letter "C" means that any encrypted file contains only 64 characters with ASCII decimals belonging to the set {33, 35 .. 38, 40 .. 45, 47 .. 60, 62 .. 91, 93 .. 95, 97 .. 125}. K366 means that the secret key length equals to 366 bits. For proper functioning of the application, the c64k366.maplet must be saved in a location with no spaces in the path name. </p><img src="/applications/images/app_image_blank_lg.jpg" alt="C64K366 "Keyless" File Encryption" align="left"/><p>This maplet application fulfilling the role of the secret key uses base 64 encoding scheme non-linear transformations for encrypting or decrypting e-mailed files. The encrypted files with extension ".e64" contain only 64 characters belonging to the set of base 64 encoding scheme alphabet and 23 characters "()<>[]{}|-*^_!?@#$%&,:;". The application uses original encryption tool named C64K366. The number following the letter "C" means that any encrypted file contains only 64 characters with ASCII decimals belonging to the set {33, 35 .. 38, 40 .. 45, 47 .. 60, 62 .. 91, 93 .. 95, 97 .. 125}. K366 means that the secret key length equals to 366 bits. For proper functioning of the application, the c64k366.maplet must be saved in a location with no spaces in the path name. </p>147752Mon, 27 May 2013 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyBase 32 and Base 32 Extended Hex Encoding Schemes
http://www.maplesoft.com/applications/view.aspx?SID=147431&ref=Feed
<p>Two one-maplet applications performing base 32 and base 32 extended hex selected file encoding and decoding according to RFC 4648 are presented. The encoded file does not contain 'line breaks' control characters.</p><img src="/applications/images/app_image_blank_lg.jpg" alt="Base 32 and Base 32 Extended Hex Encoding Schemes" align="left"/><p>Two one-maplet applications performing base 32 and base 32 extended hex selected file encoding and decoding according to RFC 4648 are presented. The encoded file does not contain 'line breaks' control characters.</p>147431Tue, 21 May 2013 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyThe SHA-3 family of hash functions and their use for message authentication
http://www.maplesoft.com/applications/view.aspx?SID=146570&ref=Feed
<p>Implementation of the cryptographic hash functions based on the Keccak sponge function (designed by G. Bertoni, J. Daemen, M. Peeters and G. Van Assche) which was declared on October 2, 2012 the winner of the NIST Hash Function Competition. These hash functions are going to be integrated in the upcoming SHA-3 standard, which is currently being developed by NIST. The Message Authentication Code HMAC-SHA-3, based on these functions, is also implemented.</p><img src="/view.aspx?si=146570/SHA3family_thumb.png" alt="The SHA-3 family of hash functions and their use for message authentication" align="left"/><p>Implementation of the cryptographic hash functions based on the Keccak sponge function (designed by G. Bertoni, J. Daemen, M. Peeters and G. Van Assche) which was declared on October 2, 2012 the winner of the NIST Hash Function Competition. These hash functions are going to be integrated in the upcoming SHA-3 standard, which is currently being developed by NIST. The Message Authentication Code HMAC-SHA-3, based on these functions, is also implemented.</p>146570Wed, 01 May 2013 04:00:00 ZJosé Luis Gómez PardoJosé Luis Gómez PardoBase 64 "Keyless" File Encryption
http://www.maplesoft.com/applications/view.aspx?SID=145918&ref=Feed
Abstract: A "keyless" cipher not using complex mathematical formulas but applying non-linear transformations of base 64 encoding scheme has been described. The word "keyless" means that the encrypting/decrypting application itself fulfills the role of the secret key and should be carefully watched and stored. Presented tool is mainly suitable for cryptographic protection of e-mail enclosures.<BR>
<P>
Note: For proper functioning of this application, this application must be saved in a location with no spaces in the path name, e.g. C:\keyless.<img src="/applications/images/app_image_blank_lg.jpg" alt="Base 64 "Keyless" File Encryption" align="left"/>Abstract: A "keyless" cipher not using complex mathematical formulas but applying non-linear transformations of base 64 encoding scheme has been described. The word "keyless" means that the encrypting/decrypting application itself fulfills the role of the secret key and should be carefully watched and stored. Presented tool is mainly suitable for cryptographic protection of e-mail enclosures.<BR>
<P>
Note: For proper functioning of this application, this application must be saved in a location with no spaces in the path name, e.g. C:\keyless.145918Mon, 15 Apr 2013 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyCar Loan Calculator
http://www.maplesoft.com/applications/view.aspx?SID=145174&ref=Feed
<p>This loan calculator facilitates the life of a borrower. By entering the <strong>purchase price</strong>, the <strong>down payment</strong>, the <strong>number of years</strong> it takes to repay the loan, the <strong>payment frequency</strong>, the <strong>annual interest rate</strong>, and clicking on the "<strong>calculate</strong>" buttom, the calculator will give you the <strong>amount of payment</strong> for each payment period.</p>
<p> </p>
<p>Want to make a loan? Try it out and see how things change with respect to each element.</p><img src="/applications/images/app_image_blank_lg.jpg" alt="Car Loan Calculator" align="left"/><p>This loan calculator facilitates the life of a borrower. By entering the <strong>purchase price</strong>, the <strong>down payment</strong>, the <strong>number of years</strong> it takes to repay the loan, the <strong>payment frequency</strong>, the <strong>annual interest rate</strong>, and clicking on the "<strong>calculate</strong>" buttom, the calculator will give you the <strong>amount of payment</strong> for each payment period.</p>
<p> </p>
<p>Want to make a loan? Try it out and see how things change with respect to each element.</p>145174Wed, 27 Mar 2013 04:00:00 ZZinan WangZinan WangOM applications
http://www.maplesoft.com/applications/view.aspx?SID=144190&ref=Feed
It has been shown a new approach to Maple programming allowing to create so-called OM applications (OM means One-Maplet). The approach consists inusing Base64 encoding scheme for embedding files of any format in the source codeof the maplet. In the presented "Entertainment" OM application one *.jpg file and five *.exe files are embedded. For Windows only
<P>
<B>Note:</B> For proper functioning of this application, this Maplet must be saved in a location with no spaces in the path name, e.g. C:\entertainment.<img src="/applications/images/app_image_blank_lg.jpg" alt="OM applications" align="left"/>It has been shown a new approach to Maple programming allowing to create so-called OM applications (OM means One-Maplet). The approach consists inusing Base64 encoding scheme for embedding files of any format in the source codeof the maplet. In the presented "Entertainment" OM application one *.jpg file and five *.exe files are embedded. For Windows only
<P>
<B>Note:</B> For proper functioning of this application, this Maplet must be saved in a location with no spaces in the path name, e.g. C:\entertainment.144190Tue, 05 Mar 2013 05:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnySlide Show Maplets Generator
http://www.maplesoft.com/applications/view.aspx?SID=135501&ref=Feed
<p>Any lecturer knows that it is conveniently to store many image slide files in one slide-show maplet file. The presented application performs this task.</p><img src="/view.aspx?si=135501/m16.jpg" alt="Slide Show Maplets Generator" align="left"/><p>Any lecturer knows that it is conveniently to store many image slide files in one slide-show maplet file. The presented application performs this task.</p>135501Thu, 28 Jun 2012 04:00:00 ZCzeslaw KoscielnyCzeslaw KoscielnyObject-Oriented Programming in Maple 16
http://www.maplesoft.com/applications/view.aspx?SID=132199&ref=Feed
The Maple language is a full programming language designed for mathematical computation, combining the best principles from procedural, functional, and object-oriented programming. Maple 16 adds support for light-weight objects for enhanced object-oriented programming. Such objects integrate closely with Maple using operator overloading, making your objects almost indistinguishable from built-in Maple types. This example illustrates the use of light-weight objects.<img src="/view.aspx?si=132199/thumb.jpg" alt="Object-Oriented Programming in Maple 16" align="left"/>The Maple language is a full programming language designed for mathematical computation, combining the best principles from procedural, functional, and object-oriented programming. Maple 16 adds support for light-weight objects for enhanced object-oriented programming. Such objects integrate closely with Maple using operator overloading, making your objects almost indistinguishable from built-in Maple types. This example illustrates the use of light-weight objects.132199Tue, 27 Mar 2012 04:00:00 ZMaplesoftMaplesoftSpherical Pendulum with Animation
http://www.maplesoft.com/applications/view.aspx?SID=132143&ref=Feed
<p>Some years ago I have written a Maple document ( already on Maple's online) on the subject of animating a simple pendulum for large angles of oscillation. This gave me the chance to test Maple command JacobiSN(time, k). I was very much pleased to see Maple do a wonderful job in getting these Jacobi's elliptic functions without a glitch.<br />Today I am back to these same functions for a similar purpose though much more sophisticated than the previous one.<br />The idea is:<br />1- to get the differential equations of motion for the Spherical Pendulum (SP),<br />2- to solve them,<br />3- to use Maple for finding the inverse of these Elliptic Integrals i.e. finding the displacement z as function of time,<br />4- to get a set of coordinates [x, y, z] for the positions of the bob at different times for plotting,<br />5- finally to work out the necessary steps for the purpose of animation.<br />It turns out that even with only 3 oscillations where each is defined with only 20 positions of the bob for a total of 60 points on the graph, the animation is so overwhelming that Maple reports:<br /> " the length of the output exceeds 1 million".<br />Not withstanding this warning, Maple did a perfect job by getting the animation to my satisfaction. <br />Note that with only 60 positions of the bob, the present article length is equal to 11.3 MB! To be able to upload it, I have to save it without running the last command related to the animation. Doing so I reduced it to a mere 570 KB.<br /><br />It was tiring to get through a jumble of formulas, calculations and programming so I wonder why I have to go through all this trouble to get this animation and yet one can get the same thing with much better animation from the internet. I think the reason is the challenge to be able to do things that others have done before and secondly the idea of creating something form nothing then to see it working as expected, gives (at least to me) a great deal of pleasure and satisfaction.<br />This is beside the fact that, to my knowledge, no such animation for (SP) has been published on Maple online with detailed calculations & programming as I did.<br /><br /></p><img src="/view.aspx?si=132143/433082\Spherical_Pendulum_p.jpg" alt="Spherical Pendulum with Animation" align="left"/><p>Some years ago I have written a Maple document ( already on Maple's online) on the subject of animating a simple pendulum for large angles of oscillation. This gave me the chance to test Maple command JacobiSN(time, k). I was very much pleased to see Maple do a wonderful job in getting these Jacobi's elliptic functions without a glitch.<br />Today I am back to these same functions for a similar purpose though much more sophisticated than the previous one.<br />The idea is:<br />1- to get the differential equations of motion for the Spherical Pendulum (SP),<br />2- to solve them,<br />3- to use Maple for finding the inverse of these Elliptic Integrals i.e. finding the displacement z as function of time,<br />4- to get a set of coordinates [x, y, z] for the positions of the bob at different times for plotting,<br />5- finally to work out the necessary steps for the purpose of animation.<br />It turns out that even with only 3 oscillations where each is defined with only 20 positions of the bob for a total of 60 points on the graph, the animation is so overwhelming that Maple reports:<br /> " the length of the output exceeds 1 million".<br />Not withstanding this warning, Maple did a perfect job by getting the animation to my satisfaction. <br />Note that with only 60 positions of the bob, the present article length is equal to 11.3 MB! To be able to upload it, I have to save it without running the last command related to the animation. Doing so I reduced it to a mere 570 KB.<br /><br />It was tiring to get through a jumble of formulas, calculations and programming so I wonder why I have to go through all this trouble to get this animation and yet one can get the same thing with much better animation from the internet. I think the reason is the challenge to be able to do things that others have done before and secondly the idea of creating something form nothing then to see it working as expected, gives (at least to me) a great deal of pleasure and satisfaction.<br />This is beside the fact that, to my knowledge, no such animation for (SP) has been published on Maple online with detailed calculations & programming as I did.<br /><br /></p>132143Mon, 26 Mar 2012 04:00:00 ZDr. Ahmed BaroudyDr. Ahmed BaroudyMonthly Calendars Generator
http://www.maplesoft.com/applications/view.aspx?SID=124304&ref=Feed
<p>In the application the user-friendly tool for generating</p>
<p>monthly julian calendars has been presented.</p>
<p>After entering a year and a number of month,</p>
<p>the text file containing the desired monthly calendar</p>
<p>has been generated.</p><img src="/applications/images/app_image_blank_lg.jpg" alt="Monthly Calendars Generator" align="left"/><p>In the application the user-friendly tool for generating</p>
<p>monthly julian calendars has been presented.</p>
<p>After entering a year and a number of month,</p>
<p>the text file containing the desired monthly calendar</p>
<p>has been generated.</p>124304Tue, 02 Aug 2011 04:00:00 ZProf. Czeslaw KoscielnyProf. Czeslaw KoscielnyUsing Maple to Solve a Peg Board Puzzle Game
http://www.maplesoft.com/applications/view.aspx?SID=119107&ref=Feed
With the addition of Maple 15's new parallel multi-process features, and beefed up Grid Computing package, I was recently thinking about big examples that could show off how fast Maple can run on modern multi-core computers. My mind turned back to this toy game, and I wondered just how long it would take to find a solution in Maple.<img src="/view.aspx?si=119107/thumb.jpg" alt="Using Maple to Solve a Peg Board Puzzle Game" align="left"/>With the addition of Maple 15's new parallel multi-process features, and beefed up Grid Computing package, I was recently thinking about big examples that could show off how fast Maple can run on modern multi-core computers. My mind turned back to this toy game, and I wondered just how long it would take to find a solution in Maple.119107Thu, 21 Apr 2011 04:00:00 ZPaul DeMarcoPaul DeMarco