Items tagged with simulate


How difficult is it to simulate gravitational influences and perturbing effects on celestial orbits with Maple? Could this syntax be altered without excessive changes to consider these aspects?

Are there somewhere worksheets to take a look at as an introduction and to see how such goals would be approached and implemented?

g[1] := (diff(a(t), t))/(t^2-1) = 1;
g[2] := (diff(a(t), t))*(diff(b(t), t)) = 1;
dsolve({eq2, eq3});
sys := DiffEquation([g[1]=1, g[2]=1], inputvariable = [b(t)], outputvariable = [a(t), b(t)]):
ts := 0.1:
t_sim := 10.0:
#in_t := Sine(1, 1, 0, 0):
#in_z := Sine(1, 1, 0, 0, samplecount = round(t_sim/ts), sampletime = ts, discrete):
in_t := t:
sol := Simulate(sys, [in_t]):
p1 := plots[odeplot](sol, [[t, a(t)]], t = 0 .. t_sim, numpoints = 200, color = red):
Error, (in DEtools/convertsys) unable to convert to an explicit first-order system
Error, (in plots/odeplot) input is not a valid dsolve/numeric solution

The following error occurred when I simulate a build-in model, anyone could help me to solve this problem? Thanks first

Hi all,


It's been a while since I have used Maple. To be honest I haven't used it for over six years.


I am trying to solve simple differential equations, however I have many issues.


I am trying to simulate what author of this paper did 06421188.pdf


My file looks like this (


Can someone help me to simulate this system? I simply can't remember how to do it.




As title , there has 2 balls(A and B) which I can change Quality 、Radius and Position for two dimensions(x and y axis),

A has a velocity and B quiescence , let A strike to B .

As shown below


I did a sample ,but i can't make it accurately .

I want to let my sample like the below sample



I want to simulate Inelastic collision



There has 2 ball which I can change  Quality and Radius.




one ball  move to another stirless ball with diferent angle




is there a way to make sure that the random values generated from myRand(), subs into M, to make sure that each cell of M is between 0 and 1?

Basically, what I need is being able to simulate some values, subject to each cell of M is between 0 and 1, and find the rank of M. I want to do that efficiently 20 times (or more possibly). Those values that make the cells out of 0 and 1 do not count as 1 of the 20 simulations.







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...

1 2 Page 1 of 2