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?

![given its volume. The function call should be defined as: function [area]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66efcf7a28b14_24966efcf79a5c0a.jpg)
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
Get step-by-step solutions from verified subject matter experts
