MaplePrimes Questions

Hi,

I have created a Matrix of 1260 rows and 12 columns, when I assign a value to a particular row and column always a dialog opens to select  the meaning of expression with two options function definition and remember table assignment.

Any idea how to get rid of this dialog?


Thanks
Kiran

 

In older maple versions, calculating your monthly payments on a car, for example, have become a little more cumbersome. 

Older versions had a built in function called finance, which has since been removed in the newer versions.  The syntax for the command was finance(amount= , interest=, payments=, or periods=) you could leave out one and maple would calculate the unknown.  The most common unknown was the amount of your monthly payments on a car which nowadays is usually a fixed finance level of 48 months.

The older maple syntax was 

Is it possible to perform an external call to a Java method that is not static?

When I attempt to  use the Maple function define_external with a java method that does not include the keyword 'static', Maple does not locate the method and returns an error.

Though it does not appear in the help documentation, it appears that external calls to Java methods is restricted to static methods.

Is this true?

I am using Maple 10.04.

 

Thanks

Bill

Hi!

My teacher gave us an assignment in which he asked us to write a function "factorielle" (which calculates factorials) using recursion.

Having written the function in Maple 12 according to previous instructions that had been given to us:

> factorielle:=n->if n=0 then 1 else n*factorielle(n-1) fi;

Hello,
I need to solve this integral:

assume(1 > q, q > 0, 1 > p, p >0, q > p);
lambda21 := int(int(int(((xs-xr)^2+(ys-p)^2)*xr/(xs-xr),xr=0..(2-p)*xs/(2-ys)),xs=0..q),ys=0..p);

The result in Maple 8 is:

lambda21 := -1/96*q^2*(256*ln(2)-256*ln(2-p)-48*p^3*ln(2)+16*p^3*ln(p)-384*p*ln(2)+384*p*ln(2-p)+32*p^3*ln(2-p)+192*p^2*ln(2)-192*p^2*ln(2-p)+q^2*p^3-4*q^2*p-128*p-48*lambda21^3+160*p^2);

The result in Maple 9.5 is:

ode := diff(y(x),x,x) = 2*y(x) + 1;
ics := y(0)=1, D(y)(0)=0;
dsolve({ode,ics});
plot(dsolve, x=1..5);

 

It does not work. How to plot it directly?

 

Thank you !

I wanted to use a Button or a Radio Button to change the itemlist and current value in a DropDownBox. The attached worksheets show a problem in doing this. The details are in the text region in the worksheets: I guess I don't really know how to attach a file here. So I uploaded it and gave all the hyperlinks it produced:


mapleoracles.maplesoft.com:8080/maplenet/primes/worksheet/134_ButtonDropDownBug.mw

Hi, Would appreciate some help regarding testing Euler's method in Maple. I have the following function: dy/dt = - 3*y, y(0)=2, delta t =0.2. Is there a programme in Maple that would allow to test this method by performing iterations / plotting a graph? Have already tried Maple help. Thanx in advance. antonio

I wanted to use (one of the variouos) cosine transforms DCT, but only find FFT in Maple12.

Googling did not give me more (except there seem to recipes to reduce my theme in some
brute (?) ways to a FFT problem).

Is there any Maple solution around (even if I can use Clenshaw's algorithm having only a
moderate size - but want to see some generalisation ...)?

A box contains 10bulbs of which 5 are defective. 3 are selected at random and  put in sockets.Find the expected value and variance for the number of defective bulbs in the selection.

Maybe I'm missing something (different definition), but the spherical harmonic function SphericalY gives wrong results. For example, SphericalY(0,0,0,0) evaluates to 0, but should be 1/(2*sqrt(Pi)) (see e.g. http://en.wikipedia.org/wiki/Spherical_harmonic, also Mathematica gives this answer). Note that there is no possibility for arguments mismatch in this case. Do you have any explanation? (I'm using Maple 10.)

I'm trying to use the scientific constants package to evaluate the product of certain constants. 

What I'm trying to calculate is the value

(mu*e^(4)/(2*hbar^2), where mu is the reduced mass of the electron and proton, and hbar is Plancks's Constant divided by 2*Pi.

This is for a Quantum Mechanics problem where I'm supposed to show for the large quantum number limit, i.e. large n, this angular frequency approaches values for the classical angular frequency of an ordinary rotating object.

I want the asymptotics for EllipticF(z,k) w.r.t. z (yes, not k).

My example is F:=I*EllipticF(c*I/x,k), c=2-2^(1/2),k=3+2*2^(1/2)
and I want the limit x ---> 0+.

  MultiSeries:-limit(E,x=0);

results in 0.54... + 0.54...*I (real = imag, positive value).

  MultiSeries:-series(E,x,3);

gives (after clearing the output) the same for setting x=0.


For Numerics my setting is Digits:=24 and eps:=1/10^18.

  subs(c=2-2^(1/2), k=3+2*2^(1/2), F...

Hello,

I have a question on the efficient usage of map command.

 

Suppose I have a function of two variables:

a:=(x,y)->sin(x)*cos(y)

 

I would like to evaluate the function using fixed values of x and y (i.e. grid search problem):

f:=x->x*Pi/180

X:=f(<seq(0..360,45)>)

Y:=f(<seq(0..360,60)>)

Suppose that the Hamiltonian is invariant under time reversal:

[H,T] = 0.

Show that, nevertheless, an eigenvalue of T is not a conserved quantity.

 

v/r,

First 2176 2177 2178 2179 2180 2181 2182 Last Page 2178 of 2434