MaplePrimes Questions

Where can I find a description of the []() syntax?

I have the polynomial :P=X⁴+X³+aX²+√2X+b

Determine a and b so that (1 + i) is zero of P; then calculate all the zeros of P

I have an equation E:=2*x^(7) -x^(6) -4*x^(5) -15*x^(4) -14 x^(3)+19*x^(2) +28*x+30

I want to the list of solutions which are real numbers (resp. which have a strictly positive imaginary part); can anyone help me !

Hello! 
I have this theta model:

And a problem, that sounds like: 
Use Maple's dsolve command with type = numeric, and odeplot
to solve the Theta model for different values of A with the initial condition: 
My question is, how do you use the commands "type = numeric", and "odeplot" to dsolve the model? 
Hope you understand my question, and maybe send a picture of the method to solve this math problem

 

Hello!

Using a geometry package, I ran into a problem: the area() function returns the wrong value for square elements.

What am I doing wrong?

_local(D)

with(geometry)

b := 2

h := 1

square(sq1, [point(A, 0, 0), point(B, b, 0), point(C, b, h), point(D, 0, h)])

evalf(area(sq1))

2.500000000

(1)

draw([sq1, A(printtext = true), B(printtext = true), C(printtext = true), D(printtext = true)])

 

triangle(tr1, [point(A, 0, 0), point(B, b, 0), point(C, b, h)])

evalf(area(tr1))

1.

(2)

draw([tr1, A(printtext = true), B(printtext = true), C(printtext = true)])

 

NULLNULL

NULL

b := .1

h := 1

square(sq2, [point(A, 0, 0), point(B, b, 0), point(C, b, h), point(D, 0, h)])

evalf(area(sq2))

.5050000000

(3)

draw([sq2, A(printtext = true), B(printtext = true), C(printtext = true), D(printtext = true)])

 

triangle(tr2, [point(A, 0, 0), point(B, b, 0), point(C, b, h)])

evalf(area(tr2))

0.5000000000e-1

(4)

draw([tr2, A(printtext = true), B(printtext = true), C(printtext = true)])

 

``


 

Download GeometryAreaTest.mw

h1=-i(c1*exp(A)-c2*exp(-A));

h2=c2*exp(A)+c1*exp(-A);

A=(i*a/2)*(x+b*t);

c1=sqrt(a+2*lambda)/a;

c2=sqrt(a-2*lambda)/a;

How to simplify the product of h1 and h2 in terms of trignometric functions?

h1*h2=?

Hi,

In the attached file I have added four equations and four unknown values. I would like to find the unknown values a[1], b[1], A[1], and B[1]. At the moment Maple cannot find the solutions. Can I add some conditions to help this?

 

SimulteniousEq.mw

Thanks,

Baharm31

Word-cloud is popular function which many languages have as add-on. Sometime called tag-cloud. https://en.wikipedia.org/wiki/Tag_cloud

"A tag cloud (word cloud or wordle or weighted list in visual design) is a novelty visual representation of text data"

I did help and did some google search, but can not find function in Maple. May be I did not search correctly.

In Mathematica is it called WordCloud. Here is an example of its use

WordCloud[Import["http://maplesoft.com"]]

And it returns this image back to the screen

 

Can one do the above in Maple? And what is the function name? Is it in special package?

 

Hi

Is seem that maple change the order of the equation when I convert the system to matrix form

1) Can I kee the same order of the equations proposed in the system in order to get a special matrix form

2) Can I display the vector used in generating matrix maybe the order of unknown is inverted

system.mw

many thanks

 

Dear all

I have a second order partial differential equation.

I addeded some boundary conditions.

I tried to use plot3d for a function u(x,y) but there is no figure displayed.

 

plot_3d_curve.mw

 

I use Maple 18

Many thanks for your help

 

Notice that it takes a lot longer to create the list of 30 because every time it calls the
procedure Fib, Maple “forgets” that it probably has calculated one of those numbers before. 
For example, say we want to find Fib(5). Then Fib calls itself to find Fib(3) and Fib(4),
but Fib(4) calls itself to find Fib(3) and Fib(2). So our procedure just called itself
twice to find Fib(3), and even more times to find Fib(2)!
We can help Maple along by using a command that lets it “remember” that it already
figured out Fib(3) and so it doesn’t need to recursively compute it again. Add a line
directly after your first line of the procedure Fib that says:

option remember;. 

Then create your list of the first 30 Fibonacci numbers again. What a difference it makes!

Note: The main chunk of code here is just your code from part (a) with one line added.  
         Then create the list of 30 Fibonacci numbers in (c).
         Then see how long it took, as you did in (d).

In Maple, the  function returns the ith prime number. Note that 1 is not a prime number. The first prime number is 2. For example,

 

 

Hello.

I'd like to extract numerical data from the plot of a implicit function and write it to the txt file. But, unfortunately due to a strong oscillating function and as a consequence extremely dense meshgrid I got a message that [Length of output exceeds limit of 1000000]. How to resolve this problem? Below is my code

restart;
R0 := 1+w_c*(sum((2*(-1)^(n+1)*Pi^2/n*n)*t*sin(2*Pi*n*mu/w_c)*cos(Pi*n)*exp(-2*Pi*n*G/w_c)/(w_c*sinh(2*Pi^2*n*t/w_c)), n = 1 .. 3000))/Pi-mu;
with(plots, implicitplot);
G := 0.; t := 0.1e-2;
R1 := implicitplot(R0, w_c = 0 .. 5, mu = 0 .. 3, gridrefine = 10):
data := getdata(R1);

Thank you in advance.

Knowing X's PDF is a piecewise function,=cx^2 for 0<=x<3, 0,otherwise

Q1 solve P{-1<=X<=1}

Is it possble to use CDF solve?or I must use calculus?

 

 

 

 

Dear Friends

I would like to know how I can show a simple arrow on a curve in a plot. For example for the simple sample y=x^2, for x>0, I want to show with an arrow in the figure that the trajectory begins from the point (0,0) and tends to come to the point (3,9). Or any other examples you want.

Thanks a lot

First 428 429 430 431 432 433 434 Last Page 430 of 2281