Write a script to determine the volume of a pyramid which

Assignment Help Applications of MATLAB
Reference no: EM13374243

Write a script to determine the volume of a pyramid, which is 1/3 * base * height, where the base is length * width. On time the user to enter values for the length, width, and the height and then determine the volume of the pyramid. When the user enters every value, they will then be prompted also for either 'i' for inches, or 'c' for centimeters. (Note 2.54 cm = 1 inch). Your script should print the volume in cubic inches with 3 decimal places. As an instance, the output might look like this: This script will calculate the volume of a pyramid. Enter the length of the base: 50 Is that i or c? i Enter the width of the base: 6 Is that i or c? c Enter the height: 4 Is that i or c? i The volume of the pyramid is xxx.xxx cubic inches.

Reference no: EM13374243

Questions Cloud

Task you are a member of the economic development board of : task you are a member of the economic development board of a country of your choice. your country follows the
Use of force evaluate the topic and predict the issues it : use of force evaluate the topic and predict the issues it may present in the future of policing from the perspective of
The assignment is about a chemical engineering forum : the assignment is about a chemical engineering forum cheresources.com. summarize it.since 1997 cheresources.com has
When considering the whole essay in revision how do you : when considering the whole essay in revision how do you understand fact? what is your definition of each of the letters
Write a script to determine the volume of a pyramid which : write a script to determine the volume of a pyramid which is 13 base height where the base is length width. on time
1identify the source and audience of the selected website : 1.identify the source and audience of the selected website or print medium. describe how its format and visual displays
Comments about each part of this job package appear in the : comments about each part of this job package appear in the right margins of the document. a final comment and grade
Write a 800-word paper comparing the personality theories : write a 800-word paper comparing the personality theories of freud jung rogers and maslow. outline how each theorist
In the effects of crossed leg on blood pressure measurement : in the effects of crossed leg on blood pressure measurement lucille foster- fitzpatrick mpa rn anna ortiz bsn rn helen

Reviews

Write a Review

Applications of MATLAB Questions & Answers

  Doctors record heart sound signals from patients in

doctors record heart sound signals from patients in hospitals in an environment in which many background noises occur.

  Implementation in matlab under windows to open a named pipe

implementation in matlab under windows to open a named pipe and to read data from the pipe an other program writes into

  If a is an m by n rectangular matrix with m gt n and if c

if a is an m by n rectangular matrix with m gt n and if c is a vector with n components then a c y can not usually be

  Qestion evaluate e-5 using two approachese-x 1 ndash x

question evaluate e-5 using two approachese-x 1 ndash x x22 ndashx33-----ande-x 1exnbsp 11xx22 x33

  You are expected to submit properly commented script andor

you are expected to submit properly commented script andor function files that solve the problem stated.nbsp your

  Select a suitable microcontroller from the pic18 family

select a suitable microcontroller from the pic18 family design simple interface hardware write and test some c programs

  Mobile robot control and potential fieldwrite a matlab code

mobile robot control and potential fieldwrite a matlab code to compute forces due to each obstacle and goal. compute

  Plot way forms for the subsequent modulation schemes using

plot way forms for the subsequent modulation schemes using matlaba 2 asknbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp b

  Create functions in filehow to code this functiondeclare

create functions in filehow to code this functiondeclare function inputs and outputsdownload-

  Exercises1make a program that will graph the following

exercises1.make a program that will graph the following parabolas where x ranges from -10 to 10 in increments of 0.1.

  Create a matrix of 5x6 with identical columns and rows

create a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal

  You will write functionsbull bnull basisatolbull brange

you will write functionsbull bnull basisatolbull brange basisatolthe function null basis takes a matrix a as input and

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd