#4 Solve the following problems by first writing a program in a script file and then executing the program. a The wind chill temperature, Te, is the air temperature felt on exposed skin due to wind. In U.S. customary units it is calculated by a b Twe 35.74 +0.62157-35.750 16 +0.427570.16 where T is the temperature in degrees F and is the wind speed in mi/h. Write a MATLAB program in a script file that calculates Te. For input the program asks the user to enter values for T and v. For output the program displays the message: "The wind chill temperature is: XX," where XX is the value of the wind chill temperature rounded to the nearest integer. Execute the program entering T = 30°F and 42 mi/h. V = An ice cream container shaped as a frustum of a cone with R₂ 1.2R, is designed to have a volume of 1,000 cm³. Determine R₁, R₂, and the surface area, S, of the paper for containers with heights of 8, 10, 12, 14, and 16 cm. Display the results in a table. The volume of the container, V, and the surface area of the paper are given by: V = ±τh(R² + R₁₂ + R₁ R₂) S = л(R₁ + R₂), (R₂- R₁)² + h² + ˜(R² + R²) b R₂ R+. h

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Solve the following using Matlab.

#4
Solve the following problems by first writing a program in a script file and then
executing the program.
a
The wind chill temperature, Te, is the air temperature felt on exposed skin
due to wind. In U.S. customary units it is calculated by
a
b
Twe 35.74 +0.62157-35.750 16 +0.427570.16
where T is the temperature in degrees F and is the wind speed in mi/h. Write
a MATLAB program in a script file that calculates Te. For input the program
asks the user to enter values for T and v. For output the program displays the
message: "The wind chill temperature is: XX," where XX is the value of the
wind chill temperature rounded to the nearest integer. Execute the program
entering T = 30°F and 42 mi/h.
V =
An ice cream container shaped as a frustum of a cone
with R₂ 1.2R, is designed to have a volume of 1,000
cm³. Determine R₁, R₂, and the surface area, S, of the
paper for containers with heights of 8, 10, 12, 14,
and 16 cm. Display the results in a table.
The volume of the container, V, and the surface area
of the paper are given by:
V = ±τh(R² + R₁₂ + R₁ R₂)
S = л(R₁ + R₂), (R₂- R₁)² + h² + ˜(R² + R²)
b
R₂
R+.
h
Transcribed Image Text:#4 Solve the following problems by first writing a program in a script file and then executing the program. a The wind chill temperature, Te, is the air temperature felt on exposed skin due to wind. In U.S. customary units it is calculated by a b Twe 35.74 +0.62157-35.750 16 +0.427570.16 where T is the temperature in degrees F and is the wind speed in mi/h. Write a MATLAB program in a script file that calculates Te. For input the program asks the user to enter values for T and v. For output the program displays the message: "The wind chill temperature is: XX," where XX is the value of the wind chill temperature rounded to the nearest integer. Execute the program entering T = 30°F and 42 mi/h. V = An ice cream container shaped as a frustum of a cone with R₂ 1.2R, is designed to have a volume of 1,000 cm³. Determine R₁, R₂, and the surface area, S, of the paper for containers with heights of 8, 10, 12, 14, and 16 cm. Display the results in a table. The volume of the container, V, and the surface area of the paper are given by: V = ±τh(R² + R₁₂ + R₁ R₂) S = л(R₁ + R₂), (R₂- R₁)² + h² + ˜(R² + R²) b R₂ R+. h
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education