## Exporting maple plot into MATLAB...

Hi every one

I'm having some plots in maple, but the layout is not pretty enough, I want export in to MATLAB. Does some one please have an idea on how I can go about it?.

I'm using Maple 16

Thank you in anticipation

## Solve a PDE with a known solution...

Can anyone help me to find a solution to  for the attached partial differential equation ?

I want to find a general solution to a partial differential equation by assuming that I know one solution, called , and trying to find another solution  by assuming that the general solution in the form of . I want to restrict the second solution to be in the form of  so that it satisfies the PDE, and is a function of  times . The latter makes error as the maple identifies that the function  depends on only one variable . Could you please help me to find a solution for  in the form ?

Also, I have trouble with defining the operator Do in the attached file.  When it operates on , maple gives D. It is not clear for me that whether this derivative is with respect to  or . I need is to define Do in a way so that the derivatives are correctly taken with respect to different separate variables.

## Solve a system of partial differential equations w...

Can anyone help me to solve the attached system of PDEs with a given expression for the HINT such as

I am not able to set such an arbitray HINT function for system of PDEs.

SysPDE_HINT.mw

Thank you,

## How do I find the eigenvalues of a symbolic matrix...

I am currently working on a project that generates a set of matrices and I want to find their eigenvalues, but using the inbuilt Maple engine takes too long. The problem is that whenever I try to use the Matlab[eig] command I get the error:

Error, (in Matlab:-setvar) unable to store '-3.*Re(X)' when datatype=float[8]
I found out that solving symbolic matrices in MATLAB requires first defining symbols with the "sym" command but I've been unable to do that in Maple.

## How to get rid of 1.0 in numerical and symbolic ca...

Hi,

This might be a very silly question but it is troubling me a little bit and that's why I need to post it. During the combination of symbolic and numerical comutation this '1.0' is appearing as a coefficient for the variables whose coeffecient is just '1'. It's quite annoying as sometimes if I have to collect coefficient of a variable for an example exp(I*omega*t) then I have to write exp(1.I*omega*t), so chances of making mistake is higher. Please find the attached worksheet for this. In eq(4), you can easily see that for x[3](t) and x[1](t) this '1.0' appears in front of the variables.

I really appreciate  if someone can help me out of this.

With Regards

Sunitquestion.mw

 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)
 >

## Convert expression to LaTeX...

How to convert expression below to LaTex:  $\lim _{x \rightarrow 2} \frac{2}{x+3}$

And How to convert expression below to LaTex:  $\int_{2}^{3} \frac{1}{x^{2}+2} d x$

file test: newLaTex.mw

## Incorrect definite integration of hyperbolic funct...

Hi Guys,

I am trying to intgrate a function involving hyperbolic functions in a range of 0 to 1 and it is giving me very large value of 10^94. However, on doing integration terms terms i can see that some large terms involving 10^191 cancel out with each other and I can have a fnite value of this integration. It would be really helpful if someone can help me out why it is happening with int function and how can I solve this case involving hyperbolic function. For reference maple file is attached. Thanks in advance and much appreciated.

With Regards

Sunit

question.mw

## How to simplify multiple definite integrals...

Hi Guys,

I need help regarding simplifying definite integrals. I have following expression

As we can notice the limit for each integral is same, so I should be able to take these integral limit outside. I am trying to use collect and simplify, but both of these command are not working. It would be really helpful for me if I can get the solution for it.

Please find the attached example sheet also.example.mw

With Regards

Sunit

## How to use factor elementwise?...

Hi Guys,

It might be a very basic question, but I am struggling with it for a quite a time.  I have an expression in a form of

f(x)=h(x)+g(x);

and I want to use factor operation elementwise, i.e., it can individually act on h(x) and can give me

f(x)=h1(x)*h2(x)+g1(x)*g2(x). But whenever I am putting factor operation with elementwise it is not giving me desired answer. It would be really helpful and great if someone can help me out.

I am attaching maple sheet for reference also.

## Solving a Quadratic Diophantine Equation with 3 va...

How do I find integer solutions to this non-linear equation:

8= 7(x^2+y^2+z^2)+2x+4y-8z.

Tried isolve and it wasn't working. (I guess too many variables?)

Also, if f(x,y,z) is the RHS, how do I write a loop that finds integer solutions to f(x,y,z)=c for |x|,|y|,|z|< N, say?

## error: fsolve unrecognized form...

