Engineers use both English and SI (Système International d’Unités) units on a regular basis. Some fields use primarily one or the other, but many combine the two systems. For example, the rate of energy input to a steam power plant from burning fossil fuels is usually measured in Btu/hour. However, the electricity produced by the same plant is usually measured in joules/s (watts). Automobile engines, by contrast, are often rated in horsepower or in ft lbf/s. Here are some conversion factors relating these different power measurements:   a) Generate a table of conversions from kW to hp. The table should start at 0 kW and end at 15 kW. Use the input function to let the user define the increment between table entries. Use disp and fprintf to create a table with a title, column headings, and appropriate spacing. The output should look like:      kW             hP      0.0           0.00      2.5          3.35      5.0.         6.70      7.5         10.06     10.0        13.41     12.5        16.76     15.0        20.11 b) Generate a table of conversions from ft lbf/s to Btu/h. The table should start at 0 ft lbf/s but let the user define the increment between table entries and the final table value. Use disp and fprintf to create a table with a title, column headings, and appropriate spacing. The output should look like: ft lbf/sec      Btu/hr        0      0.00       10      2.16       20      4.32       30      6.48       40      8.65       50      10.81   Generate a table of conversions from the euros to dollars. Start the euro column at 1 euro and increment by 2 euros. Print 30 lines in the table. On Monday, August 1st 2016, the conversion from Euro to Dollars was: 1 Euro = 1.11696 US Dollar 1 US Dollar (USD) = 0.89449 Euro (EUR) The output should look like: Euros      Dollars     1       1.12     3       3.35     5       5.58     7       7.82     9      10.05    11      12.29    13      14.52    15      16.75    17      18.99    19      21.22    21      23.46    23      25.69    25      27.92    27      30.16    29      32.39    31      34.63    33      36.86    35      39.09    37      41.33    39      43.56    41      45.80    43      48.03    45      50.26    47      52.50    49      54.73    51      56.96    53      59.20    55      61.43    57      63.67    59      65.90   Using MATLAB

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
  • Engineers use both English and SI (Système International d’Unités) units on a regular basis. Some fields use primarily one or the other, but many combine the two systems. For example, the rate of energy input to a steam power plant from burning fossil fuels is usually measured in Btu/hour. However, the electricity produced by the same plant is usually measured in joules/s (watts). Automobile engines, by contrast, are often rated in horsepower or in ft lbf/s. Here are some conversion factors relating these different power measurements:

 

  1. a) Generate a table of conversions from kW to hp. The table should start at 0 kW and end at 15 kW.

Use the input function to let the user define the increment between table entries. Use disp and

fprintf to create a table with a title, column headings, and appropriate spacing. The output should look like:

     kW             hP

     0.0           0.00

     2.5          3.35

     5.0.         6.70

     7.5         10.06

    10.0        13.41

    12.5        16.76

    15.0        20.11

  1. b) Generate a table of conversions from ft lbf/s to Btu/h. The table should start at 0 ft lbf/s but let the

user define the increment between table entries and the final table value. Use disp and fprintf to

create a table with a title, column headings, and appropriate spacing. The output should look like:

ft lbf/sec      Btu/hr

       0      0.00

      10      2.16

      20      4.32

      30      6.48

      40      8.65

      50      10.81

 

  • Generate a table of conversions from the euros to dollars. Start the euro column at 1 euro and

increment by 2 euros. Print 30 lines in the table. On Monday, August 1st 2016, the conversion from Euro to Dollars was:

1 Euro = 1.11696 US Dollar

1 US Dollar (USD) = 0.89449 Euro (EUR)

The output should look like:

Euros      Dollars

    1       1.12

    3       3.35

    5       5.58

    7       7.82

    9      10.05

   11      12.29

   13      14.52

   15      16.75

   17      18.99

   19      21.22

   21      23.46

   23      25.69

   25      27.92

   27      30.16

   29      32.39

   31      34.63

   33      36.86

   35      39.09

   37      41.33

   39      43.56

   41      45.80

   43      48.03

   45      50.26

   47      52.50

   49      54.73

   51      56.96

   53      59.20

   55      61.43

   57      63.67

   59      65.90

 

Using MATLAB

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY