brian bovril

894 Reputation

16 Badges

18 years, 41 days

MaplePrimes Activity


These are replies submitted by brian bovril

@brian bovril C is a scaling factor

@mmcdara Whats big c? "for instance, let C > 0, and denote..."

@vv Thats got it!  thanks vv.......

@Carl Love I could do ST[2] and get the result I wanted. I did give an upvote if it's any consolation.

@tomleslie I like this one liner, but can the input be stripped off its apostrophes?
2 instead of

`2`

'

@mmcdara Thanks.

edited: using numeral 2 rather than name ‘2’ using Carl Loves Table:

rhs(ST[ListTools:-Search(2, lhs~(ST))]):-mu; #doesnt work.
 

@Carl Love My actual function is a product of two Gaussians. Thus no closed-form solution afaik. For the sake of brevity, I supplied the above expression. To avoid this palava, it's a pity sum doesn't have an inbuilt step parameter like seq. Anyways the good news is, by cutting down the number of terms by 10, my calculation time has gone down by a factor of 20.  Thanks for your efforts.

@tomleslieChanging to this convention worked! inadvertent bug discovery...

@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?

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