Hello,

I don't understand why Maple gives me the following error:

Error, (in fsolve/Iterators) unrecognized form

The full maple file:

 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)
 >
 (5)
 >
 (6)
 >
 (7)
 >
 (8)
 >
 (9)
 >
 (10)
 >
 (11)
 >
 (12)
 >
 (13)
 >
 (14)
 >
 (15)
 >
 (16)
 >
 (17)
 >
 (18)
 >
 (19)
 >
 >
 >

Thank you!

## How to display each vector turn on the same axis o...

How do I draw three vectors on the same axis of coordinates, I see this vector appear after the previous vector one second  and on the screen when this vector appears, the previous vector remains on the screen and on the last screen I see all three vectors with the Maple command?

Example : plottools :- arrow( [1, -2], [4, -1], 0.001, 0.05, 0.1), plottools :- arrow( [-1, 3], [2, 1], 0.001, 0.05, 0.1), plottools :- arrow( [0, 2], [-3, 0], 0.001, 0.05, 0.1).

Thanks so much for the help of everyone!

## How to display each chart turn on the same axis of...

How do I draw three graphs on the same axis of coordinates and I see this graph appear after the previous graph one second with the Maple command? Example : y = x, y = x2, y = 1 - x.

Thanks so much for the help of everyone!

## How to use the add command in this scenario...

Lecture 4 - Problem 2
a)
> a := -2100; b := 2100; N := 8; h := (b-a)/N; C := 4491; x := [seq(h, h = -2100 .. 2100, h)]; y := proc (x) options operator, arrow; sqrt(1+((1/2)*exp(x/C)-(1/2)*exp(-x/C))^2) end proc; evalf(y(x[1])); evalf(y(x[N+1])); L := (1/3)*h*(y(x[1])+4*(y(x[2])+y(x[4])+y(x[6])+y(x[N]))+2*(y(x[3])+y(x[5])+y(x[N-1]))+y(x[N+1])); evalf(L);
-2100
2100
8
525
4491
[-2100, -1575, -1050, -525, 0, 525, 1050, 1575, 2100]
/                           2\
|    /1    /x\   1    /  x\\ |
x -> sqrt|1 + |- exp|-| - - exp|- -|| |
\    \2    \C/   2    \  C// /
1.111332350
1.111332350
(1/2)
/                               2\
|    /1    /-700\   1    /700 \\ |
175 |1 + |- exp|----| - - exp|----|| |
\    \2    \1497/   2    \1497// /

(1/2)
/                              2\
|    /1    /-175\   1    /175\\ |
+ 700 |1 + |- exp|----| - - exp|---|| |
\    \2    \499 /   2    \499// /

(1/2)
/                               2\
|    /1    /-175\   1    /175 \\ |
+ 700 |1 + |- exp|----| - - exp|----|| |
\    \2    \1497/   2    \1497// /

(1/2)
/                               2\
|    /1    /175 \   1    /-175\\ |
+ 700 |1 + |- exp|----| - - exp|----|| |
\    \2    \1497/   2    \1497// /

(1/2)
/                              2\
|    /1    /175\   1    /-175\\ |
+ 700 |1 + |- exp|---| - - exp|----|| |
\    \2    \499/   2    \499 // /

(1/2)
/                               2\
|    /1    /-350\   1    /350 \\ |
+ 350 |1 + |- exp|----| - - exp|----|| |      + 350
\    \2    \1497/   2    \1497// /

(1/2)
/                               2\
|    /1    /350 \   1    /-350\\ |
+ 350 |1 + |- exp|----| - - exp|----|| |
\    \2    \1497/   2    \1497// /

(1/2)
/                               2\
|    /1    /700 \   1    /-700\\ |
+ 175 |1 + |- exp|----| - - exp|----|| |
\    \2    \1497/   2    \1497// /
4354.742601
> L := (1/3)*h*(y(x[1])+4*add(y(i), i = y(x[2]) .. y(x[N]), 2)+2*add(y(i), i = y(x[3]) .. y(x[N-1]), 2)+y(x[N+1])); evalf(L);
4354.742601

## How do i get my computation time...

I am trying to compare time taken in minutes for each iterative model(Jacobi, Gauss-Seidel and SOR) to complete, so as to figure out the iterativre model with a faster time of convergence but i don't know the command to initiate.

 1 2 3 4 5 6 7 Last Page 1 of 39
﻿