Maple 16 Questions and Posts Maple 16 Questions and Posts Feed

These are Posts and Questions associated with the product, Maple 16

LL_61)_Poker.mw

I am having some problem with this procedure located in the "experiment" sub section.
I am trying to calculate the win probability in a poker game pre flop ie each player
get two cards. I am trying to find out which two card combination will result in the
highest probability of winning in the end.

In the first example I simply assume that player 1 gets [DA, HA] ie dimond ace

return_increment.mw


We start by simulating a random walk:

Hi,

We're trying to solve an equation in Maple, but for some reason Maple comes up with an answer involving RootOf and _Z. We've searched the internet for solutions but nothing seems to work. So I'd hope somebody here is able to help us.

Thanks in advance! 

 

The equation:

http://i.imgur.com/8kH8iZb.png

how can i preform this calculation in maple?

(∂)/(∂ log(R[e[0]]))(log(N[u]))

it's a derivative of a logarithmic expression with respect to another logarithmic expression, the one on the bottom is a "standalone" vairable and the one on the top is a function of the previous one and some others.

thaks in advance to anybody who might help.

Hello every one, 

Here I will recall the PDE and its numerical solutiion provided by Maple help. 

PDE := diff(u(x,t),t)=-diff(u(x,t),x);

IBC := {u(x,0)=sin(2*Pi*x),u(0,t)=-sin(2*Pi*t)};

pds := pdsolve(PDE,IBC,numeric,time=t,range=0..1);

p1:=pds:-plot(t=0,numpoints=50):
p2:=pds:-plot(t=1/8,numpoints=50,color=blue):
p3:=pds:-plot(t=1/4,numpoints=50,color=green):
plots[display]({p1,p2,p3});

I want to export data...

Hi, I have a maple project and one of the questions reads: 

a. | Initially, a 100 – liter tank contains a salt solution with concentration 0.5 kg/liter. A fresher solution with concentration 0.1 kg/liter flows into the tank at the rate of 4 liter/min. The contents of the tank are kept well stirred, and the mixture flows out at the same rate it flows in.
i. Find the amount of salt in the tank as a function of time.

ii. Determine the concentration of salt in the tank at any time.

I'm new to maple so I'm facing a few problems in geometry. Actually I know the solution of the following questions but not by maple. Please help me in solving these..

1) Obtain the equation of a sphere which passes through the points (1,0,0), (0,1,0) and (0,0,1) and has its centre on the plane x+y+z=6

2) Find the equation of the sphere circumscribing the tetrahedron whose faces are:

          y/b + z/c =0...

Dear Experts,

 

 

I have an equation which needs to be simplified. However it is mostly in Bessel I and BesselK. To simply it I have used the simplify( expression,

Hi,

I'm trying to compute the mean and variance of a custom discrete random variable, as indicated in the file below (well, I do know its mean and variance, but I need the variable in a more complex context). Defining it is no problem at all, but when I parse Mean(Y) and Variance(Y), a weird expression shows up, despite my random variable being really simple. Does somebody know what goes wrong?

 

3d phaseportrait...

April 30 2013 kst11 5

Hi,

I'm trying to make a phase plane plot for the Lorenz system of differential equations around the equilibrium point (0,0,0) but when it keeps coming up with an error, saying it's "unable to obtain field plot, additional unknown(s) found: xy"

Any idea where I'm going wrong? Any help would be greatly appreciated!

Katie

sys1 := [diff(y(x), x) = a/(1-y(x))^b+c*exp(-d*x)/(1-y(x))^2]:

dsolve(sys1)

but the result is empty.

What can I do?

How do I make a procedure out of this code? I want to be able to input the Url
like GetData(Url) instead of changing the code all the time.


theDLL := "C:\\WINDOWS\\SYSTEM32\\urlmon.dll":
URLDownloadToFile := define_external('URLDownloadToFileA', pCaller::(integer[4]), szURL::string, szFileName::string, dwReserved::(integer[4]), lpfnCB::(integer[4]), 'RETURN'::(integer[4]), LIB = theDLL):

Url := "https://dl.dropboxusercontent.com/s/khlt43gd7h6u4px/Nasdaq%20%28Percentage%20Change%29...

I am trying to get Maple to calculate this for me:

Let X1,X2,...X81 be a random sample from a distsribution (not necessarily normal) with mean µ=49 and standard deviation σ =8. Let ¯X = (1/81)* ∑i=181 * Xi

I need to find the mean, the standard deviation and the approximate distribition of ‾X,

 

BTW, the 81 goes directly...

Hi,

I've been trying to manipulate the equations of a mechanism that I've exported from MapleSIM.  The system equations contain 4 differential ordinary equations, and 6 algebraic equations.  In MapleSIM it simulates fine, but I'm having problems simulating it in maple alone (without multibody exports).

I've tried solving the initial value problem by replacing all the time dependant variables with constants, (and as this is a dynamics problem) I supplied...

The operation: 2^29.403243784 gives me 7.0999999820*10^8.

However, using WolframAlpha, the answer is 7.10000000139658667836958142950829925944726171959 × 10^8.

These are 2 different answers. Can someone offer an explanation as to why this occurs and how I can avoid this problem?

Thanks in Advance!

Eddy Liu

First 12 13 14 15 16 17 18 Last Page 14 of 37