MaplePrimes Questions

Hi, I have a vector with 33 points ####[33x1]Matrix### for example : [43.6, 764,3.85,32.7 .........n]

Each point is at the plotted on the x axis of theha:Matrix([seq((Pi/32)*n,n=0..32)])^%T:   ####another[33x1]Matrix#####

How do I plot first point (0,43.6), second point (Pi/32,764), third point (2Pi/32,3.85) etc...

Please help. Thank you.

Hi,    I have the following    

for i from 1 to 100 do    x[i]:=cos(θ[i]);     y[i]:=sin(θ[i])  end do; 

Now I want to find the first and second derivatives for x[i] and y[i] which are

for i from 1 to 100 do     x1dot[i]:=-sin(θ[i]);     y1dot[i]:=cos(θ[i]); 

                         ...

A very useful feature of the plotting program gnuplot is that you can generate an output which is a file instead of a graph. For instance the following short script

################
f(x)=sin(x)+cos(pi*x)
set samples 5000         
set table "outfile.dat"
plot [0:10][] f(x)
################

produces a  file containing a sampling of the function f(x) on the interval [0,10] based on a grid...

Can someone help me to generate the same, identical grpah over several periods in x-axis? In exact term, I mean that I need to plot a periodical grpah, that repeats itself over the interval? It is like given a periodical function and now have to draw it many times...(function can be any form, not only sine and cosine)
 

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?

First 791 792 793 794 795 796 797 Last Page 793 of 1456