MaplePrimes Questions

Hi guys,

I am not a experienced user of Maple. So the question is probably very basic. Any help is appreciated.

I have 2 coupled first order linear equations. I may be able to solve them manually, but I thought it would be a perfect application for Maple. The problem is that I have no idea how to do it in maple. So here it goes.

d(y1)/dt = (a-y1)/T1 - k1*y1 + k2*y2;

d(y2)/dt = (b-y2)/T2 - k2*y2 + k1*y1;

Under the following constraint: a*k1 = b*k2;

How may I solve this problem in Maple?

 

Thanks a lot.

 

Using a loop to put values into a double indicie, the output table is not organized.

for i from 1 to 4 do
  for j from 1 to 3 do
    a[i,j]:=5*i;
  end do;
end do;

print(a);

table([(3, 2) = 15, (3, 3) = 15, (4, 1) = 20, (4, 2) = 20, (2, 2) = 10, (1, 2) = 5, (2, 1) = 10, (1, 3) = 5, (1, 1) = 5, (3, 1) = 15, (4, 3) = 20, (2, 3) = 10])

hey, I've made a almost all  of my mechanics work during the past year in a single Maple document. Now, for som reason, the document wont opendue to "There were problems during the loading process. Your work sheet may be incomplete" please help my, I would really hate loosing so much work...

Btw. mapleprimes wont let me upload the failed file so if someone could either post a guide/torturial or there email I would be vey pleased.

Hello, recently I am working to write a bash shell program combined with maple to automatically produce the codes to calculate functional and functional derivatives values for some given functional expression(This is provided by the user in maple input file). Now I meet a problem.

Take the codes below as an example:

I have written a procedure.  Without going into details, here is the pseudocode of the procedure:

time:=proc(begin,end,c,deltaT)

t:=0;
v:=0;
accel:=5
where-we-at:=a;

while where-we-at =/= end do

distance:=*distanceformula*;
where-we-at:=*where-we-at* formula;
t:=t+deltaT;
v:=someformula;
accel:=accelformula;

end do;
return(t);
end proc:

 

How do I create an exptression with absolutely no evaluation?

I would like my students to practice the order of operations, so I want to be able to display an expression without evaluation of any of the operations involved. Is this possible somehow?

Hello,

I have a ode system which I use dsolve/numeric for it?

By default dsolve use rkf45 but the result is not very exact. The error is high.

How can I make dsolve more accurate?

Which method I have to use?

It is initial value problem that I use dsolve/numeric for it.

Thanks so much.

Bye

Problems: Calculate Fourier Transforms of:
>
> f(t)=1 for (1<=|t|<=2) and 0 otherwise
>
> f(t)=cos wt[H(t+1/2T)-H(t-1/2t]
>
> f(t)=exp(at) (t<=0), (a>a) and exp(-at) (t>0)
>
> f(t)=exp(-at) sin wt H(t)
>
> note: w is omega and T is Tau, H is Heaviside
 

Not sure how to do these problems with maple.

I need help making a 3D plot of a numerical solution to Euler's Equation for Rigid Bodies(Non-linear Differential Equation). The solution to this equation are the angular velocity components w1,w2,w3. I am able to plot each component using the following commands, plots[odeplot](numericalsol,[t,w[1](t)],0..20); plots[odeplot](numericalsol,[t,w[2](t)],0..20); plots[odeplot](numericalsol,[t,w[3](t)],0..20); However, how do I make a 3D plot using these numerical solutions?? Any help is greatly appreciated.
Sometimes I've seen manipulations like this:

dx/dt = dx/dy dy/dt

in which the symbols of the derivatives are multiplied and cancelled like terms in equations. I can't remember nor find the justification for doing this. What's the explanation?

I can't get Maple to do this for me. If I make x an expression of y and y an expression of t, then it substitutes the expressions into the arguments, and I get a nonsensical result:

> y := t^3;
3
t
> x := 'y^2';
2

Guys, I'm stuck on a simple silly problem.  I suppose I have one of those senior moments but in any case  ...

All I was trying to do was derive an equation from a simple word problem I made up.  Specifically it has to do with the fact that it's costing me more to buy efficient energy saving flourescent bulbs than to use those ever so energy inefficient incandescent bulbs.  But it turns out those inefficient bulbs is the cheaper route.

Basically it's a cost analysis problem.  Anyways here's how it goes. 

Hi:

I often need to change a few parameters and rerun the whole worksheet. In some cases however, some of the sections should not be executed. Is there a way to quickly comment/uncomment out a given section? If so, how?

thanks.

Hello all,

I have an ODE system called RedSys which is below and incons1 which is its initial condition.

When I want to solve this system by dsolve numeric with this command:

dsolve((convert(RedSys, set)union incons1), numeric, implicit = true);

I face an error which says :

system should be linear in leading derivative. However when check I do not see any non linearity.

could you please let me know what should I do to solve this system by dsolve/numeric?

Thanks so much,

 

Hi

I have a problem with the fact that maple not always knows the difference between pi and -pi. Try for example these three lines:

> evalf((-5-2*I)*(exp(-(.999999999*I)*Pi))^(1/2-0.8e-1*I)); 

> evalf((-5-2*I)*(exp(-I*Pi))^(1/2-0.8e-1*I));

> evalf((-5-2*I)*(exp(I*Pi))^(1/2-0.8e-1*I));

They have significantly different results where the line with the exp( - I*Pi) is interpreted as exp(I*Pi).

Is there anyway to avoid this?

I use maple 13

Thanks in advance

Best regards
Brian

In a Maplet, how do I access an expression entered into a MathMLEditor to use as a Maple expression (to plot, evaluate, simplify etc.)?

First 2013 2014 2015 2016 2017 2018 2019 Last Page 2015 of 2431