Sunday, February 15, 2009

Maplet : Maple's GUI

Advantages of Maple 9 other facilities is the design of application programs based GUI (graphical User Interface) called MapletTM and developed since the start maple version 7. MapletTM work environment in the JavaTM (Java Runtime Environment) to handle the GUI elements such as windows, buttons, dialog boxes, toolbars, menu bars, radio buttons, plotters window, slider, and so forth. With this feature, the user interface is possible to design a more interesting and interactive as often found in the programming-visual programming. Consider the following example Maplet interface.


In the example application Maplet "Limit Function", the user enter the living expression of a math functions, and point limitnya. If you click on the button Calculate the computing results will be displayed in the text box. With facilities Maplet this, the user can design the windows, dialogue, and other visual interface so that computing can be done without the need to give commands on the worksheet interface standard. Compare with the following example, where the limit to calculate the same we should write in the form of command prompt:

> Limit((x^2-4)/(x-2),x=2)=limit((x^2-4)/(x-2),x=2);

When calculating the limit will be done the other, must write again, the limit, for example:

> Limit(x^2*sin(x),x=Pi/2)=limit(x^2*sin(x),x=Pi/2);

If we use the facilities Maplet and design applications such as window on the user click the Clear button live, the input functions and the limit point and press the Calculate live to see the results. From the comparison it appears that the application Maplet is suitable for users who do not like Maple writing lines of command-line interface standard on the worksheet.