Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How do I write a loop to store a set of values for t and n(t) into an array?

 

I wrote a loop to get the values:

>for t  from 1 by 1 to 25  do print(t, f(t)) end do

 

but don't even know where to begin with putting them into an array.

Thanks for any help.

why dont any of maples 11, 12, or 13 work properly in windows seven? for example: when i click on "open a file" or "save" botton, and then it opens a window, the respective window dont show "up one level" or "create new folder" and "details" bottons above it.

Hi,

This is a student portfolio attached below. When I open the file, it says that "There were problems during the loading process. Your worksheet may be incomplete." The first time it happened, all of the graphs became blank, and the second time, only a portion of the worksheet shows up. Is there any way to retrieve the file?

Thank you...

Is it possible to set an external image-file as background in a 2d plot?
 

I am trying to define a function in terms of a solution of dsolve. I initially tried the following method:

I defined my function as:
a := 10; ode := diff( n(t), t ) + a*n(t);

Then I solve it using dsolve and store it as a function:
f:= t -> dsolve( ode, n(0) = 10);

This was syntactically wrong so I tried:
f:= t-> rhs( dsolve( ode, n(0) = 10) );

 

 How do I implement this sum in maple:

Sum(A[i,j],i=1..12) with j<>i

Gracias

 

 

This is what I have so far

S1:=unapply(u*FresnelS(u)+((1/Pi)*cos((1/2)*Pi*u^2))-(1/Pi),u);

C1:=unapply(u*FresnelC(u)-((1/Pi)*sin((1/2)*Pi*u^2)),u);

with(plottools);

with(plots);

u0:=sqrt(0.25);

e1:=evalf(FresnelC(u0)+FresnelS(u0)*cot((3*Pi)/8));

p1:=display(plot([FresnelC(u),FresnelS(u),u=0..u0]));

p2:=display(plot(x-e1,x=0..1,y=0..1,colour=black));

display(p1,p2);

 

I find that Maple leaves things like sin^2(x) + cos^2(x) as they are, which is giving me some very long and complicated looking expressions that are often just simple things.

I'm sure there must be a way of sorting this out but I can't find anything.

Also, on a more theorectical note, does anyone know why Maple doesn't do this automatically, or at least have a pre-programmed command to simplify such things?

Hi

How can add the values of a list with the list as an argument of a function. As exmaple:

f([1,2,3,4,5]);

                              15

Thanks for any help,

Dat

 

Hi. I have a function F as follows: F := 1/16*sin(Pi*cos(h))^2*sin(Pi*sin(h))^2/cos(1/2*Pi*cos(h))^2/cos(1/2*Pi*sin(h))^2; It has a maximum in the interval 0..Pi/2 at Pi/4. If I do: Fder := diff(F, h); solve(Fder, h); > (1/2)*Pi, -(1/2)*Pi, 0, Pi the solution Pi/4 is missing from the set returned by solve, and solve does not even issue a warning about the incomplete solution set. Surely Pi/4 is a solution, as you can find it visually: plot(F, 0..Pi/2); and also numerically: fsolve(Fder, h=Pi/4+0.1); > (1/4)*Pi

I have an equation for inviscid bubble expanding of the form:

ode:=R(t)*diff(R(t),t,t)+(diff(R(t),t))^2-1/R(t)=0

Sol:=dsolve(ode, numeric, initialConditions:=R(0)=R0,D(R)(0)=0)

Now, I want to plot the following expression:

Sol2:=1/R(t)

How can I do it?

 

Thanks ahead,

Mark

 

See the post link below which gives the ability to find the gradient of a vector, not a scalar field.

http://www.mapleprimes.com/forum/gradientvectornotgradientscalarfunction

The solution was to use the Jacobian command.  Now I need to take the time derivative of that expression because now the velocity is a function in time.  Unfortunately, MAPLE wants an algebraic expression for d/dt operations.  What command to I need to use for this operation??

 

poi:=x->exp(-0.2225)*0.2225^x/x!;

 

for i from 0 to 4 do > evalf(poi(i)*10000,2) > od;

 

  1. Is there a way to write procedures in Maple which return procedures?
    1. If there is, would you please give me an exemple?
  2. What's the difference between writing a procedure with '->' and 'proc'?
First 1845 1846 1847 1848 1849 1850 1851 Last Page 1847 of 2233