Half life question in matlab

2 Ansichten (letzte 30 Tage)
Bob
Bob am 2 Feb. 2015
Bearbeitet: Image Analyst am 2 Feb. 2015
Question: Metronidazole (used to treat infections) has a half life of H = 7.9 hours. Use solve to calculate [5 pt] the amount of time it takes for 50mg to decay to 20mg. Note that the decay constant is −ln(2)/H.
Code: solve(x*(-log(2))/(log(50/20)));
Getting the wrong answer, not sure how to solve it correctly.
  1 Kommentar
Image Analyst
Image Analyst am 2 Feb. 2015
Bearbeitet: Image Analyst am 2 Feb. 2015
Didn't Star Strider and Roger already answer/help with this in http://www.mathworks.com/matlabcentral/answers/173236#answer_166376?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Particle & Nuclear Physics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by