Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN MATLAB Problem 4 (modified) in Gilat. (3 points) 4. Radioactive decay can be modeled by the equation A = A e-kt where A is

IN MATLAB

image text in transcribed

Problem 4 (modified) in Gilat. (3 points) 4. Radioactive decay can be modeled by the equation A = A e-kt where A is the amount at time i, Ao is the amount at time != 0 and k is a constant. Write a MATLAB program that calculates the amount of a radio- active material. When executed, the program asks the user to enter the half- life of the material (in years), the current amount of the material (in lb), and the number of years from now for which the amount should be calculated. From this information the program first calculates the constant k and then the amount at / years. For output the program, displays the message: "The amount of the material after XX years is XX kg where XX are the corre- sponding numerical values. Use the program to determine how much pleto miem 299-thalf-life24, 110 years) will be left front 50 lb-after-500-youth tritium (half-life 12.3 years) will be left from 100 lb after 50 years Tips: To get k, use e kt - 0.5 and solve for k. Hint: In(ek) - In (0.5) -kt-In(0.5) Notes: exponent> exponent

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions

Question

=+ (c) Show that a compact negligible set is trifling.

Answered: 1 week ago

Question

The Functions of Language Problems with Language

Answered: 1 week ago

Question

The Nature of Language

Answered: 1 week ago