General Instructions Upload Matlab files for Assignment 8 to the appropriate link on Blackboard. Upload final Matlab...

70.2K

Verified Solution

Question

Mechanical Engineering

General Instructions Upload Matlab files forAssignment 8 to the appropriate link on Blackboard. Upload finalMatlab files (YourINITIALSfilename.m), separately. Print programflowcharts, listings (a copy of the Matlab code) and requestedsample runs, and submit each on the due date. Deliverables: Foreach program submit a flowchart, listing of the code, a sample runand the program’s Matlab (.m) file.

Problems: 1. The “filename” in YourINITIALSfilename.m for thisprogram is “cylinder”. Create a flowchart and a correspondingMatlab program that outputs a hollow cylinder’s inner diameter,surface area and volume when a user enters cylinder height (h),outer diameter (d) and inner diameter as a percentage (p) of outerdiameter. This program must prompt the user to accept anyreasonable value for height, outer diameter and percentage(0-100%). In the submitted file after the listing for the finalprogram, provide the results for one sample run of the program withh = 1 in, d = 2 in and p = 50%.

Answer & Explanation Solved by verified expert
3.7 Ratings (392 Votes)
FlOWCHART1 Prompt user for input of required values viz hd p2 Calculate id surface area volume from given    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students