Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I have some data in some text files I want to read in with maple. 

The problem is with the format of the data ... 

I  have a little bit of code that chows a parabola "rolling" and its focus tracing out a catenary. I want to trac the focus but not the parabola, and am unsure how. Any suggestions? Here is my code bit:

> L := unapply(int(sqrt(1+(2*x)^2), x = 0 .. X), X);
> P1 := display([pointplot([0, 1/4]), plot(x^2, x = -2 .. 2)], color = blue);
> F := proc (t) options operator, arrow; rotate(translate(P1, L(t)-t, -t^2), -arctan(2*t), [L(t), 0]) end proc;
> animate(F, [t], t = -2 .. 2, trace = 10, scaling = constrained);
 

Im making an animation that shows a parabola changing over a range of coefficients. I want to display each equation while it animates. Is that possible?

http://www.failai.in/show/F/AE1DF287E/darbas2.mw (without E0)

http://www.failai.in/show/F/A1488DF1B/darbas3.mw  (with E0)

It's a links to my worksheets (used maple 11). And now the problems:

So here is the code I have r := sum('exp(-r*x)*l[x +1]*m[x+1]', x = 0..50

Hi, I don't anderstand : executing the following function will froze maple if I enter other values that 'y' or 'n' (yes/no) It should stay in the while block and ask the user until it got 'y' or 'n' to quit the function thank to return call. code: askUser := proc() local rep; printf("Are you OK? (y/n)\n"); while true do rep:=op(scanf(%c)); if rep="y" then return(true); end if; if rep="n" then return(false); end if; end do; end proc; askUser();
Hello everyone. I have a matrix M of 2x2 with numbers in its entries except a particular entry which equals to Im(a*t^2+b*t). I assume that t is real, so that the particular element that I mention obviously must expand to t^2*Im(a)+t*Im(b) but maple doesnt expand it (I use maple 11). I have tried the instruction

map(expand, eval(M)) assuming t::real

but it doesnt works. Could you help me with this, please
Thanks very much
Jorge

I tried to define the following procedure, to shuffle, or randomize a stack 'S':

Mix:=proc(S)
SList:=convert(S,`list`):
subsop(1=NULL,SList):
SSList:=Shuffle(SList):
S:=convert(SSList,`table`):
end proc:

Unfortunately this procedure does not return a stack type, i.e. it transforms S to something different.
Anyway, I need a procedure (or maybe something more efficient), which randomizes a stack and replaces the old stack for the new
randomized one (i.e. S is randomized afterwards and still of type 'stack').

Hi,

i would like to draw a color bar under my plot3D, but i don't know how. is there any way to do that?
thanks.

Hi peoples,I have little problem with 3D  plot in Maple

I am build my function in this way:

mu1(x,y) := (100e6*Transpose(Vector([300,0]))*(Vector([-10,-10])-Vector([x,y])))/(VectorNorm(Vector([-10,-10])-Vector([x,y]),2)*3e8);

mu3(x,y) := (100e6*Transpose(Vector([300,0]))*(Vector([10010,10010])-Vector([x,y])))/(VectorNorm(Vector([10010,10010])-Vector([x,y]),2)*3e8);

mu2(x,y) := (100e6*Transpose(Vector([300,0]))*(Vector([10010,-10])-Vector([x,y])))/(VectorNorm(Vector([10010,-10])-Vector([x,y]),2)*3e8);

Hi, I would like to change the inline plotting window size, by the code, not manually. Is there any way to do that ? Standard size is really too small. Thanks
I have a function: s^5+3.236067976*s^4+(1.*10^(-10)*I)*s^4+5.236067975*s^3+(7.*10^(-10)*I)*s^3-(3.*10^(-10)*I)*s+5.236067975*s^2+3.236067977*s+1.000000000 and I want to drop those terms in s^4, s^3 and s^2 with magnitude less than for example 10^8. I want those imaginary terms gone so I can see my transfer function with only real coefficients. I don't even know what this would be called... so I wasn't able to search for it.

I have 2 question

1. the first question

how to simple expression below

Photobucket 

is new form 


I'm currently working with a solution which is a function of many parameters, and sometimes I have to increase the steps but compromise with the time it takes for the solution to be evaluated in some way. I'm wondering, how do the steps affect the accuracy of the result?

Hi, I am going to do a couple, not to say a lot of, Monte-Carlo-Simulations.

Therefore I need to define a procedure "Shuffle", which shuffles the n elements of a list k times.

e.g.

L := [1,2,3,4,5,6,7,8,9,0];
Shuffle := proc(L,n,??)
"Mixes the ten elements of the list L randomly and most efficient"
end proc;

Does anyone of you know an efficient way to realize that?

Thanks.

First 1820 1821 1822 1823 1824 1825 1826 Last Page 1822 of 2224