MaplePrimes Questions

I have a monomial in 8 letters j_0, j_1, j_3, j_4, j_6, j_10, j_11, j_15 with corresponding exponents b_0, b_1, b_3, b_4, b_6, b_10, b_11, b_15. I would like Maple to calculate 0*b_0 + 1*b_1 +3*b_3 +...15*b_15. I know indets returns a list of the variables, but I am not sure how to pull off the indices and exponents? Thank you very much for the help!

In a box we have 6 cards number 1,1,1,2,2 and

Let F(x)=f(g(x)), f(-1)=8 , f'(-2)=4 , f'(5)=3 , g(5)=-2 , g'(5)=6. Find F'(5) ?

Hi,

How would I ask Maple to display a expression and then evaluate it?

For example

Diff(5,x)=value(Diff(5,x));

or

Diff(5,x)=diff(5,x);

But do I really have to copy the lhs to do rhs every time?

Any simpler way?

 

PS: I am using 1-D input and I'd like to keep it that way.

Hi.
I am trying to use a new Physics:-Library:-SortProducts command. However it doesn't work in my case.

restart; 
with(Physics);
with(Library);
Setup(mathematicalnotation = true);
Physics:-Setup(anticommutativeprefix = psi);

for i to 4 do
ap[i] := Creation(psi, i, notation = explicit);
am[i] := Annihilation(psi, i, notation = explicit)
end do;

z := A*ap[2].am[2].ap[1].am[1]+B*ap[1].am[1].ap[2].am[2]+C*ap[3].am[3].ap[4].am[4]:

In connection with this thread about annihilation/creation operators, the issue of a "sum with 'safe' dummy parameter" was presented. In brief, what is the expected output for the following?

> a := 1; b := 2; j := 3

> sum(f(j), j=a..b)

sum interrupts with an error but one can say, with good reason, that the expected output is f(1) + f(2). But then what is the expected output of

> a := 1; b := 2; j := k

> sum(f(j, k), j=a..b)

Say we are happy with f(1, k) + f(2, k), so not f(1, 1) + f(2, 2). Then what is the expeced output of

> a := 1; b := 2; k := j;

> sum(f(j, k), j=a..b)

Say we are happy with f(1, 1), + f(2, 2).

If this is the case then I think we have a design to handle the dummy parameter. In brief: the summation index is not a local variable and use the standard full evaluation rule for everything but for the summation index (note the full evaluation rule would be applied to all of the summand but for occurrences of the summation index - it is tricky to implement but doable).

If we agree with this design, I am anyway mostly sure this would not be implemented within the standard Maple sum (backwards compatibility issues may appear) but, for instance, it could be implemented within Physics, either overloading the standard sum when Physics is loaded, or as a separate Physics:-Library:-sum command, that one could make it to the surface with ease entering with(Physics:-Library, sum).

Solve the following system of equations

  Hello, I am a student from university of waterloo, and I have purchased maple code from school, but I dont know where to download a student version, so that i can activate it.

The solution to the following differential equations results in empty brackets [] and I want to know their content

> Restart; ode := B*(x-1)^2*(diff(y(x), x, x))+C*(x-1)*(diff(y(x), x))+(A-x/(x-1))*y(x) = 0;


> dsolve(ode);

y(x) = _C1*(x-1)^((1/2)*(-C+B-I*sqrt(-B^2+(2*C+4*A-4)*B-C^2))/B)*hypergeom([], [(B+I*sqrt(-B^2+(2*C+4*A-4)*B-C^2))/B], 1/(B*(x-1)))+_C2*(x-1)^((1/2)*(-C+B+I*sqrt(-B^2+(2*C+4*A-4)*B-C^2))/B)*hypergeom([], [(B-I*sqrt(-B^2+(2*C+4*A-4)*B-C^2))/B], 1/(B*(x-1)))

HERE IS A FUNCTION THAT I WANT TO DIFFERENTIATE

I've been wondering if this is possible and i'd be very happy if it is. Is there a way i can format the output of and fsolve(). in such a way that it does not come in curly braces, preferably, it comes out in a colomn-vector form and without the names of the variables solved for. Just the values. 

Secondly, I've been trying to apply the newtons method for my friend here in school but i've been getting an error message...

Let X be the random variable uniformly distributed in the disk centered at the origin O(0,0) with radius 1 and let Y be the random variable uniformly distributed in the square having its vertices A(6,-1), B(9,-2), C(8,-5), and E(5,-4). What is the PDF of the distance between X and Y? Is it possible to find that with Maple? The similar question in three dimensions, replacing a square by a cube and a disk by a solid sphere.

solve Differential Equation : y"+4y=sin2x.

Recently I saw this question (http://www.mapleprimes.com/posts/141668-Partitions-Of-A-Natural-Number-Into-Factors). I want to find the divisors of a number, say 120, :

2,4,6,8,10,12,15,20,24,30,40,60,120

for the students but couldn't find a simple way for that expect the solutions in above link. Isn't an easier way to do this job in Maple?

Thanks so for the time

proc.mwf := proc (a) if a <= 0 then 0 elif a <= evalf(e*sin((1/2)*B)) then (-1)*2.005689708*a elif a <= evalf(2*e*sin((1/2)*B)) then (-1)*2.005689708*a+5.369606170 else 0 end if end proc; f(1)

why doesn't this evaluate to a numerical value when u supply an a value for 'a'.

can someone modify it......

First 1542 1543 1544 1545 1546 1547 1548 Last Page 1544 of 2429