MaplePrimes Questions

Write a function to compute the n-th partial sum of the alternating series

1-1/(4)+1/(9)-1/(16)+...+(-1)^(n-1)*1/(n^(2))
Specifically, the procedure takes n as input, and returns the sum of the first n terms. 
Can someone help me with this? I'm not very good at using procedures.

Hi Everyone,

I'm trying to impletement the solution in a for loop. As an example, consider

for i from 1 to 10 do print(evalf(Int(proc (y) options operator, arrow; y^i end proc, -1/2 .. 1/2))) end do

For each iteration the output is the same, even though the values of the integrals should be the same. I see that the output is actually the first interation repeated 10 times.

Is there a solution for this problem?

Thanks,

Ant

Find the positive integer  m that satisfies the equality below : 10P4=m!

Calculate the determinant of the square Vandermonde matrix     (A is alpha)

     1   Α1    A12   A13       

     1   A2    A22   A23 

V= 1   A3    A

Hi,

 

I'm currently working on the modelling of a thermodynamic process.

Briefly, I cool down a solution (water + polymer) from -5°C to -15°C to induce a phase separation. At the end (and after removing of the water by lyophilisation) I obtain a porous sponge like material.

The process uses a home made cooling system which can be described like this:

- A Peltier module

- An aluminium layer recovered by teflon (And also a layer of ethanol)

Heey

 

I have a problem when I call the Eigenvectors i get:

>Eigenvectors(Transpose(K).K);

i get the answer i want but every time i execute the worksheet my eigenvalues swich places aswell as the eigenvector.

Someone that can help me how i can sort or something like that to freeze the eigenvector output? so i can use some of the output to caluculate furhtere on and when i execute the worksheet i know that me eigenvectors and eigenvalues...

Regards, I have a question about the solve function in maple

How does the solve function works?

I know if you have a random eq lets say y:= x-> x^2 + 5 x

and I use the function like....   solve(x^2+5x = 8) it will solve it for me giving me numerical values for x or the roots of x

If I have an eq w(x) and it has constants lets say w:= x -> a[1]x^2+a[2]x^4

and i solve this equation in this manner:    solve([w(0),w(1),D(w)(0),D(w)(1)])

 Write a function to compute the n-th partial sum of the alternating series

"1-1/(4)+1/(9)-1/(16)+...+(-1)^(n-1) * 1/(n^(2))"
Specifically, the procedure takes n as input, and returns the sum of the first n terms.
 
So I am kind of lost- I've tried 5 different procs but keep getting more confused. Here is current one:
 
 
prob := proc (N) 
local a, u, n, q; 

Is the shortest distance to the centroid or the intersection?

Just a simple problem really.  I thought the centroid of a set (let's say 4 at this point) of points...

I am trying to find the maple procedure to do the extended euclidean algorithm which computes the gcd(A, B) such that the gcd(A, B) = A*r + B*s for some integers r and s. I want the integers r and s.

is gcdex() the right maple procedure (I cannot get it to work). Or what procedure can I use?

 

-Thanks

 G := proc (N)
 local s, n;
 s := 0.;
 n := 0;
 while n < N do 
n := n+1;
 s := s+1/n
 end do;
 [s, n] 
end proc;
             G := proc (N) local s, n; s := 0.; n := 0; while n < N do n := n+1; s := s+1/n end do; [s, n] end proc
Compute G(1.0),G(2.0), .....G(7.0) try to figure out what the procedure G is doing
> G(1.0);

Hello,

I'm trying to install Maple 16 on my new computer with Windows 8. But every time I try to install it, a message popup "Installer user interface Mode not supported

I have looked at google, but can't find any answer there solve my question. Anyone there can help me?

I have tryed to make a silent install but it dosen't work..

 

Hope anyone can help me :)

Hi, there, maple built-in help just has an example of Brusselator model in 1D case. But how can I intepreter the diffusion terms that Brusselator has in 2D case? Could you please give me an example of the code to run Brusselator simulation in 2D case?

Brusselator model:

http://hopf.chem.brandeis.edu/yanglingfa/pattern/bruss/index.html

 

Thank you

Kyle

Hello,

I'm trying to evaluate an integral numerically on a unix system with the command line version of maple (version 16). For some entered parameters the integral evaluates quickly but for others it never seems to be able to complete the computation.

Moreover, when running the files, which are .mpl files, via the GUI all integrals are evaluated with ease.

So far I have been unable to find why some integrals and not others are evaluated when submitted via the command line version.

Use Newton's Method to find a local extrema for f(x)=sin(x^2)+x

with start point x=(1,0)

take derivative of f(x) then apply Newton's Method

 

My teacher started us off with this but I can't seem to get it to work the way she did, any help would be appreciated!

 

prcNewton:=proc( ) 

  local ftn,strpt,epsilon,maxlps,i,xn,dftn; 

  if nargs>4 then     

First 1678 1679 1680 1681 1682 1683 1684 Last Page 1680 of 2428