MaplePrimes Questions

hello,

i have unistalled maple, now i have to give the license server name and the purchase code to reactivate it, how can i do?? where i can find them?

someone can help me?!

hello guys

i have a 2-sphere metric (ds^2=dθ^2+sinθ^2 dφ^2) , how to calculate R^abcd R_abcd . 

 

thank you very much

Hi dear users:

i will plot the equation below abs(y) in terms of x,(note:abs(y) and x is real values),can every body help me?

eq:

-32.46753247/(Pi*x^2)+1.053598444*10^8*Pi^2*y/x^2-5.342210338*10^14*Pi^2*y*(2.574000000*10^8*Pi^2-.7700000000*x^2)/((-3.904240733*10^6*x^2+1.305131902*10^15*Pi^2-159.8797200*Pi^2*x^2+2.672275320*10^10*Pi^4+2.391363333*10^(-7)*x^4)*x^2)+1.504285714*10^9*Pi^4*y^3/x^2 = y


Say I have some function that cannot be changed and it returns this:

all_plots:=display([plot(sin(10*x+0.2),x=0..1, thickness=10, color=blue), plot(1-sin(10*x),x=0..1, thickness=10, color=red), plot(sin(10*x),x=0..1, thickness=10, color=green)]):


Now can plot it as:
plots:-display( all_plots );


...but what if I need the (say) red curve to be "on top" (fully visible), green curve in the middle, and blue curve at the bottom (as is now).

what is the most effective way to do this?

EDIT:

i guess this works:

display([convert(all_plots, list)[1], convert(all_plots, list)[3],  convert(all_plots, list)[2]]);

EDIT 2:

... lookst like above doesn't keep all the extra options that a plot can have... here is a version that seems to do it.

rearrangeCurves:=proc(v_items, v_reorder:=[])
  #Reorder should be a list of index pairs like
  #[[3,5], [-1, 1], ...]
  local p, temp, curves:=[], rest:=[]:
  #separate curves from rest (there must be a prettier way to do this)
  for p in convert(v_items, list) do
    if type(p,'function') and op(0,p) = ('CURVES') then 
      curves:=[curves[], p]:
    else
      rest:=[rest[], p]:
    end;
  end;
  #now reorder
  for p in v_reorder do
    temp:=curves[p[1]]:
    curves[p[1]]:=curves[p[2]]:
    curves[p[2]]:=temp:
  end;
  PLOT(curves[], rest[]):
end:

#change say second last with last curve:

rearrangeCurves(all_plots, [[-2, -1]]);

 

Hello,

 

  I have a question. Consider

 

fsolve(x^2+3*x+1=3, x);

 

  I want to save the two roots into two variables. What kind of commend shall I use? 

 

P.S. My further aim comes from solving an equation without analytical solution. Therefore I cannot plug in the solution formula. 

 

 

restart;
Eq1 := diff(T1(t), t) = (W*Cp*(To-T1(t))+UA*(Ts-T1(t)))/(M*Cp);
Eq2 := diff(T2(t), t) = (W*Cp*(T1(t)-T2(t))+UA*(Ts-T2(t)))/(M*Cp);
Eq3 := diff(T3(t), t) = (W*Cp*(T2(t)-T3(t))+UA*(Ts-T3(t)))/(M*Cp);
sys := Eq1, Eq2, Eq3;

Operational Veriables

W := 100;
UA := 10;
Cp := 2;
M := 1000;
To := 20;
Ts := 250;

Initial Conditions

sys1 := {Eq1, Eq2, Eq3};

nsys := nops(sys1);

ics := {T1(0) = 20, T2(0) = 20, T3(0) = 20};
{T1(0) = 20, T2(0) = 20, T3(0) = 20}
nics := nops(ics);
for i from 1 to nics do Sol ||i:=dsolve({sys1, ics[i]},{T1(t),T2(t),T3(t)},numeric)od;
Error, unable to match delimiters
Typesetting:-mambiguous(Typesetting:-mambiguous( for i from 1 to

nics do Sol verbarverbariAssigndsolvelpar(sys1comma ics(i))

commalcubT1(t)commaT2(t)commaT3(t)rcubcommanumericrparod,

Typesetting:-merror("unable to match delimiters")))

 

