Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Here is a serious achievement of the Roots command:


Student[Calculus1]:-Roots(2^x+3^x+6^x-x^2);

                              [-1]

plot(2^x+3^x+6^x-x^2, x = -6 .. 2, gridlines = false);





Download Roots.mw

The solve command also does the job here:

sol := solve(2^x+3^x+6^x-x^2);



allvalues(sol);


evalf(%):

The RealDomain:-solve command fails here.

I wonder how Maple solves it. It would be kind of Maple developers and experts to explain that.

PS. I tried printlevel:=10, but understood the output a little.

 

 

Hi, i got a litlle problem with fromats, i m realy bad at this.
i got procedure 'getone(z::list)' i was execute it like this  
>getone([seq(lineP[i], i = 1 .. pm)]::list)
where lineP is 

>pm := 3;
>rollx := rand(98.0 .. 102.0); rolly := rand(-1.0 .. 5);
>rolll := rand(.5 .. 1.0); rollf := rand(0. .. evalf(2*Pi));
>rollm := rand(0. .. 20.0);

>for i to pm do lineP[i] := [rollx(), rolly(), rolll(), rollf(), rollm()] end do;

it's pm times of z:=[rollx(), rolly(), rolll(), rollf(), rollm()] ::list

and i need make optimization work for any pm=1..100; with rabdomly generated iteration point as above.

The main queston is how make minimize as below
Minimize(z,variables=[z],   initialpoint={z=[seq(lineP[i], i = 1 .. pm)]},iterationlimit=1000,optimalitytolerance=0.01)

work with z::list kind of 

[[100.7798614, 1.109653266, 0.9840371500, 4.257816686, 9.737110573][100.0135459, 0.887539481, 0.9144164697, 3.980093624, 7.343851161][100.0661308, 3.724268229, 0.5020544909, 2.052134822, 14.37408543]]








I find fsolve() to be curiously unstable. Some of the behaviour I can guess at, but other parts are not as clear.

 

Define a function.

P := x->fsolve(exp(-(1/100)*t^2)*cos(2*t),t=x):

plot(P,4..5,smartview=false);

I'm begginer in maple so I have many questions

I have 

f1 := [x2^3-3*x1+x2, -x2-x3+u, x2-2*x3]

I want to put 

x1=2*x1

x2=2*x2

x3=5*x3

 

and I wand it in loop

for x4,...xn

so that f1 will be a vector

I set up a worksheet with embedded components in Maple 18. I am now trying to use the worksheet with Maple 2015. The GetProperty( ) procedure in DocumentTools cannot find a number of kinds of the embedded components (perhaps all kinds).

Why would this happen, and how can I fix it?

I have few packages downloaded from following link:

http://cpc.cs.qub.ac.uk/

Following are packages that I need to install on Maple:

Rif: For differential elimination.

GeM: For computing symmetries and conservation laws for nonlinear PDEs.

wkptest: For symbolic computation of Painleve test for nonlinear PDEs.

My problem is to install these packages onto Maple, but I do not know how to do this. For example, the package Rif contains file like maple.hdb, maple.ind, maple.lib, but I do not know what to do with these files. I shall be grateful to auduience of Mapleprime if somebody can help me on this.

I would have love to attach a document because I try pasting it but it is not allowed I want to integrate something of this nature;... I don't even get how to write anything here maybe because am using a phone.53e77f9f0cf21cc29fd9d4e8.pdf 

This is the paper i'm working on,

1) I couldn't get 11a and 11b on page 1918.

2) I don't know how to integrate 13b to 13e. Please somebody help my career I will never forget it.

My e-mail is foyt22@gmail.com

Hello

I have a simple list:

xlist := [150, 250, 500, 800, 1300, 2500, 5000]:

ylist := [.3, .5, .8, 1.0, 1.2, 1.4, 1.6]:

where after i said x:=plot(xlist,ylist);

What I want to do is ask maple" At what x value does the graph intersect with 1.5 on the y axis" or "at what y value does the graph intersect with 3000 on the x axis". 

The data points are just that, I've been looking for commands to ask these questions but have been without luck. You don't need to give me the answer if you can point me to somewhere where this information is written, that would be very helpful!

 

Thank you.

first_order_error.mw

hi.please see attached file and explain how i remove error

thanks alot

I wish to display the following screen output from a procedure A(), in a textbox of mathcontainer or any other suitable component.

 

This output to screen listing is generated by print statements in the procedure A().

I have placed the procedure call A() in a textbox and then am using a button component to execute it with the objective of displaying the above output in another component display box; either a textbox or a MathContainer box...  I can see that A() executes, but do not know how to get the result to display in a component box.

Can anyone offer any help?

hi.may  help me for solve this nonlinear equations by numeric solver maple39.d39.pdfocx39.pdf

thanks alot

file format is pdf and word type

 

Hi everybody,

i'm trying to do an elliptic regularization but i don't know how to proceed ?

Is someone know how to achieve to do that  with an example ?

thanks a lot !

 

PS: i know only how to do a linear regularisation.

 

 

I am considering the following PDE and I am getting an error, please suggest a better numerical method than the default one used in maple:

 

the PDE is:

u_{xx}u^3 - sin(xt)u_{tt} = u(x,t)

u(x, 0) = sin(x), (D[2](u))(x, 0) = cos(x), u(0, t) = cos(t), (D[1](u))(0, t) = sin(t)

Please suggest me a method that will also work for the following PDEs:

u^m* u_{xx} - sin(xt)u_{tt} = u^n

for m,n =0,1,2,3,... for the cases m=n and m not equal n

Here's the code:

 

pde := u(x, t)^3*(diff(u(x, t), x, x))-sin(x*t)*(diff(u(x, t), t, t)) = u(x, t);

u(x, t)^3*(diff(diff(u(x, t), x), x))-sin(x*t)*(diff(diff(u(x, t), t), t)) = u(x, t)

(1)

ibc := u(x, 0) = sin(x), (D[2](u))(x, 0) = cos(x), u(0, t) = cos(t), (D[1](u))(0, t) = sin(t);

u(x, 0) = sin(x), (D[2](u))(x, 0) = cos(x), u(0, t) = cos(t), (D[1](u))(0, t) = sin(t)

(2)

pds := pdsolve(pde, [ibc], numeric, time = t, range = 0 .. 1, spacestep = 0.1e-1)

module () local INFO; export plot, plot3d, animate, value, settings; option `Copyright (c) 2001 by Waterloo Maple Inc. All rights reserved.`; end module

(3)

pds:-plot3d(u(x, t), t = 0 .. 1, x = 0 .. 1, labels = [t, x, u(x, t)], labelfont = [times, bold, 20], axesfont = [times, bold, 16])

Error, (in pdsolve/numeric/plot3d) unable to compute solution for t>HFloat(0.0):
Newton iteration is not converging

 

``

 

Download nonlinear_hyperbolic_PDE.mw

Hello

anyone plz help me to find adomian decomposition method (ADM) maple code, also how to find the adomian polynomials separately using maple, i search it for a long time but did'nt succeeded,

First 192 193 194 195 196 197 198 Last Page 194 of 2218