syeasy.m - %This is a program that defines yield strength...

Info icon This preview shows page 1. Sign up to view the full content.

%This is a program that defines yield strength metals = menu ('Metals', 'Aluminum', 'Copper', 'Steel', 'Stainless Steel', 'Titanium'); %this is a menu for metals switch metals case 1 alumin = menu ('What type of Alloy?','3003-A','6061-A','6061-T6'); %This is a menu for aluminum alloys switch alumin case 1 sy = (syv(1)); %Yeild strength of 3003-A aluminum from the yeild strength vector case 2 sy = (syv(2)); %6061-A case 3 sy = (syv(3));%6061-T6 end case 2 copp = menu ('What type of Alloy?','Navel Brass-A','Cartridge Brass- CR'); %This is a menu for copper alloys switch copp case 1 sy = (syv(4)); %%Yeild strength of navel brass-A from the yeild strength vector case 2 sy = (syv(5));%Cartridge Brass-CR
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end case 3 ste = menu ('What type of Alloy?','1020-HR','1045-HR','4340-HR'); %this is a menu for steel alloys switch ste case 1 sy = (syv(6)); %Yeild strength of 1020-HR steel from the yeild strength vector case 2 sy = (syv(7)); %1045-HR case 3 sy = (syv(8));%4340-HR end case 4 stain = menu ('What type of Alloy?', '303-A','316-A','440C-A'); %this is a menu for stainless steel alloys switch stain case 1 sy = (syv(9)); %Yeild strength of 303-A stainless steel from the yeild strength vector case 2 sy = (syv(10));%316-A case 3 sy = (syv(11));%440C-A end case 5 sy = (syv(12));%This assigns a value for yeild strength for titanium end...
View Full Document

  • Fall '13
  • Aluminium, Tensile strength, Stainless steel

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern