Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi, i wouls lij=ke to see the consequences of damping on coupled oscillators.

I encounter no problem with

restart; m := 1; k1 := 1; k2 := 1; lambda := 0;

eq1 := m*diff(x1(t), `$`(t, 2)) = -k1*x1(t)+k2*(x2(t)-x1(t))-lambda*diff(x1(t), t);

eq2 := m*diff(x2(t), `$`(t, 2)) = -k2*(x2(t)-x1(t)); ICS := x1(0) = 1, x2(0) = 0, (D(x1))(0) = 0, (D(x2))(0) = 0; sol2 := dsolve({ICS, eq1, eq2}, {x1(t), x2(t)});

plot(eval(x2(t), sol2), t = 0 .. 20);

Hi,

Really, can't understand why there's a problem in the line desolve

 

restart;

eq1 := m*(diff(x1(t), t, t))-f = 0;

f := -k*x1(t)+k*(x2(t)-x1(t))-lambda*(diff(x1(t), t)) ;

g := -k*(x2(t)-x1(t)); eq2 := m*(diff(x2(t), t, t))-g = 0;

fcns := {x1(t), x2(t)};

ICS := {x1(0) = 1, x2(0) = 0, D(x1)(0) = 0, D(x2)(0) = 0};

sys := {eq1, eq2}; m := 1; k := 1; lambda := 1; sysdiff := sys union ICS;

Hi

1st, sorry, i did'nt find the "question" forum so i post here

2nd, difficulties in converting the maple code in text here

3rd : my problem of the day

retart :eq1 := m*(diff(x1(t), t, t))-f = 0; f := -k*x1(t)+k2*(x2(t)-x1(t))-lambda*(diff(x1(t), t));

eq2 := m*(diff(x1(t), t, t))-g = 0; g := -k2*(x2(t)-x1(t)); fcns := x1(t), x2(t);

ICS := {x1(0) = 1, x2(0) = 0, (D(x1))(0) = 0, (D(x2))(0) = 0};

sys := {eq1, eq2};...

I want to print     an   is  in  S .

Here are what I tried.

So here is what I need to do within Maple.  I have to define a piecewise function and then determine left and right hand derivatives at a certain x value.  Then determine the whole derivative and graph both parts.  I am just pretty new to Maple so it is still fairly confusing and I cannot determine the exact commands that I need.

 

hi,look at that. I obtain a curve. But when i do it again

I have a second order ODE, eq, that depends on a paramter p. Certain events take place when solving the ODE and I would like to study those events as a function of p. Here is a toy version of the command that yeilds the information I need.

>dsolve({eq, f(1)=1,D(f)(1)=0},f(t), numeric, events=[  [ [f(t)-Pi,t>0],halt   ]  ,

 [  [f(t) =-1, t>0],halt]  ])(15);

When f hits  -1 or Pi the solution stops and gives...

Hello,

I've got a recurrence equation system like:

fn:={f(x)=sum(f(k)*f(x-k-1),k=0..x-1),f(0)=1}

appearently

rsolve(fn,f(k))

doesn't work.

Is there a way to solve this with maple?

Actually I also would like to solve this step by step, by hand. Could you refer me to something that could help me, solve my problem?

 

Hi

I am getting the floating point error during the job running. it happens instantly for the first fopen command and after some calculations it happens for the second fopen command also.

I would be appreciated if you could help  me in this regards,

Thanks.

here is the code:

> restart;
> w := 0.5695419e-1; T := evalf(2*Pi/w); Cl := 137;
> A := -(int(sin(w*t), t));
> P0 := -subs(t = t1, A)/Cl;
> mrdot0 := int(P0+A/Cl, t = t1 .. t2);

So I am fairly new to Maple and cannot figure this out.

I had to define and equation and then differentiate it and then evaluate this derivative at 2 and now I need to solve the derivative where the derivative=0 for x.  I can do this real easy on paper but I cannot figure out the right set of commands to do so in Maple.  Thank you

Is there a command the takes (A*B)a and returns Aa*Ba ?

I tried expand and  simplify and also used assuming a>1 but without luck here...

I know this is very basic but I have monster product expressions that I need to be able to raise every term inside the parenthesis by the power so I can isolate some terms of interest.

Hello everybody !

Do you know any mean to find the number of iterations of the simplexe algorithm used in the Minimize pocedure?

Thank you very much for your help

Martin 

How do you plot the following parametric equation (equation of an ellipse) in the same graph

 

x=a*cos(t)

y=b*sin(t)

Hi there,

Unfortunately I don't have access to Maple because I am away from my office for the week, but I need a

system of linear equations solved. Can someone please solve it for me and post the solutions (if any)?

The system is:

a_1 x_1 + b_1 x_2 + c_1 x_3 + d_1 x_4 = e_1 + e_4

a_2 x_1 + b_2 x_2 + c_2 x_3 + d_2 x_4 = e_2

a_3 x_1 + b_3 x_2 + c_3 x_3 + d_3 x_4 = 0

a_4 x_1 + b_4 x_2 + c_4 x_3 + d_4 x_4 = e_1 + e_4

I am supposed to adjust the code my teacher gave us for a project. The only problem is I dont know anything about maple or much about what I am supposed to do. I tried copying and pasting the code but I couldn't.

The assignment says to adjust the code to incorporate variable window size. There is a place in the code where it says insert code here and the teacher said it shouldn't need more than like 8 lines of code.

 

If anybody thinks they they can help I will be more then happy to forward you the email.

First 1457 1458 1459 1460 1461 1462 1463 Last Page 1459 of 2229