MaplePrimes Questions

If I have two consecutive lines of code and I want to insert a line of code between these two, what I do is I go to the top line and press CTRL J or go to the bottom line and press CTRL K.  This creates a red arrow (the type that indicates a new line in Classic Maple Worksheets), but I'm in the non-classic maple worksheet and I don't want those red arrow there.

I have a list of coordinates  and would like to sort them so that in the new order, the third coordinate is increasing.

For example,

data:=[ [2,3,1], [3,6,-1], [5,0,3] ]

should sort to

[ [3,6,-1], [2,3,1], [5,0,3] ]

There must be an intelligent way to do this.

 

Maple transforms the sum

sum( i*binomial(k,i) / (k-1)^i  , i=0..k )

to

(k/(k-1))^k,

which converges to e. The exact input and output is listed below. However, how does this surprising transformation work? I tried to use the infolevel command to see what actually happens as shown below. Is something wrong with my use of the infolevel command? Does maybe "definite sum" mean that this is a predefined sum in maple? In this case, is there a possibility to list this sum or to get a reference to an external document?

I've stumbled across this double integral... int(int(2*x*sin(y),y),x); for which Maple can do it perfectly. However, if I specify the range for x and y, Maple will complain: int(int(2*x*sin(y),y=0..1),x0..1); Error, (in assuming) too many levels of recursion I'm just wondering if there is any other way around of evaluating this definite integral?

How do I plot the inequality x<7 on the real number line?

How do I plot the points -2.5, -2,.5, and 1.5 on the real number line? I found how to plot in the 2-D plane, but I just want to plot on the real number line.

 

How do i find a nonzero value of C so the function u(x,t) = c(e + e)  satisfies the equation  (du/dt)+u(du/dx)+(du/dx) = 0

I've tried with maple help but seems like i'm getting no where with this.

Any suggestion or help with this is much appreciated.

Hello - I'm trying to double check a hyperbolic pde I solved but I don't know how to input the following boundary conditions in order to run pdsolve.

u(x,0)=f(x)

du/dx(x,0)=g(x)

What is the maple syntax to write these as boundary conditions?

Thanks.

 

How do I get the entire astroid given by the equation x^2/3+y^2/3=1 to show?

I've used implicitplot(x^2/3+y^2/3=1,x=-1..1,y=-1..1), and only 1/4 of the astroid is shown.

thanks for your help.

 



I need to find I1 to I9. I need to find this using the Kirchhoff's Current Law and Kirchhoff's Voltage Law. ( we haven't seen yet what both of these laws are)

Hi again. Thanks for all the help last time. I've got (hopefully) just one more question. It's kinda difficult to explain... I want to plot the points determined by a[2, 2*n]/a[2,2*(n-1)] against 1/n (actually 1/n versus a[2, 2*n]/a[2,2*(n-1)]), for large n. I'm pretty lost. Should I be computing the points from the recurrence relation with a 'for' loop and then re-assigning 1/n for each one instead of n and then putting the a[]/a[] and 1/n into an Array, which I can then plot? Thanks guys, Tom

Hi,  Maple seems to be unable to solve this kind of differential equation.

 

dgl:=diff(f(x),x)=f(x)-f(x-1);

 dsolve(dgl);

 

Error, (in ODEtools/info) found the indeterminate function f with different arguments {f(x), f(x-1)}

Is there any command or package which allows me to construct a general rooted tree? It seems that the GraphTheory package can only construct complete binary trees or complete k-ary trees...... More generally, how can I program or organize my data using a tree data structure?

Thanks,

Peter

i know how to find limit to one variable but how do go about doing limit when we are giving something like this

  lim (x^2+y^2) ^ (x^2 * y^2) as (x,y) --> (0,0)        

?

They do ask me to use graph to help me out in this limit, but i have no idea how

 

thx for any help

Hello,

I have created a module which implements several high-level procedures. Each of these call low-level procedures which are - in principle - of no interest to the end user.

Now, when I use the "module:-function()" syntax, everything seems OK. However, when I write this module as a package, using "savelib", and I try loading it back, and using it, the low-level procedures are returned unevaluated. Which obviously is not what I want...

Is there a way to force this evaluation?

First 2200 2201 2202 2203 2204 2205 2206 Last Page 2202 of 2434