MaplePrimes Questions

In the following examples I attempt to remove integer multiples of Pi from sin/cos. Nothing works.

Why? How do I make it work?

Thank you.

 

term1:=cos(Pi*(3*a-2*n));
> term2:=cos(3*Pi*a+2*Pi*n);
> term3:=cos(3*Pi*a-2*Pi*n);

                     term1 := cos(Pi (3 a - 2 n))


       ...

any of the numerical factors that multiply the successive terms in the expansion of an expression of the form  (x + a)^n,  for integral n,  in accordance with the binomial  theorem. These are any terms of the form
               ∑x^(n-k)*a^k*binomial(n,k)


how to get it.

convert((x+a)^n,Sum,x)


but ,i get a anwer that i don't want

Dear all!

I wrote a program but when I run it I get an error as: " can not evaluate the solution further right of ..., maxfun limit exceeded ". I tried some ways to work around it, for example I tried "maxfun=500000" and more. Also I tried "maxfun=0", but they don't work. How can I solve my problem?

O.K. Isolved this problem myself. We can solve such a problem in two different ways. 1.by adding the expression "method=mebdfi" and 2. by adding expression "'stiff=true'".

1 -√3 - x2 -√2- x2  = 0

Look at this trinomial 
32a^4 + 18a^3 - 12a 

Write the polynomial as the product of the GCF of all its terms and a polynomial 

PLEase explain thanks

From this expression I want to extract only terms with the variable x.

F := (1/2/Pi+Q*cos(k*x))^2*(1/2/Pi+Q*cos(k*y))/(1+beta^2*(1/2/Pi+Q*cos(k*x))^2);

 

I don't want to manually write it out rather extract the terms programmaticallly. I want to be left with

(1/2/Pi+Q*cos(k*x))^2 / (1+beta^2*(1/2/Pi+Q*cos(k*x))^2)

I have tried the collect fucntion but that did not seem to do it. Any suggestions...

Like in the version 7 where that variable didn't exist.

I'm using the following function for my project,:

printlevel:=2:for Prc from 2 by 1 to 100 do for B from 2 by 0.5 to 100 do (mf(Prc,B)):=(f(Prc))*(m(Prc,B)) end do end do

Is there any way to be able to sort the answers in ascending order? I tried to use sort, but when I put sort(mf(Prc,B)) it gives me a wrong answer and jumps into Prc=101 and B=20.5.

Also is there any way to put a condition for show only real numbers, without complex numbers?

upload2.mw Dear guys!

Pleaes visit the attached file and tell me what should I do. Thanks a lot.

Hi there,

I'm doing a lot of computations with Maple right now (currently the ancient 10 and 12 versions but maybe soon 14).

I would like to do Unit-Tests of my Software as known for instance in JUnit with Java. Is it possible or do I have to use the ASSERT(...) - statements?

Thanks in advance.

Dear Friends:

My original equation is

solve({(1-3*q2)*(1+lamda) = 0, r1*q1-2*r2*XA*(1+lamda) = 0, (1-2*q2)*q2-r2*XA^2 = 0, 1-3*q1+r1*XA = 0}, {XA, q1, q2, lamda})

The answer is

{XA = -1/r1, q1 = 0, q2 = RootOf(r2-r1*_Z+2*_Z^2)/r1, lamda = -1}, {XA = RootOf(-1+9*r2*_Z^2), q1 = 1/3+(1/3)*r1*RootOf(-1+9*r2*_Z^2), q2 = 1/3, lamda = (1/6)*(9*r2*r1*RootOf(-1+9*r2*_Z^2)+r1^2-6*r2)/r2}

 

Two questions:

1. Actually I want...

let x , y in R , say for example

x=0.1243134710481

y=0.1243234710571

Then we can compare the digits where x and y agree and where they differ.

In the example , x and y agree on the first 4 digits , differ on the next digit, agree of the next 5 digits , differ on the next two digits, and agree on the last digit.

Q: Write a procedure compdigits in maple that given two decimal numbers returns a list stating the number of digits they are...

bestfit1-loop.mw, sn_union2.txt

Dear all

I've written a program, but it shows an error related to maxfun limit when I run it. Can anyone tell me what the problem is? and how can I solve it? The program and the data file are attached.

Thanks a lot.

Hello all,


This is my first time posting here; I usually find answers to all my questions by searching patiently but I was unsuccessful with this particular issue.


I attend an introduction Maple class and i'm building an animated bike as project. I was already rather comfortable with Maple so i'm trying to show off a little by adding lots of cheesy details to the scene, even if unnecessary. However, some objects such as the sky, which i would like to...

Hi all,

I have this function:

restart:

I2:=g->(200*g)/sqrt(0.04+g^2);

plot(I2(g),g=0..1); 

plot(I2(g),g=1..0);

Those two plots give the same result.

Is it possible to invert the x axes to start from 1 ?

I also tried this below, but the result is as above.

x:=seq([g,I2(g)],g=1..0,-0.02);

pointplot([x],style=line);

Thanks

First 1879 1880 1881 1882 1883 1884 1885 Last Page 1881 of 2434