Question: PLEASE TYPE THE SCRIPT AND FUNCTIONS AND FOLLOW THE INSTRUCTIONS ALL THE INFORMATION THAT YOU NEED ARE POSTED Main topics: Matrix operations / xlsread Retrieve

PLEASE TYPE THE SCRIPT AND FUNCTIONS AND FOLLOW THE INSTRUCTIONS

ALL THE INFORMATION THAT YOU NEED ARE POSTED

Main topics: Matrix operations / xlsread

Retrieve the Excel data file Lab13.xlsx

Open MATLAB.

Create a Script file named Lab13.m in the same directory as the Excel data file.

Given the atomic weights for the following elements:

Element :

Atomic Weight

Oxygen :

15.9994

Carbon :

12.011

Nitrogen :

14.00674

Sulfur :

32.066

Hydrogen :

1.00794

Modify the Script file to:

Create a vector of the above atomic weights.

Read the molecular composition of Alanine from the Excel data file as a vector. This vector is a list of quantities of atoms of each of the five types listed above, in the same order. Note that these quantities, for Alanine, can be found in the entries B4:F4 in the spreadsheet.

Use matrix operation(s) to compute the molecular weight of Alanine. This molecular weight is the total weight of all the atoms of a molecule of Alanine.

Display the computed molecular weight, with at least 5 decimal places of precision, in a reasonable report format.

Excel data file Lab13.xlsx:

PLEASE TYPE THE SCRIPT AND FUNCTIONS AND FOLLOW THE INSTRUCTIONS ALL THE

Once you get to this point, you should show your answers to your TA, and get checked off for this lab.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!