Items tagged with student student Tagged Items Feed

Hi there,

Is there a way in which i can solve the following optimal control problem numerically with Maple?

 dH/dt=λ-µ H-(1-u1)β H V+δ I,

dI/dt=(1-u1)β H V-σ I,

‎dV/dt=(1-u2)k I-γ‎V,

dλ1/dt=-1+λ1µ+β‎‎V(1-u1)(λ1-λ2),‎

dλ2/dt=λ1δ+λ2σ-λ3(1-u2)k‎,‎

‎dλ3/dt=β H(λ1-λ2)(1-u1)‎‎+λ3γ.

where

u1=βHV(λ1-λ2)/A1,

u2=-λ3kI/A2,

σ = α + δ,

and

H(0)=1.7*10^8,    I(0)=0,    V(0)=400.

 

λ=5*10^5,    µ=0.003,     β=4*10^(-10),    α=0.043,    δ= 0.2                  k=6.24,       γ‎=0.65.

A1=900, A2=1000.

 

Answers and advice are very appreciated. 

Thank you all for reading.

Aylin

I currently have:

plot3d(78.9*x+49.1*y+15.7*(1-x-y), x = 0 .. 1, y = 0 .. 1)

I have ratios x, y and z and the ratio of z is implicit from the ratios of x and y (z=1-x-y), therefore whenever x+y>1 the surface is meaningless as it gives z as a negative ratio.

I want the surface to be plotted only for x+y<1, so something like:

plot3d(78.9*x+49.1*y+15.7*(1-x-y), x = 0 .. 1, y = 0 .. 1, x+y<1)

But I can't find a suitable command.

Thanks in advance,

Tom.

 

Hello,

I wanted to get the following function integrated with Maple 17:

I used the following command to get a numerical solution for my choise of limits:

Unfortunately, I just get the Integral itself back. Also, taking pi/2 as the upper limit for x does improve anything. I also tried the AllSolutions option but it does not help as well as first trying to integrate only over y and leaving x as it is in order to get at least one integration done.

I hope someone can help. I do not necessarily need to solve it for myself, so if someone gets the result and posts it here, I'm okay with that. Anyway, being able to calculate it myself would be even better.

GAMMA and gamma...

October 17 2014 Aakanksha 15

Hello everyone.

need to know what is the difference between use of GAMMA and gamma in maple.

thanks.

How do i use d'Alembert formula to solve,plot and animate with Maple software

Find a series solution of the differental equation

y'=2*x*y

 

If I have a list, how can I write a program to see is that list is graphical? So far I have

graphicalseq := proc (L::list)

local i::integer, N;

N := convert(L, `+`);


if type(N, odd) then print("Sequence is not graphical")


else if numelems(L)-1 < L[1] then print("Sequence is not graphical")
end if;


end if;

end proc;

I know I still have to keep going to determine whether the sequence is graphical, but I'm not sure how.

 I was thinking of trying to somehow use Havel-Hakimi's theorem, but again I'm not sure how. Any hints would be appreciated.  I can't use the is Graph Sequence function

How can I find stepwise solution of the following integral?

Int(exp(-xi^2*b^2)*cos(xi^2*a*t)*cos(xi*x), xi = 0 .. infinity)

where xi greek letter.. 

Here was my search strategy to find the answer:

keyboard shortcut execute worksheet on http://www.mapleprimes.com/search/?term=keyboard%20shortcut%20execute%20worksheet

only found one thing http://www.mapleprimes.com/users/erik10/answers

Googled it found 

http://www.maplesoft.com/support/help/maple/view.aspx?path=worksheet%2Freference%2Fhotwin

http://www.maplesoft.com/support/help/Maple/view.aspx?path=worksheet/expressions/executeworksheet

http://scipp.ucsc.edu/~haber/webpage/maple_cheatsheet.pdf

Don't see a keyboard shortcut. 

What is the keyboard shortcut to execute entire worksheet? Is there a name for this action of executing the whole worksheet? 

 

What did you search and click to find the answer? 

I am Maple 15 student edition user and the packages is not loaded when I use the execute all command from the GUI. I have to manually press the enter key to have by package loaded before I use a function defined in the package. How can I work around this issue?

Thanks

P.S: You can see the Maple document attached to this post.

NumericalSimulation.mw

A := Matrix(3, 4, {(1, 1) = 1, (1, 2) = 0, (1, 3) = 0, (1, 4) = 0, (2, 1) = 2, (2, 2) = 2, (2, 3) = 0, (2, 4) = 0, (3, 1) = 0, (3, 2) = 6, (3, 3) = 4, (3, 4) = 0});
print(`output redirected...`); # input placeholder
Matrix(%id = 4436610626)
RowSpace(A);
print(`output redirected...`); # input placeholder
RowSpace(Matrix(%id = 4436610626))

 Why is this failing to give the row space? I copied and pasted it from the tutorial on this and it seems to run in the tutorial but not when I copy and paste it outside the tutorial? 

tutorial http://www.maplesoft.com/support/help/maple/view.aspx?path=LinearAlgebra%2FRowSpace

See picture

http://i.imgur.com/eQtEJU4.png?1

 

In general what is the best way to share maple code with users on this forum ? The above copy and paste looks messy. 

 

Every time I try to solve for a variable it gives me an arrow.

ex solve(5.6*10^-4=((x)(x))/(0.2-x),x)

gives me

x -> 7/62500 - 7/12500 x

How do I get it to stop giving me the x -> ?

Or at least reset some options so I don't have to reinstall the whole thing?

Hello, sorry for may asking the most simple question ever, but we cant find a solution.

If we do have a simple eqation like this:

U=I*R

how to solve vor R=? using maple?

Okay, we do feel really stupid for asking that and okay we can do that by hand but how to use maple for this, especially when it becomes more complex? Are there any examples of this kind?

Tahnks a lot Eve and Andrew

Hi Maple friends.

How can I find the domain of y=sqrt(3*x-5)? or of y=1/(x+2)^2?

Thanks in advance.

1 2 3 4 5 6 7 Last Page 1 of 130