Problem

Create a program that allows the user to enter additional information into the structure...

Create a program that allows the user to enter additional information into the structure array you created in Problem 11.18. Use your program to add the following data to the array:

11.18 Store the information presented in Problem 11.17 in a structure array. Use your structure array to determine the element with the maximum density.

11.7 Consider the following information about metals:

(a) Create the following arrays:

• Store the name of each metal into an individual character array, and store all these character arrays into a cell array.

• Store the symbol for all these metals into a single padded character array.

• Store the atomic number into an int8 integer array.

• Store the atomic weight into a double-precision numeric array.

• Store the density into a single-precision numeric array.

• Store the structure into a single padded character array.

(b) Group the arrays you created in part (a) into a single cell array.

(c) Extract the following information from your cell array:

• Find the name, atomic weight, and structure of the fourth element in the list.

• Find the names of all the elements stored in the array.

• Find the average atomic weight of the elements in the table. (Remember, you need to extract the information to use in your calculation from the cell array.)

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 11
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT