MaplePrimes Questions

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

How do I specify curly braces in the argument of \maple*?

I tried them as single characters, then they are gone after the Latex run.

When I try \{ ... \} instead, then the latex2qu run gets a stack overflow.

I can write square brackets instead and replace them in the .qu file, but that's very inconvenient.

Or is it a general necessity when you write your questions using Latex, that you have to edit the .qu file for similar shortcomings?

 

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'?

Hello!!!

I have an equation written in several terms: Q:= T1+T2+...+T37.

I want Maple to present my equation Q in the order I typed but it sorts it in an strange way, for example, the order would be: Q:=T5+T3+T35+...+T3.

Because terms T1...T37 are quite complicated expressions, I need Maple to keep them in the order I indicated in the sum.

Is there anyway that I can force Maple to keep it in the right order?

 

Thanks!

my programme seems to be giving me all permutations on a nXn board been trying to find where i went wrong but its took me days and still cant locate ... i want this procedure to give me the n queens on a nxn board that are non attacking. please help

.place:=proc(z)
global L;
local i,k;
k:=z;
L:= Array(1..k);
for i from 1 to k do
if L(i)=L(k) # two in the same column
or abs(L(i)-L(k)) = abs(i-k) # in the same diagonal
then
return (false);
fi:
od:
return (true);
end proc:

First 2029 2030 2031 2032 2033 2034 2035 Last Page 2031 of 2434