## 884 Reputation

16 years, 95 days

## apostrophes [2]...

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

``2``

'

## Typewriter apostrophe...

@mmcdara Thanks.

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

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

## Ahem...

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

## Atomic...

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

## Good one!...

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

## simplicity...

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

## Thats...

@Carl Love just what I wanted, Thankyou

## assuming (gamma = beta)...

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.

## gamma estimation...

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?

## its a blast from the past...

@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/226391-CVRP-Stochastics-Demands

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

(Carl has a nice solution to this one)

## I got a different cost too,,,...

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

## I find Maple Help...

@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."

## How do you know all this stuff ......

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

 1 2 3 4 5 6 7 Last Page 2 of 25
﻿