## plotting multiple 3d data sets on a single plot...

How do i plot a bunch of 3D data sets. If it were just one set i could use pointplot3d i suppose. with(plots): > l1 := [[1,2,2],[3,4,2],[1,5,6],[7,8,9]]; > l2 := [[1,2,2.5],[3,4,2],[1,5,6],[7,8,9]]; > plots[pointplot3d]([l1,l2], axes=boxed, labels=[x, y, z], > connect=true); #DOESNT WORK More exactly i want to plot the data sets (11 rows each) pasted below. 1.000000000000 1.000000000000 .571428571400 2.000000000000 1.000000000000 .139941691000 3.000000000000 1.000000000000 .068542869040 4.000000000000 1.000000000000 .041965021860 5.000000000000 1.000000000000 .028776014990

## Embedding Information...

I was wondering if anyone was familiar with an easy way to embed or hide information into a Maple worksheet (Classic worksheet or Maple 9/9.5 standard worksheet, NOT a Maple 10 standard worksheet)? I want to be able to be able to have something equivalent to a checksum. We are producing Maple worksheets as homework for students, and I want to have something that the sudent cannot easily change to make sure that he or she is not submitting a friend's homework.

## Graphing differential equation...

Hey guys, I'm having a bit of trouble graphing the following: f'''(x) + f(x)*f''(x) = 0 where f(0)=f'(0)=0 and f'(infinity)=1 My specific problem is that I can't set f'(0)=0 and f'(infinity)=1 thanks, Rebecca

I am trying to solve (numerically) the following system of differential equations using dsolve (Maple 9): DGLS:=seq(seq(diff(B[i,k](t),t)=add(add(W(j,l,i,k)*B[j,l](t)-W(i,k,j,l)*B[i,k](t),l=1..N),j=1..N),k=1..N),i=1..N); The problem is posed by the coefficients W(i,k,j,l). I want to make the W(i,j,k,l) dependent on the unknown functions B[i,k](t). For that purpose I wrote a Maple program W := proc(i::integer, k::integer, j::integer, l::integer) which calculates a "transition probability" Wtrans. If Wtrans does not depend on the B[j,l] (e.g. Wtrans:=1/N^2;), everything works nice. However, if I try to use the B[i,k] somehow (e.g. if NKrit_jl > B[j,l] then Wtrans := 0.5 fi;), then error messages from the procedure W result like "Error, invalid terms in product".

## Differentiating with respect to structured-symbols...

by: Maple
When you try to differentiate a Maple expression with respect to one of the constituents (of expression) which is not simple atomic symbol, Maple could not perform operation, e.g. ``` > diff( sin(x(t)), x(t)); Error, invalid input: diff received x(t), which is not valid for its 2nd argument ```. One solution to handle this problem is described in book (Maple book Chap.12)of Walter Ganz (Walter Ganz). In his trick structured symbol is temporarily replaced (via substitution) with a local variable, differentiation is performed with respect to local variable and finally local variable is replaced with original structured symbol.

## Sorting with Indices

by: Maple
Suppose you want to sort a list L ( of numbers ) and also determine order of elements as a list of indices corresponding to elements of original list L, that is, you want such a integer list "I" that `"seq(L[I[j],j=1..nops(L))"` to be equivalent to sorted list. This functionality is present in MATLAB in `"[B,IX] = sort(...)"` syntax and i come up with this problem while trying to convert a MATLAB function (GaussQuadratureWeights) to maple. The procedure described resolves problem using a few MAPLE commands including MAPLE's built-in sort function.

## Extracting an integer coefficient from a term...

What is an efficient, robust, way to extract an integer coefficient from a single term? My first thought was using lcoeff, however, it doesn't work if the term contains constants (say Pi) or floats. Currently I'm using patmatch,
```icoeff := proc(t)
local k,x,kx;
return `if`(patmatch(t, k::'nonunit'(integer)*x::anything,kx)
,eval(k,kx)
,1);
end proc:
map(icoeff, [0, 1, -3.0, -3, -0.,  3.0*Pi, 4*Pi, -12/5*I]);
[0, 1, 1, -3, 1, 1, 4, 1]
```

