Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I have the function f(x) = 

  sqrt(x + 5 sin x)

and x <= 20

How would I specify it in maple and then I have to take the derivative and find the critical points. I am so confused.

 

 

restart:
with(ArrayTools):
m:=<1,2,3,4|3,2,1,0|x,y,z,z0|a,a,a,a|b,b,b,b>;
lscol:=<seq(1-AddAlongDimension(m,2)[i],i=1..4)>;
m:=<m|lscol>;
UpperTriangle(m);

Hi all,

I wonder if there is a way to extract the upper/lower triangle entries from a matrix?

Basically, I want to creat a column vector of the none zero entries in "UpperTriangle(m);"

 

Also, aside, is there a way to quickly assign those entries...

I would like to know if there is any way to coax maple into spitting out the solution (1,1,1) for the system of equations {x2+y2+z2=3, x+y+z=3}. So far all I have come up with is

with(RegularChains)[SemiAlgebraicSetTools]:
R:=PolynomialRing([x,y,z]);
Display(SamplePoints([x^2+y^2+z^2=3,x+y+z=3],R),R);

This produces

x=1
y=1
z=1

as desired, but I would like to accomplish this without specifying the polynomial...

We have just released Teaching Calculus with Maple: A Complete Kit.  Leveraging both Maple and Maple T.A., Teaching Calculus with Maple includes lecture notes, student worksheets, Maple demonstrations, Maple T.A. homework, and more – everything you need to teach Calculus 1 and Calculus 2.  Teaching Calculus with Maple  was developed at the University of Guelph under the leadership of an award-winning teacher and field-tested in classes with hundreds of students.

I've tried using Maple Help within the Maple software, but it is not very user friendly. Nothing seems to match up when I type the commands that it tells me, I always get an error. How do I find the moment generating function from a probability density function (pdf)?

 

Thanks.

Hi!

i want to compute the differentiation of a matrix elementwise:

diff~(psi,x1);

But Maple gives only the output ~(diff(3x15 Matrix))

What do I have to do?

 

Thank you for suggestions!

I am trying to find the coordinate vector of v and w with respect to the basis T.

v= <1,5>  

w= <5,4>

T= [<1,1>|<2,3>]

 

I found this help page:

 

http://www.maplesoft.com/support/help/Maple/view.aspx?path=Task/VectorCoordinateVector

 

"Enter a vector in the vector space spanned by this basis"  -how do you know what to put in?

 

> V:=...

Hello,

I have defined a function(say fun) to do certain task, it works well when I call it from a script file(say script1). However, when I copy the complete script1 and paste onto another script file(say script2), the function, fun, doesn't execute. It's very peculiar as my project requires lot of modification, so I copy the old script and...

Hello every one,

I am gettting this error "unable to store HFloat", while solving a system of ODES numerically.

restart:

eq1:=n*(-diff(f(eta),eta$2))^(n-1)*diff(f(eta),eta$3)+(2*n/(n+1))*f(eta)*diff(f(eta),eta$2)

-diff(f(eta),eta$1)^2-M*diff(f(eta),eta$1)+M*epsilon+epsilon^2+lambda*f1(eta)=0;

eq2:=diff(f1(eta),eta$2)+P*(2*n/(n+1))*(f(eta)*diff(f1(eta),eta$1))=0;

bc:=f(0)=0,D(f)(0)=1,D(f1)(0)=1,D(f)(N)=epsilon,f1(N)=0;

If S= { <0,1>,<1,2>} and T={<1,1>,<2,3>} are ordered bases for R2 and v=<1,5> and w=<5,4>, then can someone help me:

-find the coordinate vector of v and w with respect to the basis T by creating a procedure?

-I can make a procedure to find the transition matrix PS<-T from T to S-basis, but can you help find the coordinate vector of v and w with respect to the basis S. Using PS<-T?

Hi guys, I would like some help writing a procedure that checks whether the group of input vectors is an orthogonal basis. Any help would be great!

How does one change a previous Atomic setting back to non-Atomic?  This seems so simple, but I can't find anyway to Undo this change.  

Thanks,

Dear Mapleprimes,

 

I am trying to solve an Optimization problem analytically. I set up a lagrangian as follows:

 

L:= Objective function + mu_1 (constraint 1) + mu_2 (constraint 2)

 

I maximise with respect to two variables, call them x1 and x2

 

I want constraint one to bind but not constraint 2. Hence, I set mu_2=0. The I do:

 

diff(L,x1); diff(L,x2), diff(L,mu1), diff(L,mu2)

Hi!

I want to claculate a triple integral of a piecewise function. The piecewise function has 17 domains and I guess that this is a bit too much.

Is there any possibility to optimize it?

the piecewisefunction looks like this:

a := unapply(piecewise(
    x1 < 0 or x2 < 0 or x3 < 0 or h < x1 or h < x2 or h < x3, 0,
    0.5*h <= x1 and x1 <= h and h-x1 <= x2 and x2 <= x1 and h-x1 <= x3 and x3 <= x1, A1[13],

Hello,

I am trying to force Maple to read big matrices from files, produced by other programs (GAP in my case).

 

The output looks like this after it's been saved in a *.txt file:

[ [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0,

First 1529 1530 1531 1532 1533 1534 1535 Last Page 1531 of 2223