MaplePrimes Questions

Hi,

To evaluate some real integrals I use the 'assume' instruction to make sure all the quantities are real.  But Maple 12 can't seem to deduce the obvious inequalities from this - testing for them gives a FAIL result.  Here is a minimal example:

    assume(X,real, Y,real, w>0);

    is( (X+w)^2 + Y^2 >= 0);

If I have g:=x^2 , and I want to plot it against x^2 I should get a straight line,

but If I do plot(g,x^2) it says "Error, (in plot) unexpected option: x^2"

Can I plot arbitrary functions against arbitrary functions ??

Hello, i would like to use the animate function to simulate the drawing of a "rose curve" ( en.wikipedia.org/wiki/Rose_curve ): the effect i would like to achieve is like this

c := 3;

animate(plot, [[cos(d*t), sin(d*t), t = 0 .. 2*Pi], -c .. c, -c .. c], d = 0 .. 1);

 

the fact is that here i'm using cartesian coordinates (though parametric, not cartesian equations), while the rose curve is given by the equation

Hello! I am 100% useless with maple and i need some graphs to fill a report i am doing.

 

I need two sine wave graphs with different frequencies, i can plot a sine wave but i dont understand how i am supposed to do this in terms of frequency?

I also need to plot fourier transforms of each of these sine functions and to apply a wavelet transform to them.

 

If anyone could help me with any of this i would be so grateful!! Or even just point me in the direction of a help guide because i am struggling to find anything that makes sense!!!

Hello,

how does one create a piecewise linear function from a given set of points? Having np points [x[i],y[i]], I tried

Lf(q):=q->piecewise(seq('(q>=x[j]) and (q<=x[j+1]),evalf(y[j]+(q-x[j])*(y[j+1]-y[j])/(x[j+1]-x[j]))',j=0..np-1),ERROR("argument out of range!"));

but it did not work (invoking Lf(3); resulted in "Lf(3)," not in an actual number). Then I tried

(just got v12, haven't used it since v8) <--- my only excuse!

Trying to make a list of the centroids of the faces of a regular icosahedron. Here's my code:

***********

with(geom3d);

icosahedron(f,point(o,0,0,0);

a:=faces(f);

cent:=[];

printlevel:=-1; for k from 1 to 20 do point(A,a[k][1]):point(B,a[k][2]):point(C,a[k][3]);

print(coordinates(centroid(c,[A,B,C])));

cent:=[op(cent),coordinates(centroid(c,[A,B,C]))] od;
 

************


                

word problem

when a certain guitar string is plucked, it vibrates with a frequency  F(t) = 200 sqr( t ) where t  is measured in pounds and F is measured in vibrations per second. find the rate of change  of F with respect to t  when t= 1

Is it possible to perform a Ztransform with initial conditions in Maple?

I want to calculate the Ztransfrom of following differrence equation.

Dv:=3*y(k)-4*y(k-1)+4*y(k-2)=(1/2)^k*Heaviside(k)

With.

y(-1) = 1

y(-2) = 2

For now I am using following command.

Opl:=ztrans(Dv,k,z);

I suppose that this command uses initial conditions zero.

 

Thank you in advance,

 

 

Hi all,

I would like to know how can I teach Maple to do the analytic integral of ln(x)*ln(1-x)^2 for x in [0,1] ]which has a solution of -6+Pi^2/3+2*Zeta(3) ~ -0.306018 (from Mathematica). I want this because I have to integrate an expression which has terms of this type and with similar x dependence with this being the simplest example.

I don't  think Maple has a closed form for this integral because when I use the command integrate(ln(x)*ln(1-x)^2,x=0..1) the output returns the function called.

Thanks

I'm trying to run the basic example posted in the hepf files at "OpenMaple, Java, Examples".  The procedure to produce a test.class file from the test.java file seems to work fine.  But I get an error message when I try to run the test.class file as per directions.  What I am seeing is

Exception in thread "main" java.lang.NoClassDefFoundError: C:/.../test

then a bunch of stuff and finally

Could not find the main class: C:/.../test. Program will exit.

eigs := Eigenvalues(H);
Error, (in simplify) too many levels of recursion
 

!!  I never asked Maple to simplify anything !! I'd be happy even if it came messy!  I was planning on only using the linear approximation of the answer anyway !!

In fact, what's strange is that I did the Eigenvalues of this exact same matrix a year ago using Maple 12 (I'm still using Maple 12) and it gave them to me.  The matrix is the same this time except the symbols have different names!

First of all, is there a way I could add maple and matlab scirpts on this forum to make my questions more readable ?? I know we can enter latex scripts on a lot of the latex forums and it's very convenient.

---------------------------------------------------------------------------------------

I have a matrix that's a function of a few parameters.  I evaluate this matrix at specified values of those parameters and Maple gives me:

-10123.5740   14316.89761    5065.657044

14316.89761  -20246.81544   3581.960447

i have an equation like this:

a*b*c =  sqrt(a+2)*d*e

I want that the maple writes this equation like this :  a == .........

how can i achieve this.

thanks.

First 2079 2080 2081 2082 2083 2084 2085 Last Page 2081 of 2376