MaplePrimes Questions

 

Hello,

I am trying to modify Maple code so I have a vertical spring with a mass starting at (0,0). The spring with the mass should move right and left along x. My vertical spring move up instead of down while the mass move to the right .

Any Idea about how I can get the right movement of the spring?

 

Please ignore the equation eq since I am only trying to have an animation spring with a mass.

 Thank you

Hello

 

I've to do some geometric work ; the problem is that it seems to me there will be no other solution than trying a different approach of the problem, due to huge amount of time required by computation...

 

However, I would have liked to learn how my program can be fastened. I've heard of multi threaded programming model ; could it be applied here ?

To simplify, I have a initial point (its coordinates). My procedure...

hi friends..!!
I am working on 1d heat equation with finite difference method and i have made rough code for it in which i considered mesh size of 4 in x direction as wel as in time space. By initial condition am known with points (0,0) (1,0) (2,0) (3,0) and (4,0). AS boundary conditions are neumman as u can see in code below i have attached. Now my problem is loops in end of program is not picking internal nodes like (1,1), (1,2), (1,3),(1,4), (2,1),...,(4,4). So please...

I just bought Maple 17 and tried to find a couple of Newman-Penrose spin coefficients.  I can do it by hand, but when I try to do the same thing using Maple I am stuck.  Maple lets me define an orthogonal tetrad, then I convert that to a null tetrad.  But how do I then fiind spin coefficients?  I know Maple has an entire list of metrics (385) already loaded, but I need to investigate different Petrov types to develop a metric.  Thanks.

I have a message, "I Didn't See That Double Rainbow!" and i want to encrypt it by making all the characters UpperCase first and removing all punctuation. I used IsUpper to remove the punctuation. Now I want to separate my new scrambled message into BLOCKS OF 5 LETTERS SEPARATED BY SPACES. Any ideas on how to do that using the "printf" command?

 

with(StringTools):
Alphabet:="THEQUICKBROWNFXJMPSVLAZYDG";
        ...

Hi,

I am using the function simplify in order to simplify some big expressions I have. The poblem is:

I have the expression F=F(x1,x2,x3,......,xn)  and if I evaluate the two following expressions

expr1 = subs(x1=a, x2=b, x3 =c , .......,xn=d, F) = F1    (scalar)

expr2 = subs(x1=a, x2=b, x3 =c , .......,xn=d, simplify(F) ) = F2    (scalar)

Normally F1 and F2 are equal  ( F1=F2 ) but what I really get...

I've downloaded and installed Maple, but I can't activate it. Whevener I try and activate it from within the program, it freezes, and when I click Activate Maple on the Start screen nothing happens. I tried the offline activation service, copied the licence.dat file into the Maple license folder, but when I tried to open Maple it still said license file missing or invalid.

I'm using a license provided by my university, and I'm running Windows 8.

Hi when i'm trying to solve, i get the following warning: Warning, solutions may have been lost.

 

The equations i'm trying to solve are the following:

 

> P := 21000;

> v := 10/(60*1000);

> r := 983;

> Cp := 4181;

> Tl := 40;

> K1 := 124.27;

> K2 := 102.03;

> K3 := 7.23;

> K4 := 2.947;


> eqn1 := P = v*Cp*r*(Tf-Tr);

[I split this off as a separate Question, cleaned up the machine-generated Title, added the Tags, and cleaned out some excessive blank lines.---Carl Love as Moderator]

could anyone help me with my euler plot too!

> with(plots):with(DEtools):

 

Equations & Initial conditions

> de1:=D(x)(t)=a*x(t)-q*x(t)*y(t)-n*x(t)*z(t);

>

I'm interested in studying all of the 5-dimensional representations of a certain known Lie algebra. To do this naively, I want to find all of the solutions to a large system of equations, with a few inequations (e.g., a[1,1]<>a[2,2]).  I've noticed that calling SolveTools[PolynomialSystem] gives much better performance than solve(...).  Since the original system has no equations of degree higher than 2, I suspect that whatever preprocessing that solve(...) is...

unable to handle elliptic PDEs
 Does this error mean that I can/t solve my PDE system by Maple?

l1 := 2*(diff(ur(e, t), t))+(1+tanh((1/20)*e))*(diff(ui(e, t), `$`(e, 2)))+2*a*(ui(e, t)*ur(e, t)*ur(e, t)+(ui(e, t)*ui(e, t))*ui(e, t))+m*ui(e, t)*(diff(ur(e, t)^2, e))+m*ui(e, t)*(diff(ui(e, t)*ui(e, t), e)) = 0

l2 := -2*(diff(ui(e, t), t))+(1+tanh((1/20)*e))*(diff(ur(e, t), `$`(e, 2)))+2*a*(ur(e, t)^3+ur(e, t)*ui(e, t)^2)+m*ur(e, t)*(diff(ur(e, t)^2, e))+m*ur(e, t)*(diff(ui(e, t)^2, e)) = 0...

Hello

How does Maple create a graph from a 100000 elements vector (or a function that outputs that values)?

Does it plot some and reject others? plot all on top of each other? How can I change this behaviour?

How could I crate a graph where for every interval I see the max and min values, as in the trading "bar" charts?
(or any other idea to visualize that much info without needing to previously calculate intervals, mins and maxs myself)

How can I set  the boundary conditions? I need to specify diff(ui(e, t), e) and diff(ur(e,t),e) depending on e.  I write the rules:

> D1(e,t):=diff(ui(e,t),e);

 
> D12(e,t):=diff(ur(e,t),e);

 in order to use D1 and D12 in boundary conditions. 

I get error
> sol := pdsolve(sys, {D1(-500, t), D1(500, t) = 0, D12(-500, t) = 0, D12(500, t) = 0, ui(-500, t) = 0, ui(0, t) = 0, ui(500, t...

Hi, I have different parts of calculations, would be better if I use the function procedure.

May I know where I can find tutorials for it please? I have look through the user manual, but not many examples are given.

Thanks

Hi

Imagine I want to calculate this loop:

nn := nextprime(10^100); zz := 1;

for ii from 0 to 100000 do zz := mod(zz^2+1, nn) end do;

How can I avoid that Maple prints every iteration? I just want Maple to do it quietly, storing the value and get the last zz value  just by evaluating zz after the loop ends.

regards

First 1606 1607 1608 1609 1610 1611 1612 Last Page 1608 of 2430