Question: 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?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 its volume. The function call should be defined as: function [area]

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!