MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Radioactive Einsteinium-253 has a half-life of 1,768,608 seconds. Given 1000mg of Einsteinium-253 at t=0 days, how much is left after 50 days?

EX: >> decay(50)

184

HINT: find k, then decay(50)

Use: decay(t)=10^3*e^(k*t)

NB: make sure you round your answer up to the next highest integer.

76 correct solutions
62 incorrect solutions

Last solution submitted on Jan 27, 2015

2 Comments

@bmtran
on 25 Feb 2012

I believe your second test case is incorrectly rounding.

Bruce Raine
on 25 Feb 2012

Yes, you were right with my earlier incorrect "note well" remark but now with corrected remark in place this test is valid. Sorry if it has put you off a bit. I guess other issues may come to light as well but I hope not.

5 Comments