#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

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.5: A Case Study: Solving Quadratic Equations
Problem 8E
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
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,