hexsol

30 Reputation

3 Badges

3 years, 154 days

MaplePrimes Activity


These are replies submitted by hexsol

@acer This is exactly what I was looking for! Thanks!

@acer Thanks alot! Makes alot of sense about defining the maximize function so that it finds the global maximum. I wanted try a different approach, but I can't understand the code well enough to implement it.

UaTt := proc (Ua, T) if not [Ua, T]::(list(numeric)) then return ('procname')(args) end if; TT(parameters = [T]); TT(T) end proc

 

Maximize(UaTt(Ua, 398), Ua = 1000 .. 5000, method = branchandbound)

[HFloat(373.15005941951716), [Ua = HFloat(1000.0)]]

(1)

It just returns the lowest UA value I start the loop from...

Download failedimplement.mw

@C_R Thanks alot!

 

 

Copy/pasting this into another document "unfroze" the document, so that is apparently a fix.

Anybody have any idea why the problem occured?

@acer Right, sorry, didn't catch that... I have corrected the post now.

 

Lets say I didn't know what V was, but was asked to keep it a low as possible when finding R. How would one use maple to do this with some smart one-liner?

I have used a graphing method below, is there a faster, better way?

 

@ .... of course...! Thanks

@tomleslie 

Thanks alot..!

What does interface(showassumed=0): do?

Did you deduce that the mu and lambda had to be larger than zero becuase of the given answer or because of your knowledge of the exponential distribution?

Lesson learned =

lambda, rate parameters are never under zero by definition, and must be specified when integrating.

@Axel Vogt Done, thanks for the advice. Used Maple math but code snippets are obviously better.

Page 1 of 1