Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please complete the following 3 problems in MATLAB? 1) Write a MATLAB function that will compute the cross-sectional area of a sphere given

Can someone please complete the following 3 problems in MATLAB?image text in transcribed

image text in transcribed

image text in transcribed

1) Write a MATLAB function that will compute the cross-sectional area of a sphere given its volume. The function call should be defined as: function [area] = sphere_area(volume) 2) Write a MATLAB function that will compute the "standard" air temperature (F), pressure (lb/ft2) and density (slugs/ft 3 ) given an altitude (ft) above Earth's sea level using the "Earth Atmosphere Model" available from NASA at . The function call should be defined as: function [temp, pres, dens] = standard_atmosphere(altitude) 3) Aerodynamic drag on a moving sphere can be calculated using the following equation: FD=21v2ACD where: FD Aerodynamic drag (Greek letter rho) density of the air V speed of the sphere A cross-sectional area of the sphere CD Drag coefficient (CD=0.55 for a sphere) The drag force FD will need to be modified to include the direction of the speed of the sphere using the product FD=(FDsign(v)) Where - v is the speed of the sphere - sign() is a MATLAB function that will return +1 if v is positive, 0 if v is zero and 1 if v is negative. Write a user function to compute the direction-modified, aerodynamic drag force that uses the following definition statement: function [drag] = aero_drag(dens, v, A)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Theory Icdt 99 7th International Conference Jerusalem Israel January 10 12 1999 Proceedings Lncs 1540

Authors: Catriel Beeri ,Peter Buneman

1st Edition

3540654526, 978-3540654520

More Books

Students also viewed these Databases questions

Question

What is a verb?

Answered: 1 week ago

Question

Describe the five elements of the listening process.

Answered: 1 week ago