MaplePrimes Questions

When the parameter of the Poisson distribution is less than


Statistics:-Sample(RandomVariable(Poisson(10^(-307))), 1)


or greater than


Statistics:-Sample(RandomVariable(Poisson(10^6)), 1),


error NE_REAL_ARG_LE or NE_REAL_ARG_GT appear, respectively.



Is there any way to remove or redefine these restrictions? Thanks.


How do I compute the binary AND of two numbers? (i.e. a & b in C)

Hi,

 i have 2 inequal plots i want to show in the same window:

with(plots):
p1 := inequal({x-y <= 1, x+y > 0}, x = -3 .. 3, y = -3 .. 3, optionsfeasible = (color = red)):
p2 := inequal({y < 0, x < 0}, x = -3 .. 3, y = -3 .. 3, optionsfeasible = (color = blue)): display(p1, p2);

Obviously, this doesn't work. Each single plot works. What can i do ?

 

 

Dear All,

A book had shown me using maple that if I solve({xbx+c=0},{x});

I would get x = (-b + sqrt(b^2-4ac)) / 2  and x = -b - ...    a normal way, the way everyone simplifies it as. 

 

However maple prints out  x = (-1/2) * (b-sqrt(b^2-4ac))/a  and the other x= ....

It is correct, however the formatting is ugly.  Why doesn't it show the same expression in the book which shows maple displaying it properly? 

Hello,

I have to build a simple procedure that will plot the graph and its tangent, however, i wanna go further and plot the x= (asymptot) if the function does not allow a derivative at a point. For instance, Tan(x) doesn't allow any derivative at Pi/2. I can't use the Showtangent command.

I would like to model the kinematics of a collection of points in R^3 - which represent atoms  on a molecule - using Maple. I want to specify the fixed distances between the points.  I just saw a formula in a book I own for the number of degrees of freedom of such a system. I wil have plenty of degrees of freedom with which to work. So, I will begin - in the simplest case - by arbitrarily specifying as many of the coordinates for the points as possible.

Does anyone have an idea of how best to program such a model?

I tried something like

Hello @all !

 

Well, we have a very strange? problem ...

Trying to export the formulas to C we receive the following error:

Error, (in analyzetab[_Inert_PROD]) cannot resolve types in {numeric, void}

The calculation(s) itself works fine in maple 11 and maple 10  but when we try to export the error appears.

So, can anybody help us ?

 

 

Any help is highly appreciated !!

regards, tramzzino

Hi I was just wondering if there is a way to convert a mws file to a text file without maple? It is a uni holiday this week so I have no access to maple.

I was given a mws file as an example for an assignment and i want to rewrite it in c++ so i can run multiple trials on it automatically, but its really hard to work out whats happening viewing the mws in a texteditor. i havnt saved a maple program as text before but im assuming it will just be what my code is without any formatting info which is what im after.

Bonjour,

What is the key stroke for entering a subscripted name in 2D Math, Documentation Mode? For example, I'd like to enter VBE as a name of a variable.  In the expression palette, I see an and a*.  I know entering an is a_n. But now how do I enter a* ? What is the key stroke in place of the question mark, a?*.  The Maple I am using is version 11. Thanks for the help.

Chin Li

i have this function:

f :=x-> ln(x^2) + 3*(x-2)^2;

i derivated it four times and i suppose that maple does something wrong (or i do ^^) with the fourth derivation. i made the derivation on paper and my results fit until the last derivation.

f'(x) = (2/x) + 6(x-2)  ok

f''(x) = (-2/x^2) + 6   ok

f'''(x) = (4/x^3)  ok

f''''(x) = (-12/x^4)  not ok <-- this is the maple result

if i derivated the third derivation on paper:

u = 4      v' = 0

Can maple create 3 dimensional matricies? 

 

I am using Maple to plot some parametric plots, and it works fine. It would be nice, however, to know what point corresponds to what parametric value, or at least some, or at the very least, what end of the curve/sequence of points belongs to what end of the range. Any ideas?

Thanks,

S.

Hi all,

I am trying to use Maple -> C translation facility for a special use:

I need a matrix square root function in C/C++.

I only need it for 3x3 matrix, so I decide to find some hard-coded piece of
program, instead of using some numerical library, because then I have to
learn some new API and how to link and how to use stuff.

To avoid the trouble, I think a 3x3 hard-coded program is sufficient for me.
That's to say, given M a 3x3 matrix, I want to find M^(0.5) in C/C++.

First 2255 2256 2257 2258 2259 2260 2261 Last Page 2257 of 2431