## Can anyone tell me the difference of maple used in...

One of my friends told me that Maple used in Linux(SUSE) is unstable,^_^，what he said may be wrong.I need more information about these,Anyone has even used maple in Linux(SUSE)? Can you tell me the difference of maple using in between Linux(SUSE) and Linux(RedHat)? I want to install maple V10 in SuperComputer Center for parallel computing.

by: Maple

See here.

## Branches in numeric integration...

A colleague is trying to evaluate some contour integrals numerically using evalf(Int(f,t=0..1)). Unfortunately f involves square and higher roots and Maple is getting an incorrect answer because it is not choosing the branch for these roots continuously through the range of integration. Apparantly Mathematica has an option in numerical integration which forces a continuous choice of branch for the integrand. Is there any reasonably simple way to achieve the same with Maple? Thanks.

## listplot3d problem...

Hello, I am trying to do a 3d plot from 3 datapoints from a text file. I have the file DATA with 4000 data points in the following format: -1 -1 2 -1 -0.976522 2 -1 -0.952609 2 -1 -0.915507 2 ... Where columns respectivly are the x, y, and z values that I want plotted. I figured that this command should plot the points: listplot3d(readdata("DATA",3), axes=boxed, labels=[x, y, z]); I do get a graph here, but instead of plotting the points x, y, z, I get the x value correspoindng to the line number, a y value that seems to be the value of the y column + 2, and the actual z value that I want. So, my question is, how do I just plot the three values that I am inputting?

## use fortran77 in maple...

Hi! I have a lot of programs made by fortran77, can i use this programs under maple10? thanks.

## Solving nonlinear equations?...

Hi, How to solve 12 nonlinear equations with 6 unknowns with Maple 10 or other software but analytic, not numeric? I was tried with solve(). After waiting 24h computation I was interrupt it. And I don't think that Maple will solve that problem. In begining CPU usage was 100% but latter was 0% and HD always read or write something without stoping.

## How to sum on j1, j2 and boolean expressions?...

I want a function depending on n1 and n2, and a1 and a2, more or less in the following way: sum( sum( ((if ((j1*k1/n1 +j2*k2/n2+k2/n2 > 1/2) &and (j1*k1/n1 +j2*k2/n2 >1/2)) 1 else 0), j1=0..n1), j2=0..n2). How do I write in maple the previous expresion?. That is.. how may I write MYfunction( n1, n2) = sum( sum( BOOLEAN , j1=0..n1),j2=0..n2); where BOOLEAN stands for terms involving j1,j2,n1,n2 and other "constants"? Thanks in advance! Jacques

## a multibody dynamic problem(solving an 2nd order O...

several beams are connected by gemel one after another, the 1st is fixed at one end on the roof, and the last is driven by a force(fx,fy vector summation) at the end point. i am using lagrange method for the virtual displacement of angle theta[i] , and momentum balance in 2 direction (x,and y)to build the model. in the last step, i got an ODE system of 2nd order, but i cant code in maple to solve it. i think it is solveable, (6 equations, 6 unknowns). Kindly let me know how to write the code to solve it! below is the code.

> restart:
interface(warnlevel=0):
with( plots ): with( plottools ):
with( DEtools ): with( PDEtools ):
g:=9.81:
x[0][2]:=0:
y[0][2]:=0:
#initialization function of each beam,in this function, we should give 3 variables, n=the number of this #beam, la=the length of this beam, ma=the  mass of this beam
beams:=proc(n,la,ma)
global l,m,x,y:
l[n]:=la:           #length of  beam n
m[n]:=ma:           #mass of beam n
#initialize the positions of each beam
x[n][2]:=0:        #the x position of the end point of each beam
y[n][2]:=0:        #the x position of the end point of each beam
x[n][1]:=0:        #the y position of the center point of each beam
y[n][1]:=0:        #the y position of the center point of each beam
end proc;
#define the forces that applied on the end of  beam n
Force:=proc(n,fm,fn)
global fx,fy:
fx[n]:=fm:
fy[n]:=fn:
end proc:

 First 2124 2125 2126 2127 2128 2129 2130 Page 2126 of 2133
﻿