Simulation is the imitation of the operation of a real-world process or system over time.
5
votes
2answers
126 views
Simulating a Stochastic Process within certain bounds
I would like to simulate paths of a Geometric Brownian Motion till it hits one of two barriers, say 10 or 200.
...
-1
votes
0answers
99 views
Simulating Queueing Disciplines in Mathematica
Does anybody have pointers to code for simulating queuing systems in Mathematica? The stuff built in to v9 is great, but it is just a start. In particular, I'm looking for things like weighted round ...
-3
votes
1answer
132 views
Symbolic Simulations
I have 9 nonlinear equations and 10 unknowns. It is not possible to obtain a numeric solution but I do get a parametric solution. It is useful in my case because I want to observe how parameters (p1, ...
12
votes
3answers
305 views
Simulate a simple spinner
I'm teaching some simple ideas in probability to students in grade 7.
The "spinner" below works, but I'm wondering how I could make it just a bit more realistic by having it actually "spin" around a ...
10
votes
1answer
177 views
Simulating discrete time stochastic dynamic systems
What is the canonical way of simulating discrete time stochastic dynamical systems in Mathematica using the new functionality of Random processes?
To take a concrete example, lets consider the ...
3
votes
2answers
143 views
How do I represent a system dynamics feedback loop?
In System Dynamics, if I want represent the relationship between Speed and Distances, I create a Flow (Speed) and a Stock (Distance) as you can see in this Insight Maker Sample . Heres an Image of how ...
1
vote
2answers
280 views
Running a Numerical Simulation on a System of Differential Equations with unique initial conditions
I have a system of differential equations as follows:
...
10
votes
2answers
271 views
Efficient GeometricBrownianMotionProcess Monte Carlo simulation
Following the answers in this post, I'm trying to implement something similar. If the GBM stays inside the corridor [L, U] between predefined times it should return ...
7
votes
2answers
1k views
Creating a simulation of our Solar System
As the title says, my objective is to create a simulation of the motion of the planets in our Solar System using Mathematica. All the theoretical background regarding the equations of motion of ...
4
votes
1answer
436 views
Monte Carlo simulation using geometric Brownian motion
I'm relatively new to Mathematica programming, so forgive my rather unsophisticated question: I'm trying to do a Monte Carlo simulation using geometric Brownian motion (GBM). I want to write a ...
4
votes
1answer
279 views
How to start simulating physical problems?
I'm quite new to Mathematica, I have version 9. I need to use it to simulate some physical problems. I know the equations (like Maxwell's equations and Newton's laws and so on), but I have no real ...
6
votes
1answer
189 views
1D Random Walk with Excluded Sites and Variable Time-Step
Here is the physical problem I would like to simulate:
Consider the following variations to the 1d random walk:
allow for certain, random sites to be excluded with probability 1/2.
allow for the ...
14
votes
1answer
254 views
Simulating Theatre puzzle
I have been trying to simulate the process of the theatre puzzle from the Joy of X (Strogatz).
The puzzle, and some relevant material are here.
My simplistic coding for this process follows:
...
9
votes
2answers
265 views
Fast Simulations with Compile
this post relates to another post that I didn't follow up propely. If I wanted to simulate
a system of stochastic proesses like the following, and loop over this run many many times
would writing the ...
8
votes
2answers
329 views
Fluorescence Correlation Spectroscopy Simulation
I am simulating Fluorescence Correlation Spectroscopy which basically involves tracking the random motion of particles in a box with periodic boundary conditions and then calculating their intensity ...
3
votes
0answers
164 views
How to save (large) data generated from simulations
The following is a simple example of a much larger simulation that I want to run
Define some processes
...
2
votes
1answer
195 views
Speed up iterated manipulations of a graph / table
I am trying to generate a version of Watts' model of cascading shocks to a network following the discussion on p. 20-25 of this article.
The basic premise is to use the ...
5
votes
4answers
491 views
3D Random Walk with Periodic Boundary Conditions
I am working on a 3D random walk with periodic boundary conditions and have written a program that will do this for me but it is extremely slow. Does anyone have any suggestions on how I could speed ...
11
votes
1answer
321 views
Simulating Stochastic Processes the MMA way
This question is really a specific problem and a methodological one concerning MMA best practices. I want to simulate a system of stochastic processes. If this were a geometric Brownian motion or ...
4
votes
2answers
580 views
Making mathematical animations with Mathematica
I recently stumbled upon the Cycloid and was working on finding its length and such when I found this animation on Wikipedia.
Strikingly pretty and small in size too (66KB)
So on searching how he ...
12
votes
1answer
899 views
How to do System dynamics simulations / diagrams in Mathematica?
System dynamics is an approach to understanding the behaviour of complex systems over time. It deals with internal feedback loops and time delays that affect the behaviour of the entire system. What ...
