Items tagged with simulate simulate Tagged Items Feed

Hi Everybody,

I'm having some problems simulating an algebraic system in Maple.  I want to do this for a larger system of equation (~20 equations/20 variables, with 3 inputs), but I'd like to get an idea of the form this should be in.

So, using an example out of Maple help:



inp1:=Vector[column]([1,2,3,4,5,6,7]) * 0.1;


Error, (in DynamicSystems:-Simulate) should never be here


I don't understand what this error means.  Reading the example in the help files, says the second argument should be a vector of input values.  What I would assume this would do is plugin x = 0.1, then solve y=sin(0.1), and output y.

Am I missing some syntax, or is my inputs wrong?  There are examples of how to set up an algebraic system in the help files, but no examples of how to simulate them.


Thanks in advance for any help!







I am trying to solve rigid nody dynamics on Maplesim!! Trying to simulate Gyroscopic Effect.. I want to plot Angular Momentum of that rigid body!!


How do I do this??



Hi, I just want to know if there is simulated annealing programming in maple 14 and where I can get that programming


So I am doing a project for my stat class and I'm using maple to generate the simulation of russian roulette. What I want to do is have X1 through Xn trials, and within each trial I would like to simulat a round of russian roulette where the round ends upon the gun firing. Then I want to take how many times the trigger was pulled in each trial and make a n by 1 matrix where the column is the amount of times the trigger was pulled in each round, and the rows being the specified...

hi guys,


I'm working on a project for school that involves te mechanics of billiards; I've derived some equations using mechanics but a part of my project requires me to simulate a simple situation of eg; a collision between 2 equally sized billiard balls, assuming that they are treated as particles and that there is no friction,but there is a coeffecient of restitution to be determined.


If anyone could even push me in the right...

If I have a MapleSim file that successfully runs and I want to manipulate the data and equations in Maple, how would I do that? I know how to link a MapleSim file to a Maple document, and how to pull out the system of reduced DAE's, ODE's, parameters, etc. My question is whether or not there's a simple way to have Maple solve those equations and be able to display the same type of data (graphs, export the numerical solution to the system to an Excel file, etc.) that...

Consider a simple polymer , which consist of long chains of simple molecules attached to each other, e.g:


If the interaction energy between consecutive sections ca be ignored or is low enough, the chain can be bend around at varios places to form varios configurations. One can start by  fixing the first section to a particular co-ordinate and then add additional components by use of random walk with...

i want to write a program to simulate a walk of a drunken sailor who walks out of a bar at the centre of a city. the city has a regular pattern of 24\24 square blocks. the sailor doesnt know where he is going and how to exist teh city. the question is how many blocks will he have to walk to exit the city?

let him start at the centre of the city and assume that he exists the city when he reaches either north, east, south or western borders. it can happen that he wlks...

I'm using Maple to simulate particle collision and interaction (absorption and scattering) and keep tracking its energy until each particle either get absorbed or leaked (Energy less than predefined minimum energy). I also use Maple statistical pacakge. I also need to call MATLAB link to generate histogram in a logarithmically spaced bin, a feature that I could not find anywhere in Maple and I think it is one of the reasons for calculation performance issue.

The problem...

Hi all,

I'm currently running a parameter space search via Maple scripting. The pseudo-code goes something like this:


fopen text file to write data to;

initialize parameters (variable) x, y, and z;

for x number of iterations

   A:-Simulate(model.msim, with [parameters]);

   Update parameters with new values;

   Write to text file;

end do;

fclose(text file)

Dear Maple users

I know how to create an animation of a sine curve moving over time (t) on an x-axis to simulate a moving wave. In the help menu under the topic plots,animation it is explained how to animate a ball moving along some curve. How do I combine those two animations into one? The ball is moving along a curve completely different from the sine curve!

Regards, Erik

I have to answer the following question:

simulate a modified simple random walk starting at 0 which at each step, in addition to possible unit jumps to the right (with probability p) and to the left (with prob q), may stay at its current position with probability r>0, so that p+q+r=1. We have been given the hint to type in

if (u<p) then x:=1 else if (u<p+q) then x:=-1 else x:=0 fi; fi;

and to rename the procedure, but i have no idea how to carry out the simulation?


I have to simulate some kinematic movements of machine. There are tree differential equations (ce2,ce2 amd ce3) which describe movement (there are angular velocity ac1, ac2, ac3 or angular beta, ang, teta ). I know exact solution in MatLab but I am trying do it the same in Maple (13). Unfortunatelly results-curves I recieved are not the same (In Matlab I have very smooth). Is there any Maple expert who can check my equations...



I use maplesim to simulate a very simple circuit, and want to obtain voltage of a resistor, so I check the voltage of  Probe block, but get nothing. I upload my document.

I'm a beginner in maplesim, can you give me some advices?

Can maple produce an animation while it is still calculating?

What I mean is, if Maple is calculating an animation in a loop have the displayed animation playing slightly behind the calculations so one would not have to wait until Maple is finished the full calculations.

I'm not actually sure if that's possible in Maple.  Everything I've ever done Maple has to finish it's calculations before one can even begin to view any animation.  Same thing for...

Page 1 of 1