Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

helle to your all

 

as i can see there are functions to show steps of a calculation

such as ExpandSteps() and ShowSolution()

but would it not be possible to use these or some other function to show steps of the function called isolate()

it should be trivial since most online calculators are able to do this. and so does maple in the back - we just don't see the steps only the result

 

thanks regards mikkel

 

RootOfQuestion.mw

Hi Everyone, so i understand (to the best of my knowledge) the purpose of RootOf and I have worked with them before but now for some reason when i try to use allvalues to express the solution explicitly it does not express it, instead just keeps as RootOf expression. 

I have attached the maple file I am working with. 

I have also tried solve(expr, explicit) as well as convert(expr, radical) and still nothing. 

Am I missing something small? 

How to plot the phase portrait of the system of fractional DEs?

0< nu<1

Consider the infinite product

(1-qi)(1-qiz-1)(1-qi-1z)

For i > 0

How would I expand this into a power series in qz in Maple? Say I would like the coefficient of q6z2

Or how would I get the first n terms up to some order of qz?

Dear Users!

Hope everyone fine here. I want to collocate Vector IntXYZ1 and IntXYZ2 present in file Q1 in such a way that the first M1M2 + 2(M3-1)M2 + 2(M3-1)(M1-2) rows are zero and other rows are collocated at x=(i-1)/(M1-1), y=(j-1)/(M2-1), t=(k-1)/(M3-1) for i = 2,3,…,M1-1, j = 2,3,…,M2-1, k = 2,3,…,M3 as given as XX (of order 27 by 27 with first 25 rows are zero) for M1=M2=M3=3

I am waiting for positive response to fix this issue. Thanks in advance

Q1.mw

I  am trying to find the integer numbers a, b, c, d, m so that the equation

(x−a)(x−b)(x−c)(x−d)=m

where a+d=b+c  and m≠0 has four integer solutions.

I found this equation randomly
solve((x-5) (x-3) (x+6) (x+8)=504, x);
How to find number a, b, c, d, m so that the equation
(x−a)(x−b)(x−c)(x−d)=m
has four integer solutions?

I am still a novice of Maple, but I want to carry out recurvive applications of some formula that involves non-commutative operators X and Y ([X,Y] = XY-YX). I used the following code, but I do not know how to tell Maple a rule that [X,X] = [Y,Y] = 0:

with(Physics);
Setup(mathematicalnotation = true);
Setup(noncommutativeprefix = {X, Y});

Z := X + Y + (1/2)*Commutator(X,Y);
subs(X=Y,Z);

The output is like this:

> Z := X + Y + (1/2)*Commutator(X,Y);
                          Z := X + Y + 1/2 [X, Y][-]

> subs(X=Y,Z);
                              2 Y + 1/2 [Y, Y][-]

The above [Y,Y] must be interpreted as zero, of course.

Thank you very much.

Hi,

How to remove the first column from my Tabulate command ?

SYRACUSEFina.mw

Thanks

The simple test procedure P constructs a large matrix.
Measuring the real time twice  (t1 and t2), t2 was by about 25% larger!
Now, if we remove the comment  before "Start",  t1 increases by 25% and t2 ~ t1.
So, the timing depends on whether some output is already on screen (standard interface).
Can you explain this?

restart;
P := proc(n,A)
  local i, j;
  for i from 1 to n do  for j from 1 to n do
    A[i,j]:=sin(arcsin(1/i-1/j+1/n))-1/i+1/j-1/n+i+j
  od od;
  NULL  #A;
end proc:

# "Start";
n := 300:
s := time[real]():
A:=Matrix(n,datatype=float[8]):
P(n,A):
t1:=time[real]()-s;

s := time[real]():
A:=Matrix(n,datatype=float[8]):
P(n,A):
t2:=time[real]()-s;
t2/t1;  # 1.24   WHY?

(For one of my programs, I found t2/t1 = 1.7)

Hi, 

Why does the use of  global  at the top level of a worksheet is no longer accepted in the most recent versions of Maple (it still was in Maple 2015), but only within procedures?

TIA

Hello,

How I can Plot this structure using define new coordinate such as cylinderical om\ne or addcoords?

plot.mw

eq:= x^2-y^2*z-y*z^2;

plot3d(eq,x=0..1,y=0..1);

memory used=177.9MB, alloc=44.3MB, time=2.29
Picked up JAVA_TOOL_OPTIONS:
Initializing Java runtime environment.
munmap_chunk(): invalid pointer
Error, (in Maplets:-Display) computation interrupted

 

Suppose I have the equation C := y^2*z + yz^2 = x^2, then I want to test for which triples (x,y,z) with x,y,z in {0,1} the equation is satisfied? Is there a quick way of doing this in Maple?

Hello,

I'm having some difficulty solving a set of equations. For example

dn/dt = Const*(phi - n)

ds/dt= Const*(phi-n)

s = d2 phi/dx2 + d2 phi/dy2

How do you solve a system like this? It is 2 equations with 2 unknowns, but it is the s variable that is evolved, i.e. ds/dt, instead of phi.

Anyone know of some code that could do this? (periodic boundary conditions)

Better yet, how do you formulate this as a regular ODE for n and phi?

 

I stumpled upon an exercise involving calculating double points for the spacecurve for a vector function defined in the plane. It reduces to solving two equations with two variables. The command solve is usually the way to find solutions, but since the equation contain a trigonometric function, Maple gives the solutions parametrized by aritrary constants _Z and _B. It is however cumbersome to 'decipher' the possible solutions as I do in the attached Maple file.  

I wonder if Maple have a way to deliver the solutions numerically in the interval from -4 to 4? If it had been a single equation this would have been possible, I know. 

 

NB! I know I can use the symmetri in the current example, but I am interested in a general technique to solve these kind of equations. 

 

Download Solving_system_of_equations_including_trigonometric_functions.mw

 

Regards,

Erik

 

First 432 433 434 435 436 437 438 Last Page 434 of 2216