Generate a table of conversions from kw to hp

Assignment Help MATLAB Programming
Reference no: EM13541174

Problem 1:

Engineers use both English and SI units on a regular basis. Here are some conversions factors for various power measurements:

1 kW = 3412.14 Btu/h = 737.56 ft lbf/s

1 hp = 550 ft lbf/s = 2544.5 Btu/h

a) Write a function that will convert from kW to hp and Btu/h.

b) Generate a table of conversions from kW to hp using your function from above. Start the table at 0 kW and end it at 15 kW. Use disp or fprintf to generate headings, titles, columns, and appropriate spacing.

Problem 2:

Imagine that you have a crystal ball and can predict the percentage increases in tuition for the next 22 years. The following vector increase shows your predictions, in percent, for each year:

increase = [10, 8, 10, 16, 15, 4, 6, 7, 8, 10, 8, 12, 14, 15, 8, 7, 6, 5, 7, 8, 9, 8]

Use a for loop to determine the cost of a 4-year education, assuming that the current cost for 1 year at a state school is $5000.

Reference no: EM13541174

Questions Cloud

Describe how the presence of myelin affects an action poten : Professor Freeman calls on his student Maya to describe how the presence of myelin affects an action potential. Maya should respond with which of the following statements?
Crisis experiment paper : Discuss how this experience may affect the child as he/she ages through childhood and into adulthood.
How the web user interfaces help donors to make decisions : Explain how the Web user interfaces help donors to make decisions and relate the emotional thread demonstrated in the case study to the emotional design model as discussed in Chapter 5 of the textbook.
By using observations of the doppler shift of radiation : By using observations of the Doppler Shift of radiation
Generate a table of conversions from kw to hp : Determine the cost of a 4-year education, assuming that the current cost for 1 year at a state school is $5000 - Generate a table of conversions from kW to hp
Compare and contrast equity theory : Compare and Contrast Equity Theory and Achievement-Power-Affiliation Theory. Explain how effective it would be in promoting employee acceptance of the upcoming changes.
Create unique challenges for criminal justice : Special interest crime issues create unique challenges for criminal justice. However, when these special interests work together to mutually support the deviant activities of each other, the complexities for criminal justice can multiply. Ident..
Write an app that allows user to enter a seven-digit number : Write an application that prompts the user to enter the sales for each employee, then it calculates the salesperson's salary. The process repeats until the user finishes entering all employees' information
American criminal justice system at the beginning : Homeland Security was introduced to the American criminal justice system at the beginning of the 21st century. Discuss the role of Homeland Security in modern day criminal justice and evaluate how it has changed the way the field of criminal j..

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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