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

  Problem consider a trapezoidal piece of polymer film as

problem consider a trapezoidal piece of polymer film as shown below. the parallel sides of the trapezoid are insulated

  In a shell-and-tube heat exchanger one fluid passes through

in a shell-and-tube heat exchanger one fluid passes through a central tube while another fluid flows through an outer

  1 we want to find the integral of a function at an

1. we want to find the integral of a function at an arbitrary location x from the origin.nbsp thuswhere ix0 is the

  Write a matlab function speed planetary n emesh first last

write a matlab function speed planetary n emesh first last arm that computes the speed of a given link in a

  1 this problem is intended to demonstrate some problems

1. this problem is intended to demonstrate some problems that can arise from the finite precision of numerical

  Create the following graph which contains a piecewise

create the following graph which contains a piecewise function where a line exists in the first interval a parabola in

  1 given the following actual cpu burst for a tasknbsp 6 4 6

1. given the following actual cpu burst for a tasknbsp 6 4 6 4 13 13 13 and an initial best guess at the burst as 10

  Problem 1nbsp use matlab to answer the following system of

problem 1.nbsp use matlab to answer the following system of linear equations2x y 3z 1 2x 6y 8z 3 6x 8y 18z 5

  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

  P1 write the commands that will create the following matrix

p1 write the commands that will create the following matrix. you can use only special matrix commandsp2 two cars

  1 let pnx be the lagrange interpolating polynomial of

1. let pnx be the lagrange interpolating polynomial of degree at most n that satis?es pnxi yi i 0 1 2 . . . n.write

  Q1 filter function form is y myfilterxba where x is

q1 filter function form is y myfilterxba where x is input y is output and a and b are the iir and fir

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