MaplePrimes Questions

Hi every body I have two functions which are aold(x) and anew(x). I am using them to update a function as: For example: aold:=x-> x^2; for i from1 to 5 do anew:=x->aold(x)+x; aold(x):=anew; end do; But it does not work because it cause loop in assigning the function. Also, if I unassign the aold(x) as aold(x):='aold(x)', also anew(x) got unassigned automatically. I am looking for a way to assign anew(x) as anew(x)=aold(x) and after that disconnect the relation between the two functions. Thanks Hamidreza.

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

Really not sure why this isn't included in Maples differentiation process.

In any case I was searching for mapleprimes links on this subject to no avail, although I know they exist I cannot locate them.  In any case if a were some function how do I, for example, diff(sin(x)*x^2,sin(x))?

 

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.

Anyone else experience this same issue?

If you type ?real

it causes a maple error box to pop up

Kernel Connection Lost
*Kernel connection has been lost.
You should save this worksheet and restart Maple.
Executing commands in Maple requires a connection to the Maple kernel.
Firewalls have been known to cause problems with kernel connections in
Maple. Please ensure that any firewall software is configured to allow
Maple to create connections to the kernel. Consult the FAQ for more
information.

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
First 2008 2009 2010 2011 2012 2013 2014 Last Page 2010 of 2431