Items tagged with table table Tagged Items Feed

Dear all;

Please I have maybe a simple question. I need to point these nodes in R^3 using Maple. Thanks for your help.

Tab := [[0, 0, 0], [1/5, 0, 0], [2/5, 0, 0], [0, 1/5, 0], [1/5, 1/5, 0], [2/5, 1/5, 0], [0, 2/5, 0], [1/5, 2/5, 0], [2/5, 2/5, 0], [0, 0, 1/5], [1/5, 0, 1/5], [2/5, 0, 1/5], [0, 1/5, 1/5], [1/5, 1/5, 1/5], [2/5, 1/5, 1/5], [0, 2/5, 1/5], [1/5, 2/5, 1/5], [2/5, 2/5, 1/5], [0, 0, 2/5], [1/5, 0, 2/5], [2/5, 0, 2/5], [0, 1/5, 2/5], [1/5, 1/5, 2/5], [2/5, 1/5, 2/5], [0, 2/5, 2/5], [1/5, 2/5, 2/5], [2/5, 2/5, 2/5]]

This table contains some point of R^3. How can I put these point.

Consider the ring R of upper-triangular matrices over the field of 3 elements.  I would like to have a multiplication table for this ring. Is it possible to generate such a table in Maple?  Thank you.

table of newton raphson...

December 10 2013 pinky 5

how to make a table of newton raphson ? 
working is below 
printf("No           root                   x[i+1]                 abs(x[i+1]-x[i])\n"); for i to n do y[i] := evalf(x[i]+(-D1(x[i])+sqrt(D1(x[i])^2-2*f(x[i])*D2(x[i])))/D2(x[i])); x[i+1] := evalf(y[i]-f(y[i])/sqrt(D1(x[i])^2-2*f(x[i])*D2(x[i]))); printf("%d         %10.10f     %10.10f       %10.10e \n", i+1, x[i+1], f(x[i+1]), abs(x[i+1]-x[i])); if abs(x[i+1]-x[i]) < tol then print("approximate solution" = x[i+1]); print("No of iterations" = i+1); break end if end do
please help me 

Is there a way to swap the names of two Arrays without creating unnecessary copies?

 

The scenario is as follows. I want to repeatedly apply a function to a large Array. The new value in each cell depends on seveal cells of the old Array.  So on each iteration I need to keep track of two Arrays: A_old and A_new. At the end of the iteration I would like to swap A_old and A_new efficiently. This way I will only need the memory for two Arrays and will...

sol[2] := [[2, 1], [3, 4]];

for i from 1 to nops(sol[2]) do

sol[2][i] := [seq(op(k,sol[2][i]), k=nops(sol[2][i])..1, -1)];

T := T + table([seq(op(k,sol[2][i])=op(k-1,sol[2][i]), k=2..nops(sol[2][i])),op(1,sol[2][i])=op(nops(sol[2][i]),sol[2][i])]);

od;

final result should be

1 2 3 4

2 1 4 3

Let A be a table. I give following sequence of commands:

>>B:=A;
>>A[x]=34:

Then surprisingly (at least for me) it turns that B has also changed its value for B[x]. Would someone help me understand this? What is it called? How we can stop this behaviour i.e. A and B should behave as independent tables?

regards

I have two lists viz.

m:=[0,1,2,3,4,5]; n:=[0,1,2,3,4,5,6,7,8,9];

I have to define a mapping (i.e. a Maple table) say `p` such that

(1) p(0)=0,

(2) p(max(m))=p(max(n)) and

(3) For all other i in m p(i) is a random choice from n but with condition that p(i)>=p(i-1).

Help is desperately needed. regards

I have a set X={a,b,c,d,e} and a table as follows:

M[2]:=TABLE([e = {2,3}, a = 5, c = 1]);

Afterwards I want to add to this table all those elements (e.g. b={3,4} and d=4) of X which are unassigned in M[2]. How I can do this?

I have a mapping as a Table and want to find its inverse mappings. For example for

TABLE([e = w, c = z, d = w, a = w, b = y])

I want to elegantly compute

TABLE([w={e,d,a},z={c},y={b}])

kindly give a compact line of code, regards.

After viewing the table in print preview I realized that the table goes into the second page. I want to reduce the height of the table so that it fits in one page. How is that possible?

By moving the cursor to the edges of the table, I realized that it would allow to me to adjust the width of the table but not the height. The table has about 12 rows. 9 of them fit in one page, but 3 of them go into the next page. I want to shorten the height of the table so that the...

Hi!

I just started using Maple for my engineering study some weeks ago, i have had luck finding help by google and forums so far. But now i ran into the first problem i can't find any answers for.

I want to add some values in a table like you can in excel. The values have to change like everything else in the document when then references changes and

Been attempting this question for some time now and can't seem to get it right. 
Each time coming up with a different error.
It's part of our weekly homework, an extention question.
 
Write a procedure, marks, to take a student’s mark and output the appropriate grade, 
based on the following table:

mark 0-39.99 40-49.99 50-59.99 60-69.99 70+

When i use the pronumeral thetac (using greek characters) I initially get numeric data reported, but later in the script i get the pronemeral literally repeated (as though there is no value defined for this pronumeral).


This does not happen for thetahs (using greek characters), where I always get numeric results (through the entire script).

See the following script: sample_1.mw

I re-wrote the...

I have three functions f,g,h and I want to create an n by 3 matrix with columns: 

[f(1), f(2), f(3), ..., f(n)] , [g(1), g(2), ..., g(n)] , [h(1), h(2), ..., h(n)]

I can do this for a particular positive integer n, but I would like be able to just input n and get the n by 3 matrix.  I am new to Maple and could not find an answer easily.  Thanks.

Hey guys,

 

I do have a problem with Excel Import.

What I wanna do is import 2 collumns from a Excel-File.

The first Column are the X-coordinates and in the second column are the y-coordinates.

After the import of the two columns (each with around 1000 rows) I would like to run a formula for each of this x/y pairs. Means for example a formula i1:=2*x+y or something like this.

And I would like to get the results also in a...

1 2 3 4 Page 1 of 4