Items tagged with components components Tagged Items Feed

 

The Locator object is a nice piece of Mathematica's Manipulate command's functionality. Perhaps Maple's Explore command could do something as good.

Here below is a roughly laid out example, as a Worksheet. Of course, this is not...

Good afternoon

i have problem when i am using components.

i want to solve a determinant equation and show in MathContainer4

 

thank you for your help

ejemplo_09-08-201.mw

 

 

Another feature added to Maple 15 partially in response to the MaplePrimes forums is the new/improved ?HTTP package.  It provides one-step commands for fetching data from the web: much simpler than using the ?Sockets package directly. In most cases, the command ?HTTP,Get is what you would use:

 (s, page, h) := HTTP:-Get("http://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors"):

The above fetches the HTML source of a page from Wikipedia and stores it as a string 'page'. The other two outputs are 's', and integer HTTP status code and 'h' a table of the headers returned in the HTTP response from the server.  Compare this to the amount of code needed to fetch data in my Baby Names application for Maple 12, for example.

Now that Maple 15 is out, I thought I should share this little application I made: GoalTracker.mw. It is an application partially inspired by the BMI tracker in Nintendo's WiiFit application; you could easily use it to track a weight loss goal. But it could also be used to track other quantifiable goals. I am posting it here mostly because it takes advantage of two new features in Maple 15.

To the Ineffable All,

     I don't understand what MapToBasis is doing to get the results shown in the example program.  Specifically, why are the x-y components interchanged and a sign added?  It seems to plot OK, but the components of the vector appear wrong to me. 

Ratch

VectorCalculus.mw

Hello, MaplePrimes!

I want to create a custom component to model dynamics of a movable pulley, which can rotate and move along some direction (translational motion). I’ve got dynamic system, which describes both motions of a pulley. Some information about this dynamic system:

 

Hello, MaplePrimes!

Could you please tell me, how to select which variables are “input” and which ones are “output” during a custom component definition in MapleSim?

Thank you.

Dynamic export file

January 24 2011 by yaadram 0 Maple 14

Hello,

Is there a way to export a file from Maple so that somebody without Maple can use ? My project is a dynamic one with components that need to be used by the "Reader".

 

Thanks,

 

Yaad

This is not really the next part in my randomness series, but more of an aside.  I used Maple's embedded components to use the Lotto649 drawing data from my last post to create a historical lottery simulator.  Basically, you fill in your prefered numbers, and it simulates you playing the lottery in every draw since 1982.

I have recently upgraded to Maple 14, and I can no longer cut and paste syntax between components when I am editing their properties.  Is this normal, or do I have to adjust a setting?

Thanks,

Phil

Hi,

I'd like to display a UNsimplified mathematical expression in a Mathcontainer component using a Button component. In Maple Help under Mathcontainer, it is writing that we can display a unsimplified expression using the value attribut. For example:

Do(%Mathcontainer0(value) = a^2*b/a);

should display the unsimplified expression in the Mathcontainer0 component. And

 Do(%Mathcontainer0(expression) = a^2*b/a);

In a Button, this command enables us to display in a Mathcontainer a Delta  (Delta). 

D(%Mathcontainer0 = 'Delta');

However, I want to display Delta y. (Delta y). If I write

D(%Mathcontainer0 = 'Delta y');

I couldn't set plot view ranges for plot component (in the attached worksheet). How can i do that?

example worksheet has to draw an ellipse whose center coordinates are determined by two sliders (lef tslider for x, right slider for y). I used following callback function

Do ( xpos = %xPos );
Do ( ypos = %yPos );

Do( %Plot0 = plots[display]( plottools[ellipse]([xpos,ypos],3,4)), view=[-10..110,-10..110],axes=boxed );

When i try setting this task at prompt, it succeeds ...

I am having a problem working with a slider and a plot component in Maple 14. The slider specifies the domain of an animation I am trying to show. Whenever the slider's value is changed, I have code that should change the plot property "play" to "true" so that the animation begins. However, it fails to play the animation. After some troubleshooting, I found that the exact same code works in a Toggle Button component, and I also discovered that the Slider...

An improvement which would make many applications involving Components a lot better would be if an "image" were a first-class object in Maple. That is to say, if an image object could be used in Components without having to refer to an external file.

It's a big weakness in Maple's functionality, that things like the following don't work.

bar:=ImageTools:-Create(...);

DocumentTools:-SetProperty(Label0,image,bar);

The above is just an...

1 2 Page 1 of 2