brian bovril

914 Reputation

16 Badges

18 years, 132 days

MaplePrimes Activity


These are replies submitted by brian bovril

@mmcdara To answer your question, separation of U and V are necessary because X__2 and X__4 are variables of integration.  Your method works in isolation. But in my actual Record Procedure, I need the expression for u to be as a function of x only (the numerical integration I perform later protests if I have X__2 and X__4 in the expression ).

u:=unapply(exp(-(X__4-Lmu)^2)*exp(-(X__2-Wmu)^2),x);

nok := iquo(ulim-llim+1, step);

U:=unapply(sum(u(step*i, X__2),i=1..nok),X__2);

V:=unapply(sum(u(X__4,step*i),i=1..nok),X__4):

doesnt quite work, but there may be a workaround...
 

 

@vv I like the simplicity of your procedure, but thanks one and all

@Carl Love just what I wanted, Thankyou

@nm 

cheers for part a)

For part b) assuming (gamma = beta) using this method does not seem to produce a solution in closed form (without integrals).

Odd for an assignment question.

@Christopher2222 

and Tom. Thanks for your interest.

Right now (after 60 days since the first infection) there are 3050 confirmed cases, 170 Recovered and 13 Dead (Aust).

Can I get a gamma estimation (or recovery rate) for this?

@auliani3 I was struggling to remember what this was about. But Carl will sort you out.

You might be interested in other posts

https://www.mapleprimes.com/questions/220356-Optimization-With--Binary-Constraints

https://www.mapleprimes.com/questions/223711-How-To-Solve-The-Problem-About-VRPTW

https://www.mapleprimes.com/questions/226391-CVRP-Stochastics-Demands

http://sajms.iurc.edu.pk/issues/2016a/Spring2016V10N1P4.pdf

(Carl has a nice solution to this one)

 

@vv   but I ran it again and got 3804...?

@acer a bit cryptic.I doubt i'm the only one. Developers who recently worked on a project of mine made comment that one of their technical constraints was "poor availability of Maple technical details. This is not a package we use normally, so we had to get up to speed. While there was information online, it was difficult to implement. It comes capable of utilizing databases, but we found it difficult to find a broad spectrum of knowlege for it. We spent a significant amount of time resolving Maple issues. These issues were related to the execution of maple asynchronously with the web server."

 

@acer I would never have guessed with(:-Calendar):

@Christian Wolinski This is a much better way than my convoluted method...

@acer 

Thanks for your insights once again, you fixed it.

I did think about DateDifference, but on my maple its a bit mercurial.

Its seems previously invoked Finance package upsets it. 

with(Finance):
DayCount("13/1/2019","1/1/2019");
               
with(Calendar):
Warning, Finance:-Calendar is not a correctly formed package - option `package' is missing
Error, (in with) module `Finance:-Calendar` has no exports

@acer but I would never have come up with your formulation. I happy it works...

@tomleslie Thanks Tom

The only problem is sometimes I get this error when i attempt to look at the interim_file in Wordpad. I have to close Maple completely and reopen interim to see its contents.

 

@tomleslie re returns. Yes. The simplest answer is usually the correct one...

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