Questions tagged [maple]

For questions involving the application of the program Maple to mathematics.

NOTE: questions which focus primarily on the program Maple and not on its applications to mathematics are not appropriate for this site.

Maple is an interactive engineering and scientific programming environment, as well as a high level programming language, from Maplesoft.

The following links can be useful:

755 questions
1
vote
1 answer

Maple: bug in Overview of the GF (Galois Field) Package?

So I downloaded sample (Download Help Document) but I can not compile it - (last line fais with: The use statement, if used carefully, can make arithmetic operations in the field much more natural. y := G16:-`*`(a, G16:-`+`(a, x)); 1; z :=…
1
vote
2 answers

Get the function from Taylor series on maple

Can I get the reverse process for determining the function if I have its Taylor series, with maple? Thank you.
1
vote
1 answer

Maple wrong about partial derivative of exponential function?

When I input this function in Maple: f := (x, y) -> exp(x+xy-2*y) And take the derivative: diff(f(x, y), x); I receive: exp(x + xy - 2 y) But I would have expected it to be: (1+y)exp(x+xy-2y) Does anyone have an explanation for this?
1
vote
2 answers

Maple: If a number is an integer/square

I'm writing a Maple procedure and I have a line that is "if ... then ..." and I would like it to be if k is an integer (or if k^2 is a square) - how would onw say that in Maple? Thanks!
jemima
  • 1,205
1
vote
2 answers

Ending a procedure early in Maple

I want to jump to the end of the procedure if an IF statement is true NzdOrInv := proc (a::integer, m::integer) if (a > m) then printf("a > m, cannot proceed. Terminating program.") <-- I WANT TO JUMP TO THE END OF THE PROCEDURE HERE end if if…
jsan
  • 345
1
vote
1 answer

Solving a system of equations in Maple

I have a set of equations which I would like to symbolically solve for a defined set of variables using the solve command in Maple. However, being not familiar with the program, it does not give me exactly what I would like. Maybe someone can give…
phj
  • 11
1
vote
1 answer

How can I plot a 3d graph with data points in Maple?

I am trying to plot this data on Maple as 3D scatter plot and surface plot: Any help would be appreciated. Thanks. Cut-and-paste format of the data: Pressure(Bar) Temp (K) k (/Ms) 19.02 311.15 6.83E+08 18.64 307.05 …
OGC
  • 2,305
1
vote
1 answer

Maple: use one digit of a long number

I'm writing a procedure in Maple and was wondering if there was a way to pick out one digit of a number - for example, if the number was $18475$ and I wanted the tens digit I would do something to $18475$ to be able to use just the number 7. Thanks!
jemima
  • 1,205
1
vote
1 answer

Maple Input and string conversion

In Maple how does one prompt a user to input an equation with variable x? Then convert that equation into a data type that will enable me to perform functions on said equation?
bluerubez
  • 121
1
vote
2 answers

Is $\frac{1}{(\textrm{can}-a-b\cdot i)^2}-\frac{1}{(\textrm{can}+\textrm{cod}-a-b \cdot i)^2}$ in any way simplifiable with Maple?

So I wonder if Maple can reduce such lines like $$\frac{1}{(\textrm{can}-a-b\cdot i)^2}-\frac{1}{(\textrm{can}+\textrm{cod}-a-b \cdot i)^2}$$ (assuming all variables but $i$ are real)?
Kabumbus
  • 438
1
vote
2 answers

Plotting function with 2 variables within constraints

I have a function of two variables: With some values Now I have to plot this, so that tha values of U are between -5 and 0. How do I do this? (Note: It's not the values of x and y that need to be between -5 and 0.) Thanks!
1
vote
1 answer

How to write a maple program to calculate the sum of products of polynomial factors missing the factor in the sum?

How to write a maple program to find the sum of the products given below $\sum\limits_{i=1}^n a_i~\prod\limits_{j=1,j\neq i}^ns-b_j$
Litun
  • 670
1
vote
1 answer

How does one write this pseudocode as a maple program?

INPUT n, x1, x2, . . . , xn. OUTPUT NORM. Step 1 Set SUM = 0. Step 2 For i = 1, 2, . . . , n set SUM = SUM + x^2(i). Step 3 Set NORM = SUM1/2. Step 4 OUTPUT (NORM); STOP. I am having a hard time translating pseudocode into real code using the…
bluerubez
  • 121
1
vote
1 answer

Naming variables "_t3" from LinearSolve output in Maple 17

When I, in Maple 17, use LinearSolve in the package LinearAlgebra I get an result like <3_t3,_t3,-2_t3> Is it possible to tell Maple to name the variable _t3 something else? I want it to be named just "t" or something. Can I collect the variable,…
Jamgreen
  • 809