MaplePrimes Questions

Hi

I'm working with some rather complicated functions in Maple. They are elements in matrices, and I need to perform mattrix operations on them, as well as integrations. When I try this with my complete functions, Maple locks up. Therefore I am trying to make approximations to some of the functions. The example below shows an example, where the complicated function (green) is denoted theta24. I comvert it to a 5th degree polynomial (red). But the approximation only...

I would see on the monitor the vector n > 10 with all his components, but the output of Maple is always the structure of the vectors.

For example, if I write:

The loading of Facebook plugins really slows mapleprimes down.  Can we get rid of the facebook connections entirely? 

I have also noticed mapleprimes takes much longer to load pages when logged in as opposed to browsing mapleprimes logged out.  Again could be the facebook issue.

Is it possible to paint in black and white colors the cells of 5x5 grid so that each 3x3 square contains exactly 5 black cells and  each 2x4 rectangle (vertical or horisontal) contains exactly 4 black cells? How to answer this with Maple?

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

First 789 790 791 792 793 794 795 Last Page 791 of 1454