## plot procedure with multiple outputs...

Asked by:
I have a procedure with multiple outputs and one input -- how do I make a 2D plot of these outputs as a function of the input (i.e. a plot with multiple curves)? I have tried using single quotes and the -> operator in various combinations, to no avail. For example, say my procedure is: solset2:=proc(k) local eqn1,x; eqn1:=x^2+k=3; fsolve(eqn1,x) end proc; The following does not work: plot('[solset2(z)]',z=-1..1); I realize there are lexical scoping issues here, but I don't understand the subtleties...

## Document Mode vs. Worksheet Mode in Maple 11...

Asked by:
With Maple 11, the 2-D editor has become greatly more reliable. So now I am trying Document Mode for the first time. My question is this: what disadvantages does Document Mode have compared with (Standard) Worksheet Mode? I.e. given that 2-D input is being used, why would someone use Worksheet Mode instead of Document Mode?

## Maple 10 Mac-only problem?...

Asked by:
A user in Ireland is trying to learn Maple programming, and got stuck on trying to reproduce the examples on p.49 of the Introductory Programming Guide. First, I suspected it might have had to do with 2D mode (it doesn't, it works on Windows), so I asked him to try in the TTY version. The results there were really weird: What could be the problem? Is this Mac-only? Is this some locale issue?

## Animating from vectors of data...

Asked by:
I have four column vectors of data points; X1,Y1,X2,Y2 (n=30) where pointA is given by (X1[n],Y1[n]) and pointB by (X2[n],Y2[n]) I can plot lines using indvidual rows with n=rownumber plot([ [X1[n],Y1[n]],[X2[n],Y2[n]] ]) However, I want to animate the plot so it shows n=1, then n=2 and etc. I am aware of the "insequence" option but I don't want to have to write the 30 entries into a "display" command. Any tips

## Animating plots of data points that are in a vecto...

Asked by:
I have four column vectors of data points; X1,Y1,X2,Y2 (n=30) where point1 is given by (X1[n],Y1[n]) and point2 by (X2[n],Y2[n]) I can plot lines using indvidual rows with n=rownumber plot([ [X1[n],Y1[n]],[X2[n],Y2[n]] ]) However, I want to animate the plot so it shows n=1, then n=2 and etc. I am aware of the "insequence" option but I don't want to have to write the 30 entries into a "display" command. Any tips

## applying function using multiple lists as variable...

Asked by:
Using the formula: ((A/B)^(3/2)*(C*D*E/F*G*H)/(I/J)^(3/2)*(K*L*M/N*O*P) I have a different list of [a1,a2....a11] for each variable except A,B,I,J which are constants. I've seen examples for using a single list, but never for using multiple lists. There are 11 numbers in each list, so I should get 11 answers. Thanks for the help. Will

## MathContainer...

Asked by:
I am trying to read from a embedded MathContainer a simple expression. I am using the expression func:=parse(GetProperty('MathContainer0', value)); When I execute the above code I get the error, "incorrect syntax in parse: missing operator or ';' (12)". I have read over the help pages on MathContainer, GetProperty, and parse to no help. The syntax looks fine to me. The parse help page did indicate that MathML may be reponsible, but the MathML help page was no help. What is the syntax error that is occuring? The expression works fine if I use func:=parse(GetProperty('TextArea0', value));

## Basic Do Loop Error...

Asked by:
Hi Guys I just started learning Maple and I have basic question which is annoying me. I use Maple 10 and when I execute the following statement I get the final result as the output instead of a set of numbers. for i from 6 by 2 to 15 do print(i) end do; 14 what am I doing wrong? Am I missing something here? I tried searching all over but could not find a solution. Help is very much appreciated. Thx in advance

## Matrix display in equations...

Asked by:
I have a situation which is not really complicated but it would be awkward to explain it in a text post, so I have described it in the attached worksheet. It has to do with the display of matrices. If anyone has the time to take a look at the worksheet and propose a solution I would be grateful. -Thanks View 2292_Matrix Display.mw on MapleNet or Download 2292_Matrix Display.mw
View file details

## automatically input times steps into output=array ...

Asked by:
I am using the output=array([]) option in dsolve which works fine if I write in each time step of interest eg output=array([0.1,0.2,0.3]). No problem for 3 values. However, I wish to input a large number of values. Can this be automated for regular time steps?

## maximize function, Weierstrass M-test...

Asked by:
I would like to write a procedure which uses the Weierstrass M-test on uniform convergence. I wanted to use the maximize function (to recognize if the function is bounded and to get upper bound) but this function doesn't work in many simple cases. ``` assume(x::float); assume(n::integer); maximize(2*sin(x)+cos(x)); ```
`          maximize(2 sin(x~) + cos(x~))`
``` maximize((-1)^n); -infinity ``` Actually, I don need maximize function but just to get any upper bound. Is there a way?

## how can i calculate the parameter of the matrix wh...

Asked by:
here is the matrix,for example, result:=Matrix(2, 2, {(1, 1) = 4*c-4, (1, 2) = -2*c+3, (2, 1) = -2*c+3, (2, 2) = 4*c-15/4}) for what region of c, this matrix is positive definite? I typed the following in Maple, > IsDefinite(result); / 2 \ 0 <>

## Who is behind ScientificComputing blog?...

Asked by:
Does anyone know who the author of the Scientific Computing blog on blogspot?

## Make a 3d house....

Asked by:
Hey all just a quick question. How do you make a 3d house using the 3dplot. thanks

## Equal Matrices...

Asked by:
Suppose I have 2 Matrices, say each is 3 by 3. Is there any way I can check for the equality of all corresponding elements of the matrices without resorting to a for loop or something like that?
 First 2056 2057 2058 2059 2060 2061 2062 Last Page 2058 of 2143
﻿