## How to obtain random decimal numbers...

Is there a simple command to generate decimal numbers in a given range?

For example, I wish to obtain a randomly generated number between, say ... -0.5 and 0.5.

## Changing coordinates for matrix plot...

I'm plotting matrices using the proc in the attached file.

How do I move the rows in the plot closer to each other?
The first picture show the rows plotted in the values [13,14...19].
I want them to be plotted in values like [13,13.5,14,14.5...].

Second picture shows how I would like it to be. Created it in paint, from a different matrix.Matrix_plot.mw

## schmitt trigger...

hi..

I dont know why ''Y'' in this code does not calculate?

Also in Determinant  should exist term ''Omega''!!!

however this term not apear!!

thanksZrO2.mw

 >
 > with(LinearAlgebra):
 > with(LinearAlgebra):
 > with(VectorCalculus):
 > E_c:=200e9:
 > rho_m:=2702:
 > rho_c:=5700:h:=1:Digits:=200:

## "unable to convert to an explicit first-order syst...

hi... I have a problem with dsolve.

"unable to convert to an explicit first-order system"

thanks

## How to calculate the projection onto a surface?...

I'm trying project a plane onto a surface. Is there a direct command to do this?. There is a command to project a surface onto a plane but i need the oposite. Thanks!

## Wrong result in symbolic integration...

The following integral is obviously positive, but Maple returns 0:  (Maple 2017)

assume(gamma1>0, gamma2>0 , mu1, 'real', mu2, 'real')'
int( 1/sqrt( Pi^2 * gamma1 * gamma2 * (1+((x-mu1)/gamma1)^2) * (1+((x-mu2)/gamma2)^2) ), x=-infinity..infinity )
0

(This is the Bhattacharyya coefficient between two cauchy distributions). Numerical integration works.

## How to plot a region for linear inequality proble...

equations are as folllows

1) x>0

2) x>2(y-a-1)

3)( x+a+1)>y>(x+a-1)

how to plot in Maple the region of solution for these equations in x and y plane keeping "a" as it is.

## Export equations to WORD...

Helo,

how can i export big equations to MS WORD? I trying copy by clicking RMB on equation and paste to WORD but i see only "null". What i can doo now?

## Issue with PDEtools:-Solve...

I have a complicated set of first-order differential equations, which Maple seems capable of solving. So far so good. The obtained solution is fed into another complicated set of first-order differential equations, which, again, Maple seems capable of solving.

But this final (combined) solution cannot possibly be the complete one as it does not contain a specific (sub)solution which DOES satisfy both sets of equations (checked in Maple by evaluating these equations for that specific solution). And there is no warning raised concerning any solutions that may have been lost.

The problem seems to be that the integrational constants associated with solving (in turn) the two sets of equations become messed up together, or erroneously 'reused', in some mysterious way. For if I rename the integration constants of the first solution before feeding it into the second set of equations, then this specific subsolution IS contained in the final solution.

Therefore the following questions:

1.) Could there possibly be some erroneous 'reuse' of integration constants going on? It seems to me that in solving the second set of equations, PDEtools:-Solve would have to make sure that it numbers any new integration constants in such a way that there would be no conflict with the ones obtained in solving the first set of equations.

2.) Is there some (global) variable that determines what letter is assigned for the integration constants? I could use any such to easily switch names between the first and second solving.

PS: I think, it makes little sense to upload any code/worksheet here.

## I am trying but just one more question please...

what is the code to output every symbol assigned to a unique individual operator that is accepted by the maple interface, example what code can i assign to the function:

List_of_all_Operators_Available();

which will produce output in a list of single character strings

["*", "-","+","=",....]

## How to plot in maple?...

Hello,

I am trying to plot this map

y:=y[t+1] +e(x[t]) mod N
x:=x[t]+y[t+1] mod N

where e(x[t]) is a piecewise function defined by

e(x[t])=1 if 0<=x< floor(N/2) OR

e(x[t])=-1 if floor(N/2) <=x<N
for any initial conditions [x,y] and N (but must be integers).
What I did is two separate functions: 1) for e(x[t]) functiion is given by

E := proc (x, N) global e; if 0 <= x and x <= floor((1/2)*N) then e := 1 else e := -1 end if end proc

and 2) for the main function

S := proc (z) local i, x, y, c, e; global N, E; y := `mod`(z[2]-E, N); x := `mod`(z[1]+z[2]+E, N); return [x, y] end proc

My orbit procedure (so that the output is list of integers [x,y]) is given by:

This DataPlot does not give the list output of integers. I do not know whether this function is correctly written.
Can somebody help me producing the list of the orbit [x,y]?
Thank you very much for helping!

## plot 2 functions versus each other...

Hello every body i need help with my program. how can i plot r&s versus each other?

 >
 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)
 >
 (5)
 >
 (6)
 >
 (7)
 >

 >
 >
 >
 >
 >
 >
 >

 >

## Why does maple rewrite my definition, and does it ...

Hello

I am trying to plot a harmonic oscillation, but maple keeps rewriting my defintion so when I plot, it gives me a wrong graph...

How do I stop it from doing this, I am assuming it is this that causes the problem, and not the plot command?

Here is what I get:

And here is what I want - made with geogebra.

If it isn't the definition that is the problem, what plot command should I be using then?

With gratitude
Toby