Items tagged with simulate

How difficult is it to simulate gravitational influences and perturbing effects on celestial orbits with Maple? Could this syntax http://www.maplesoft.com/applications/view.aspx?SID=4484&view=html 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});
with(DynamicSystems):
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 (Pendulum.mw)

 

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

 

Cheers,

Bart

Hi everyone.

I have a question:

How I can simulate the amplification of the beam in a diode-pumped ytterbium-doped material?

I am work on thin disk laser resonators and its gain medium is Yb:YAG.

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 .

test.mw

I want to let my sample like the below sample

http://www.mapleprimes.com/questions/202467-How-Does-Maple-Make-A-Rutherford-Scattering-

 

 

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

M:=Array([[a+2*b,b],[x1+y1,z1+z2]]);
pars:=indets(M);
npars:=numelems(pars);

myRand:=RandomTools[Generate](float(range=-3..3),makeproc=true):

set1:={seq(pars[i]=myRand(),i=1..npars)};
numM:=subs(set1,M);
LinearAlgebra:-Rank(numM);

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.

 

Thanks,

 

casper

 

 

Hi,

I trying to simulate a force sensor on robot arm, but every time I try something, I get nothing from my sensor, can you help me?

 

Here it's my "design":

 

Also, if I add a rigid body I get this error:

Thanks!

 

 

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:

with(DynamicSystems);

sys1:=AlgEquation([y=sin(x)],[x],[y],discrete=true,sampletime=0.001);

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

res:=Simulate(sys1,[inp1]);

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!

 

 

 

 

Hello!!

 

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

 

Thanks

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

1 2 Page 1 of 2