03 Jul matlab homework
1 This homework might be slightly challenging; thus, I recommend you start early and ask questions.
NSE 115
Homework #3 (100 points)
Due Date: 02/24/2017 General homework guidelines:
You must show all the work that you do to arrive at your answer and include sufficient details such
that someone reasonably familiar with current class material could follow your work and reproduce
your conclusions. For this assignment you must submit your MATLAB codes (both your function
and your code) using live script.
Functions and Control Flows1 .
Last year, a mammoth’s femur was found under Reser Stadium, and it is said that Manny’s femur
is at least 10,000 years old. However, to determine the age of the femur, scientist would want to
perform a radiocarbon (14C) dating analysis. The governing equation for such analysis is:
๐(๐ก) = ๐0๐ โ๐๐ก
where N0(t = 0) is the initial number of radiocarbon atoms, N is the number of atoms present today,
๐ is the decay constant of radiocarbon, and t is time. It is also known that the relationship between the number of atoms and activity is:
๐ด = ๐๐
๐ = ๐ฟ๐2
๐ก1/2
For this assignment you are asked to create a function with the following properties:
Input Variables Output Variables
๐0 N lambda ๐ก1/2
isotope name Activity
Options, with following options:
๏ท Activity
๏ท NumAtoms
๏ท Both
Plots
The function you create should work whether I provided 2 or 4 different input variables and the
default output variable is N, i.e., if I only give one output variable it should return the number of
atoms present today. Nonetheless, if two are provided, the function should return N; ๐ก1/2; Activity
if I call for the other variables. If I provide 4 input variables, then it should return the decay plot
1 This homework might be slightly challenging; thus, I recommend you start early and ask questions.
up to today of any of the string options, i.e., if ‘Activity’ plot activity. After completing the function
do the following with your function:
1. If the initial number of (14C) atoms is 1020, how many atoms are there today? What is the activity that should be found in the sample if it has decay for 10,000 years? What
is the half-life of (14C)?
2. Create a vector with Options variable, i.e., Activity, NumAtoms, Both, and create a for
loop that calls for your function such that it returns each of the following plots:
๏ท Plot of number of atoms over 10,000 years
๏ท Plot of activity over 10,000 years
๏ท Plot of both the activity and number of atoms over 10,000 years
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to clickย on โOrder Nowโย and we will direct you to ourย Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible forย 20% offย in their first Order. Our payment method is safe and secure.
