Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help on this program using mat lab . what are the code ? 1. radDecay.m: Download the file radDecay_outline.m from Moodle. Plutonium-239 is

I need help on this program using mat lab .

what are the code ?

image text in transcribed

image text in transcribed

1. radDecay.m: Download the file radDecay_outline.m from Moodle. Plutonium-239 is the primary fissile isotope in nuclear weapons. Kaboom. It decays with a half-life, k, of 24 millennia into Uranium-235 by alpha emission at 5.245 MeV. Radioactive decay can be written as a first-order differential equation of the form dN dt where N is the number of particles of Pu-239 and t is time. This can be solved numerically via Euler's Method or using the actual continuous solution: n(t) = Noe-t/k Istart with 100 million particles of Pu-239, and I want to know how long before I have 1 million particles remaining. a) Write code that uses Euler's method to solve the differential equation with a time step, dt, of 2000 years. Store ALL your steps in an array of particle counts, Nt. Plot the numerical results data points as circles alongside the actual solution (as solid line) on the same plot. b) 1. radDecay.m: Download the file radDecay_outline.m from Moodle. Plutonium-239 is the primary fissile isotope in nuclear weapons. Kaboom. It decays with a half-life, k, of 24 millennia into Uranium-235 by alpha emission at 5.245 MeV. Radioactive decay can be written as a first-order differential equation of the form dN dt where N is the number of particles of Pu-239 and t is time. This can be solved numerically via Euler's Method or using the actual continuous solution: n(t) = Noe-t/k Istart with 100 million particles of Pu-239, and I want to know how long before I have 1 million particles remaining. a) Write code that uses Euler's method to solve the differential equation with a time step, dt, of 2000 years. Store ALL your steps in an array of particle counts, Nt. Plot the numerical results data points as circles alongside the actual solution (as solid line) on the same plot. b)

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

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

Students also viewed these Databases questions