MaplePrimes Questions

Hi, I am trying to have a sequence of (0,Pi/32,2Pi/32,3Pi/32...Pi)

Here is what I did : theta:=[seq((Pi/33).n,n=0..32]:

Question 1 : Is this the same as doing 0:Pi/32:Pi in matlab?

Question 2 : how do i select the output? for example output 5 which is 4Pi/32.

Question 3 : how do I multiply it with another sequence of (0,2,4,6,.......64)? for example to get a new set of numbers (0,2Pi/32,8Pi/32.....)

Please help. Thanks.

how to override Array type? Want workaround next behaviour for float array:

a:=Array(1..10,datatype=float)

a[1]:=((2)^(4/9)+sqrt(2));
Error, unable to store 't^(4/9)+2^(1/2)' when datatype=sfloat

i.e. to call convertor before assignment. Can i principally to do so?

And yes, no hfloats. I need sfloat. Sow in help that some types could be created like objects (stack, queue etc).

i tried to plot a differential equation with piecewise.

h:=piecewise(0 <= t and t <= 1, 1, 1 < t and t <= 2, 2, 2 <= t and t <= 3, 0, 3 < t and t <= 4, 2, 4 < t, 1.5):

g3:=diff(y(t),t)=((800-y(t))*y(t)/*(100+y(t)))-E*h

ivs6:=[y(0)=100,y(0)=500,y(0)=1500]:

with(DETools):

DEplot(g3,y(t),t=0..10,ivs6);

I want to find all integral solution of the equation x =
Pi/9+2*k*Pi/3, where k is integral numbeer and 1 <= x <=2^Pi. 
This is my code. 
restart; solve([Pi/9+2*k*Pi/3 >=1,Pi/9+2*k*Pi/3 <=2^Pi],k);

> evalf(%);

> f:=k->Pi/9+2*k*Pi/3;

> seq(f(k),k = 1..4);

Please help me another way. Thank you.

Hi, I have a matrix D which is a 33x33 matrix. I find the eigenvector using "Eigenvectors(D)". It gives me the eigenvalue together with the eigenvector. Then, i want to multiply the eignevector with another 33x33 matrix. How can I get the eigenvector without the eigenvalues attached to it? please advice.

Many thanks.

with(SumTools):
rsolve({c*(n+beta)*P(n+1)/(-1+c)+(c*(x+beta)/(1-c)-x)*P(n)+n*P(n-1)/(-1+c)=0,P(0)=1}, P, 'genfunc'(z));

all given, but rsolve said invalid options, why P not in terms of other variables?

Dear All,

 

I have 12 equations with 12 unknowns.  I trying to solve using the following:

 

solve({s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12},{c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12});

 

but my problem is MAPLE doesn't solve for C10, C11, C12.    

Is there any format for writng s10,s11,s12  and c10,c11,c12.

 

Your help will be really appreciated.

Thanks in advance

Write the equation of the sphere passing through the point B(-1,-1,0) and tangent to the line x = t + 1, y = 2*t + 1, z = -t + 2 at the point A(1, 3, 2) so that its radius obtain minimum value.

This is my code.

> restart:with(geom3d):

point(B,-1,-1,0):

point(A,1,3,2):

a:=[t+1,2*t+3,-t+2]:

line(Delta,a,t):

dsegment(AB,[A,B]):

Problem 1. Write the equation of the sphere passing through three points A(2, 3, -2), B(-2, 3, 4), C(0, -1, 2) and  tangent to the plane (P): x+5*y+z-33=0.

This is my code

> restart:with(geom3d):

point(A,2,3,-2):

point(B,-2,3,4):

point(C,0,-1,2):

plane(P,x+5*y+z-33=0,[x,y,z]):

point(T,x,y,z):

Is there any easy way to download (or upload) several files in my maplecloud simultaneously. I seem to be able to highlight several files, but when I control-click it then only selects one.

Thanks,

Jason

I tried to use control+C and control+V to copy and paste equations from maple to MS word under windows 7, it works fine. But when it comes to the Mac OS, it generate some meaningless codes. Is there any way to do it under Mac OS?

I am trying to solve the so called Bethe ansatz equations in Mathematical Physics.

I have four multivariate polynomials equations with four unknown p_i(x[1],x[2],x[3],x[4]) i=1,2,3,4; which have integer coefficients. The equations are mixed; P_i is linear in x[j] for x[j]\ne x[i]; and x[i] is of order 10. Due to this structure,  I first eliminate x[4] from these equations. Then use resultant to eliminate x[3],  I got error messages (invalid series, in gcd...

I want to put vector n = (a, b, c) as normal vector of plane with assume a^2 + b^2 + c^2 > 0. For example

with(geom3d):assume(a^2 + b^2 + c^2>0):

plane(P,a*(x-1) + b*(y+2) + c*(z-3)=0,[x,y,z]);

But, i got: "Error, (in geom3d:-plane) unable to define the plane"
Plese help me. How can i put vector n = (a, b, c) as normal vector of plane?
Thank you very much.

Solve the equation sinx=1.5

How do I mask an input string?

That is when queried for an input, as the characters are typed they are presented differently.

First 1780 1781 1782 1783 1784 1785 1786 Last Page 1782 of 2444