help evaluate the integral int(1/(-98*x+75*x*ln(1+2*x),x)

I am trying to solve an RLC circuit that uses sinusoidal wave generated voltage supply and I do not understand how to use a complex Matrices. Normally the Matrices of Constant coefflcients is one of a Real Number valued Matrix, but the Phase on the RLC circuit uses a Complex variable, and the elements of the Matrix cannot by combined as real number values because the current in the Mesh Current Method for RLC Sinusoidal Phase Circuit Analysis uses a Vector as the answer for the current...

My Question is How do I set up a Complex Matrix and solve for the determinant?

I'm currently using maple for calculations of robot kinematics.

My problem is that if i run my worksheet twice  Maple stops showing my results and starts to show e.g. _rtable 18446744074374081822 instead. How can i avoid this behaviour?

(I have a restart command in the beginning of my worksheet)

 

EDIT'

It seems that the strange behaviour doesent always happen when i run the worksheet twice.

Sometimes i need to run it three times or sometimes i just have to wait for a period of time and run it again. Restarting maple (Closing and reopening the program) fixes the problem every time.

I dont change any parameters between runs.

Normal behaviour 

Strange behaviour

 

 

My worksheet if you want to take a look at it Final.mw

AOA... I have facing a problem to edit a figure in MS worl after coping from MAPLE file. Because we my paper is accepted and will publised after minor revesion which given below:

PhD (Scholar)
Department of Mathematics

I really need help!
please help to solve the boundary value problem by method of shooting.
I never met with this problem and I can not quite figure out how to solve this problem in maple
Thanks for the help!

 the problem

Hello

 

I have a nasty expression which I want to simplify in terms of another expression/function I have defined. 

Please can you tell me how to do this?

A simple example would be:

 

myFunction := a^2 + b^2

horribleFunction:= a^2 + b^2 + ...

I want it to simplify so I get something like

 

A(myFunction)^n  + .....

 

Above is just a simplifcation to try and explain what I mean

 

Thanks

 

We have two texts in a certain language, represented as Maple  strings,  e. g.
"die einkommen der landwirte sind fuer die abgeordneten ein
buch mit sieben siegeln um dem abzuhelfen muessen dringend alle
subventionsgesetze verbessert werden" and
"die steuern auf vermoegen und einkommen sollten nach meinung
der abgeordneten nachdruecklich erhoben werden dazu muessen die
kontrollbefugnisse der finanzbehoerden dringend verbessert werden".
We have to find the maximal common subsequence of the words in the both texts,
i.e. "die  einkommen der abgeordneten muessen dringend verbessert werden" for
the above. If there are a few such ones, then only one is enough. How to program
that by SringTools and/or EssayTools in maximum efficient way? A compiled procedure is welcome.

I was running some wav files through the spectrogram increasing the fft window size.  Generally just playing around.

I have run into an issue.  After running a few times the mem usage for maple.exe starts to run high.  I get it up to 600,000 K and still seems to run okay - ie able to produce a spectrogram.  However running it again at a higher window size of course eats up more memory and right around 1,000,000 K mem usage everything slows down and it appears to freeze.  The spectrogram is not displayed, after a short while CPU usage drops to zero the heartbeat circle (evaluating symbol - bottom left corner) stays solid and everything appears to stop. 

It is possible to close the worksheet in the same maple session after some time and open a new one.

Another note.  After one worksheet has ramped up the mem usage to a large value say 800,000 K (it doesn't really matter) .. when I close the worksheet (in the same maple session) the mem usage remains high even after a restart;gc():   I not sure if this has been normal throughout the ages, but I thought after closing a high mem usage worksheet in the same maple session the mem usage in the windows task manager would have updated back down under 100,000 K at least. 

The system Maple is running on right now is a P4 3Ghz Windows XP at 2.50 GB RAM Maple 18.00 stnd GUI 32 bit.  Using the spectrograms example in the application center for start.

Any insight as to why the computer starts to freeze up around 1,000,000 K mem usage would be helpful.  Also why closing a worksheet had no effect on the mem usage.  Would be interesting to know if this occurs on other machines as well.

As I stated in an earlier post, I'm new at this.

I'm trying to write a procedure to calculate what is called a "crescent latitude". The full formula can be seen here: https://db.tt/QAUzH5i0.

b is equal to 0.081819221; it takes a single parameter φ (latitude of a location in degrees)

 

I normally get errors like unable to parse, unable to match delimters, etc. and the result is the name of the procedure and whatevere value of the parameter I put in parenthesis, not the calculated value.

Anybody can help?

 

Thanlk you

Martina

First 1422 1423 1424 1425 1426 1427 1428 Last Page 1424 of 2427