Question: MEPV 1 0 2 Practical Example 3 . 2 - Carbon 1 4 Dating MEPV 1 0 2 Practical Example 3 . 6 - For
MEPV Practical Example Carbon Dating MEPV Practical Example For loop examples
Use a For loop to solve the following problems:
a Create a table that converts inches to feet. Convert the values ranging between and
inches with increments of to feet.
b Consider the following matrix values:
By using a counter how many values are greater than
c Repeat the previous exercise, this time by using the find command.
d Use a For loop to sum the elements of the matrix in problem Check your results with the
sum function. Use the HELP feature to assist you how to use sum
e Use a For loop to create a vector containing the first elements in the alternating harmonic
series, ie
dots MEPV Practical Example Storing Planetary Data with Structure
Arrays
Structure arrays can be used much like a database. You can store numeric information, as well as character data or any of the other data types supported by MATLAB. Write a MATLAB program that will create a structure array from the information given in the table below. Your program should prompt the user to enter the data separately for the given planets and then store the information as a structure array. Make use of a WHILE loop to enter and store the data, and a SWITCHCASE structure to check if the data has been entered correctly. Make use of the MENU function to control your loop and branching structure.
tablePlanet Name,tableMass in EarthsMultiplestableLength of Year, inEarths YearstableOrbital Velocity,kmsMercuryVenusEarthMarsJupiterSaturnUranusNeptunePluto
A radioactive isotope of an element is a form of the element that is not stable. Instead it
spontaneously decays into another element over a period of time. Radioactive decay is an
exponential process. If is the initial quantity of a radioactive substance at time then
the amount of the substance which will be present at any time in the future is given by:
where Lambda is the radioactive decay constant.
Because radioactive decay occurs at a known rate, it can be used as a clock to measure the
time that has elapsed since the decay started. If we know the initial amount of the
radioactive material present in a sample and the amount of material left at the current
time, we can solve for in the above mentioned equation to determine how long the decay
has been going on Equation has practical applications in many areas of science. For
example, archaeologists use a radioactive clock based on carbon to determine the time
that has passed since a once living thing died. Carbon is continually taken into the body
while a plant or animal is living, so the amount of it present in the body at the time of death
is assumed to be known. The decay constant of carbon is well known to be
ear. Write a MATLAB program that will prompt the user to enter the
percentage of carbon remaining in a sample and then calculates the age of the sample
from it Displays the results with the correct units by means of the display function in the
Command Window.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
