MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Numerical simulation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113564] Numerical simulation
  • From: Equilib <petterbe at gmail.com>
  • Date: Tue, 2 Nov 2010 05:04:21 -0500 (EST)

Hi,
Does anybody have a good idea on how to set up and run simple
numerical simulations in Mathematica?

I have an equation that consists of the variables p, g that I want to
solve for p for different values of g=[0,1] and c=[0,1]. The function
could be for example 1/2+c+g(1-p)+root(c+p*g-1)=0. (the real equation
is to complex to solve algebraicly using Solve[XX,p]).

I guess I need to construct a matrix for different values [0,1] of g
and c and then use this to numerically solve for p. but how do i set
this up in a smart way? And how do I use the results to plot p as a
function of for example g?

Best,
Petter



  • Prev by Date: can't get Mathematica 5.2 to evaluate anything
  • Next by Date: Graphics: How to get values corresponding to Automatic?
  • Previous by thread: Re: can't get Mathematica 5.2 to evaluate anything
  • Next by thread: Re: Numerical simulation