Maple 17 Questions and Posts

These are Posts and Questions associated with the product, Maple 17

Hello friends,

I'm trying to get the exact result from the following operation:

I'm getting:

for i=0,

for i=1,

for i=2,

I want to get:

for i=0, 1

for i=1, -1/2 + sqrt(3)/2 i

for i=2, -1/2 - sqrt(3)/2 i

Thanks for the light.

Dear all

I tried to used insert code edit region, to write many subcodes 

but no return varibales names.

example, x:=3;

when I run the code, I get only the number affected to x, I would like to get 

x:=3

No_return_variable.mw

Thank you 

 

 

Dear all

I compute the integral of continuous function but maple return a complexe number. 

continuous_function.mw

A continuous function defined on a closed interval its integral is a number, why maple in my case return a complex number

thank your for your help 

 

Dear all

When I compute 
int( sin(log(x)),x=0..2) 
I obtain an exact value of the integral 
but one I compute 
int( sin(log(x+1)),x=-1..1) 
I obtain undefined integral

The two integrals are the same, using the change of variable z=x+1

Many thinks

It was interesting not to miss the solutions of such a test equation  x * (1 + 1.0001 * sin (x ^ 2)) = 0 on a fairly large arbitrary segment using NextZero.
It turned out that NextZero skips solutions.
For example, solutions in the range from 7.5 to 10 are skipped.  And two more specific solutions skipped 21.232154952 and 21.232821004.
I took Digits to help, but it didn't affect anything. Most likely the reason is that I am a bad user.  The example seems to be a good one.
 

restart: 
#Digits := 30; 
f := proc (x) options operator, arrow; x*(1+1.0001*sin(x^2)) end proc; 
RootFinding:-NextZero(f, 1.0): 
for j to 154 do RootFinding:-NextZero(f, %) end do



 

Dear all

I have the following proc I, I need a help so that the proc run without error. 

I get Error, invalid =

 

Code_eigenvalues_eigenvectors.mw

 

Thank you for any help 

Dear all

I run a code But I obtained the following error 

 

Error, (in PW) cannot determine if this expression is true or false: (1/4)*10^(1/2) < 0.1000000000e-3


and  how can I display all iterations obtained from  PW and WDEF2 in a table.

 

PWW.mw

Thank you for any help 

 

Dear all

I need to plot the solution obtained from dsolve for a system of differential equation 

 

 

plot_analytical_solution_system.mw

Thank you for any help 

How to draw a streamlines by using stream function provided in pdf. In the presence and absence of lambda parameter.

please help me to obtain graphs

1.pdf
Download 1.mw

 

Dear all

I compute by hand the bifurcation point of an ode, 
I fouded x=-1/2 a+ 1/2 corresponding to  h= (a+1)^2/4  with 0<a<1 

The same solution is obtained using Maple code. 
I tried to plot the birfurcation diagram to stech with kind of bifrucation ( saddle, Holf . transcritical , periodic, or someting else)
But I get 
Error, (in plots/implicitplot) invalid input: invalid range for first variable

bifurcation_diagram.mw

thank you for any help 

 

Dear all

I have a PDEs depend on u1(r,z) 
I would like to decompose u1 as sum of two function c1*r*U(z)+u(r,z) and  , where c1 is constant,  then i would like to substitute u1 in the pde by   c1*r*U(z)+u(r,z) then obtain the corresponding new equation

subs_function.mw

thank you 

Dear all

I try to understand why maple does ot plot the behavior of x^1/3 for negative real number, 

 

inverse_function_xthree.mw

 

root(x,3) is function defined verywhere, but why maple plot only this function for x positive 

thank you

Dear all

Strange phenomena...Every thing is well coded.
Using numeric solution pdsolve and  and solution based on iterative solution, gives a slighty different curve.. 

All matrices are well coded, and everything is okay... But  what happen... to get two different curves at same time.

New_code.mw

Thank you for any help 

 

Dear all

if I have a vector defined as u[1..11,1]:=

How can display the coeffients of  this vectors 
can I plot the vector 

Thanks for any help

dear all

I have a linear system AX=b , I would like to compute the solution using Gradient conjugate method 

CS.mw

I get the following error
Error, (in LinearAlgebra:-LinearSolve) method SparseIterative incompatible with data of type anything
 

Thank you for any help

3 4 5 6 7 8 9 Last Page 5 of 57