MaplePrimes Questions

I am having a problem in indexing a given matrix to be used in sigma. How can I make this work? x-y coordinate method > xy := Matrix(5, 2, {(1, 1) = 10, (1, 2) = 10, (2, 1) = -14, (2, 2) = -2, (3, 1) = -10, (3, 2) = -10, (4, 1) = 4, (4, 2) = -24, (5, 1) = 10, (5, 2) = 10}); > n := LinearAlgebra[RowDimension](xy); = print(`output redirected...`); # input placeholder 5 > > x := LinearAlgebra[Column](xy, 1); = print(`output redirected...`); # input placeholder Vector[column](%id = 194172504)

I am attempting to solve the following problem with maple:

 

3 ∙ x ≡ 1 (mod(2))

Yet when entering this into maple I get the following error:

Error, invalid input: modp expects 2 arguments, but received 1

So how would one enter this problem into maple?  What other argument would need to be entered or can maple even solve this?

 

restart:

stats[random,binomiald[400,1/2]](4);

                            88, 88, 88, 88

 

The first four values generated by the binomial random number generator

with n=400 and p=1/2 are all equal to 88? I must be doing something wrong.

Any ideas? (I am using Maple 8)

 

Byron Schmuland


 

I know this sort of simplify question has been asked many times, but I still don't seem to have 'got it'.  In a nutshell, there's a conservative real 2-D vector field (cartesian X,Y coordinates) with an extra non-positive parameter Z, and Maple 12 is able to compute the scalar potential.  But it presents it in a long (6 lines), perversely complicated form, involving the imaginary sqrt(-Y^2).  I tried to show it here using the Maple leaf Tag and pasting the expressions there, but all I got was indecipherable ascii.  The vector field X and Y components are

Dear all,

    I want to find a relation between tow sets of discrete points. So I must plot a curve with these dicrete point pairs. But  the two sets points don't have a explict relation (in fact, the relation just is that I want to find) How  to treat the discrete point pairs with maple? Thank you very much!

Best regards!

 

I was wondering if there was a way to have two background plots on an animation?  I would like 2 seperate parts of the animation to remain constant but I can't figure out how to do that without connecting the seperate parts.

Thanks.

 

hi, I m pretty new with maple,  could someone tell me how to calculat the area of parabola and x-axis,the equation of parabola is 3x^2-22x+7,

Hey so I've been given a set of data, I was told to make a scatter plot which i did now I have to:

 

Use the regression feature of Maple to find a linear model of the data.

 

I don't know how to do this. What I have right now is:

> data := [[2005, 2.85], [2006, 5.70], [2007, 10.0], [2008, 14.8], [2011, 25.0]];
   [[2005, 2.85], [2006, 5.70], [2007, 10.0], [2008, 14.8], [2011, 25.0]]
> with(plots);
> pointplot(data);

 

What's the next step?

 

I'm looking to display some results in my for loop but not others.  This is my code:


with(plots);
for j from 0 to 10 do
    fileName := sprintf(`destination%d.txt`, j):
    datalist := readdata(fileName, integer, 3):
    pointplot3d(datalist, style = line, linestyle = solid, thickness = 5);
end do;

 

Hi,

I'm sort of new with Maple and programming so I would like to ask a couple of questions related to Matrix polishing / changing numbers in Matrix. The example code is as follows:

Just like the "hold on" in matlab, I think it is a good function:)

Guys, I solved a huge set of non linear equations for a range of input values and the results printed out are of a great volume and it is too hard to read the value for a particular set of input values.Is there any way i cud get the results in a table form as we get it in matlab in the workspace window.So i cud easily copy paste in excel sheets.
Hi all, I need to solve these two nonlinear equations for unknowns b and u. I have used solve command and maple is evaluating for last 5 hours. Is there any faster way to solve these equations? Also, can I somehow check if maple is not stuck in an infinite loop? equation 1: 16*Pi^2*1.5)*10^6*sqrt(Pi/(2*b^3))*((1000/3*((2/3)*exp(b*(u-4300))+3/4))*(exp(b*(u-4300)))^(3/2)/(exp(b*(u-4300))+1)+500*sqrt(exp(b*(u-4300)))^ln(exp(-b*(u-4300))+1)) = 1, equation 2:

I used seq command to get a list of numbers......seq(2*x+8,x=1..10)...for example.

How can I take the output and convert it to a table? Thanks in advance.

I have some expression given as a "RootOf": i.e.

 

sol := RootOf(p(_Z));

 

How do I grab a hold of the polynomial inside?  This should be in the RootOf help file ... am I missing it?

First 2151 2152 2153 2154 2155 2156 2157 Last Page 2153 of 2455