3582447270

3582447270



PLEASE SOLYE THIS USING MATLAB

Create an array of structs containing materiał properties. There will be 3 fields: name of materiał, modulus of elasticity, and yield strength, called "name," "E," and "y§|" respectively. There will be 4 elements in the array. Cali the struct "materiał." Include the following data:

Materiał

Elasticity (GPa)

Yield Strength (MPa)

Stainless Steel

193

276

Copper

117

69

Zinc

83

324

Aluminum

70

145

Create a celi array containing the same data as above.

Wrap a function around problem 1. It will have 1 input and no outputs. The input will be the index of the materiał in the struct (1,2, 3, or 4). The function will print the name of the materiał, elasticity, and yield strength to the screen. For example, for an input value of 2 it will print

copper

ii? GEa

68 MPa


Materiał Elasticity Yield Strength


Wyszukiwarka

Podobne podstrony:
Creating an Image After you prepare the hard disk of the reference Computer, create an image of it b
A new conceut in loucspeaker design frees an array of driver3 tom the confines of the speaker caoind
options i£ Create New Discount Make The Option Pages Look Like Thls Of Course There Will Be Mor
Wymagania i forma zaliczenia: Attendance at lectures is compulsory. There will be an orał examinatio
sssignup Create an new hosted forum - Step 1 of 3 (Rules) Hosting Rules- Hosting rules This are the
ssstep2base settings Create an new hosted forum - Step 2 of 3 (Forum Settings) Base Settings — Forum
Front HARLEQUIN® PRESENTS FORBIDDEN FRUIT Charlotte Lamb "creates an exciting blend of suspens
skanowanie0014 (47) • The communicative teaching is marked by an atmosphere of using and working wit
jff 119 GLOSSARY The use of Japanese terms has been kept to a minimum in this book. It is an imposit
1103784928296(1) Design sizc: Height: 91 stitches Width: 65 scitchesJliWE Please wnless stitch using

więcej podobnych podstron