MaplePrimes Questions

With Maple15, how do I get this

sigma^2*(1+(lambda[0]+lambda[1]-2)^2+(1-lambda[0])^2)

from

with(Statistics):
R := 'RandomVariable(Normal(0, sigma))'; a := [`$`('R', 5)]
Variance((1-lambda[0])*a[3]+(lambda[0]+lambda[1]-2)*a[4]+a[5]);
simplify(%, size); collect(%, {sigma, lambda[0], lambda[1]})

In general, how do I simplify an expression when it can be stated as a sum of squares? I suspect I am missing a general simplification technique. Thanks.

 

Hi All

If we have extensive material in pdf format and we want to tranfer this information to Maple and use it it as the main editor and word proceesor on a go forward basis - Is it possible to copy a pdf document with extensive equations into Maple while maintaining the format particularly of the equations, pictures, drawings and plots? Any copying and pasting I do now garlbles up the equations, plots and pictures of the pages I import to Maple...

I upgraded from maple 11 to maple 15 because of issues with maple 11 and suse 11.4. When I try to run the attached worksheet I get for Fortran(f,optimize),

> Fortran(f, optimize);
Error, (in Print) improper op or subscript selector

maple 11 does not have this problem and returns the optimized code. Did something change between versions that I'm not doing correctly?

 

i am having a problem with this question

graph the polynomial function F(x)= x^4 - 2.5x^2 + 0.5625

determine x & y intercepts?

find local maximum And minimum of F(x)

please advise

Dear guys! I've written some expressions and then the final equations which I want to solve as below:

> Omega0 := 0.26: H0 := 0.8: q0 := -0.61: j0 := 1: s0 := -0.18: l0 := 2.61:

> f0 := 6*H0^2*(Omega0-2):      f10 := 1:    f20 := (6*H0^2)^(-1)*(-3*Omega0/(4*(1+q0))+1/2):     f30 := (6*H0^2)^(-2)*(-3*Omega0*(3*q0^2+6*q0+j0+2)/(8*(1+q0)^3)+3/4):     f40 := (6*H0^2)^(-3)*(-3*Omega0*(s0*(1+q0...

Is there a way to make the y-axis logarithmic using DEplot?

Use a change of variables to find the volume of the solid region lying below the surface f(x,y)=(2y-x)^4sqrt(x+y) and above the parallelogram in the xy=plane with vertices (3,5) (2,6) (10,10) and (11,9)

Graph the 'ice cream cone' formed ny the upper half of the sphere x^2+y^2+z^2=16 and the cone z=sqrt(x^2+y^2) using maple, and find the z-coordinates of its center of mass.

Graph the region insde the one-sheeted hyperboloid x^2+y^2-z^2=9 between z=4 and z= -4 using maple and find the volume of this region

Graph the solid common to the cylinders x^2+z^2=4 and y^2+z^2=4 using maple and find the volume of the region common to the cylinders.

I'm suppose to graph the first octant portion of the surface z=4-x^2, 2≤y≤5 using maple and find the volume of the solid over the xy-plane and under the surface.

I use a for loop to step through the operands of an expression and do a calculation on each operand. I am then unable to add up or otherwise access for manipulation the result of the for loop and wondered how this could be done. What I mean is as follows. I have the expression w

w := 2*(1/2/Pi+Q*cos(k*phi))*Q*cos(k*phi)*(exp(-1/2*sigma^2*k^2)-1)*t*(1/2/Pi+Q*cos(k*psi))/(beta^2*(1+beta^2*(1/2/Pi+Q*cos(k*phi))^2))+(1/2/Pi+Q*cos(k*phi))^2*Q*cos(k*psi)*(exp(-1/2*sigma^2*k^2...

How can I see the body of Newton procedure in student package?

fsolve command return equation solutions in { }, for example {x1=5,x2=6} which the x1 and x2 are not numeric variables and can not be to use in the later. How we can use x1 and x2 similar numeric variables, for example after fsolve command we use "printf("%.10f",x1)" or y=sin(x1*x2) commands.

This exponent is a number of order 2011! and Maple operates with such quantities. However, the simpleminded approaches fail:
> for k to 10 do is(`in`(2^k, numtheory[divisors](factorial(2011)))) end do;

Error, (in numtheory:-divisors) object too large
 
> for k to factorial(2020) do if is((factorial(factorial(2011))/2^k)::posint) then NULL else print(k) end if end do;

Error, (in fact) Cannot allocate memory (size=100728832)

First 1872 1873 1874 1875 1876 1877 1878 Last Page 1874 of 2430