Questions
For a catapult project I must make a MATLAB code that should make use of the...

For a catapult project I must make a MATLAB code that should make use of the projectile motion

equations so for a given input range R (horizontal distance from the catapult to the target), the code

outputs the necessary velocity and firing angle of the catapult. What is the code for this? I am lost.

In: Mechanical Engineering

Fix the bugs in this matlab program so that it solves. clear clf clc time =...

Fix the bugs in this matlab program so that it solves.

clear
clf
clc
time = linspace(0, 5, 100);
m = 1; k = 100; c = 1; delta = 0.2;
[period, response] = Exmp(m, k, c, delta, time);
plot(time, response)
grid
%Exmp(m, k, c, delta, time)
%
%________________________________________
function [T, x] = Exmp(m, k, c, delta, t)
omega = sqrt(k/m);
cC = 2*m*omega;
if c>= cC
disp('Not an underdamped system')
T = 0; x = 0;
return;
end
% end of if- - - - - - - - - - - - - - - - - - - - -
omegaD = omega*sqrt(1-(c/cC)^2);
T = 2*pi/omegaD;
x = delta*exp((-c.*t)/2*m).*(cos(omegaD*t)+c/(2*m*omegaD).*sin(omegaD*t));
end
% end of the function - - - - - - - - - - - - - - - -

In: Mechanical Engineering

Q1) Identify five Nondestructive Testing methods and the principles that govern those inspection techniques?

Q1) Identify five Nondestructive Testing methods and the principles that govern those

inspection techniques?

In: Mechanical Engineering

Define Obstacle expansion (or obstacle inflation). Explain the trade off between Exploration and Exploitation during robot...

Define Obstacle expansion (or obstacle inflation). Explain the trade off between Exploration and Exploitation during robot localization in a map.

In: Mechanical Engineering

Air flows steadily through a converging-diverging nozzle with a throat area equal to 1.395 in2 ,...

Air flows steadily through a converging-diverging nozzle with a throat area equal to 1.395 in2 , and an exit area equal to 2.79 in2 . A normal shock wave stands at the exit plane of the nozzle. The exiting jet flows into a large room, where the pressure is equal to 14.7 psia. The temperature of the air in the exit jet stream, just after the nozzle exit, is measured at 87 deg F. Calculate the mass flow rate through the nozzle. Calculate the pressure, temperature and velocity at a location in the nozzle where the flow area is equal to 5.58 in2 .

keep in English units

In: Mechanical Engineering

1) Air is flowing steadily through a cooling section where it is cooled from 86 °F...

1) Air is flowing steadily through a cooling section where it is cooled from 86 °F to 59 °F at a rate of 0.55 lbm/s. If the average COP of the air-conditioner is 2.8 and the unit cost of electricity is $0.07 per kWh, determine the cost of electricity consumed by this air-conditioner per day (24 hours).

2) A heat pump absorbs heat from the cold outdoors at 3 °C and supplies heat to a house at 20 °C at a rate of 30,000 kJ/h. If the power consumed by the heat pump is 3 kW, find the coefficient of performance of the heat pump.

3) A heat engine cycle is executed with steam in the saturation dome. The pressure of steam is 2 MPa during heat addition, and 0.1 MPa during heat rejection. Determine the highest possible efficiency of this heat engine.

4) A heat engine receives heat from a source at 800 °C and rejects the waste heat to a sink at 40 °C. If heat is rejected from this engine at a rate of 80 kJ/s, what is the maximum power this heat engine can produce?

In: Mechanical Engineering

You are an engineering consultant hired to verify an elevator design. The elevator mass is 500kg...

You are an engineering consultant hired to verify an elevator design. The elevator mass is 500kg and has a maximum occupant capacity of 800kg. Carbon steel cables with total cross sectional area of 64cm2 support the elevator. The maximum speed of the elevator is 2 meters per second. At the maximum speed, each cable extends at least 4 meters and cannot extend more than 22 meters, unstretched. When the car is not moving and the cables are extended by 22 meters of (unstretched) cable, there is 3 meters of clearance between the bottom of the elevator and the concrete floor of the shaft.

Carbon Steel Cable:

Young’s Modulus: 207 GPa

Yield Strength:      131 MPa

Ultimate Strength: 290 Mpa

Requirements for the elevator include a factor of safety of 3 for cable failure and the occupants must not ever experience more than 5 times the acceleration of gravity.

Make a sketch of the problem.

Answer the following questions:

1.If the elevator is moving at maximum speed and the motor suddenly stops, what is the worst case for cable failure?

2.What is the value of the worst case stress in the cable (MPa)?

3.The design meets the cable failure factor of safety requirement. (T/F)

4.If the elevator is moving at maximum speed and the motor suddenly stops, what is the worst case for occupant acceleration?

5.Describe at least one change to improve the design. Explain how your suggestion would improve performance relative to the requirements.

In: Mechanical Engineering

A rigid cylinder of volume 0.025 m^3 contains steam at 80 bar and 350o C. The...

A rigid cylinder of volume 0.025 m^3 contains steam at 80 bar and 350o C. The cylinder is cooled until the pressure is 50 bar. Calculate the state of the steam after cooling and the amount of heat rejected by the steam. Sketch the process on the T-s diagram indicating the area which represents the heat flow. Also sketch the schematic of the system.

In: Mechanical Engineering

A rectangular wing with a NACA 65-210 airfoil section and a chord of 6 in is...

A rectangular wing with a NACA 65-210 airfoil section and a chord of 6 in is mounted in the Auburn University 2 ft × 2 ft wind tunnel, completely spanning the test-section. The tunnel is operating with test section velocity, pressure, temperature, and velocity of 1 atm, 520°R, and 75 ft/s, respectively. (a) Calculate the lift, drag, and moment about the quarter-chord when the angle of attack is 5°. (b) What angle of attack would be required to generate a lift of 8 lb?

In: Mechanical Engineering

8. The chapter text describes various materials that have been used to produce casting patterns (i.e.,...

8. The chapter text describes various materials that have been used to produce casting patterns (i.e., the tooling that is used to produce molds), including Styrofoam, soft woods, hard woods, epoxylurethane polymers aluminum, and iron. For each of these materials, briefly discuss the pros and cons, considering such factors as number of castings to be produced, the size and shape of the casting, the desired precision of the cast product pattern cost, dimensional stability (both wear and environmental factors such as temperature and humidity) susceptibility to damage, ability to be repaired or refurbished, process limitations, and storage concerns

In: Mechanical Engineering

What is the Force analysis for the geneva mechanism?

What is the Force analysis for the geneva mechanism?

In: Mechanical Engineering

This is problem 8-7 from El-Wakil’s Powerplant Technology book -- air at 14.696 psia, 40 degF,...

This is problem 8-7 from El-Wakil’s Powerplant Technology book -- air at 14.696 psia, 40 degF, and with 65 percent relative humidity enters the compressor of a gas turbine cycle. The compressor and turbine have the same pressure ratio of 6 and polytropic efficiencies of 0.8 and 0.9, respectively. Water at 60 degF is injected into the compressor exit air, saturating it. Calculate (a) the air temperature after water injection (b) the percent increase in mass flow rate due to water injection, (c) the compressor work in Btus per pound mass of original air, and (d) the compressor work if water is injected during the compression process to the same temperature as (a), in Btus per pound mass of original air. Use a constant cp = 0.24 Btu/lbmdegRankine.

In: Mechanical Engineering

This is problem 7-12 from El-Wakil’s Powerplant Technology book -- it is desired to compare the...

This is problem 7-12 from El-Wakil’s Powerplant Technology book -- it is desired to compare the effect of two types of dry cooling tower systems on powerplant performance. The towers are of the indirect cooling type. One operates with a surface condenser with an 8 degrees Fahrenheit terminal temperature difference, and the other with a direct-contact condenser with 0 degrees Fahrenheit terminal temperature difference. Consider for simplicity a simple ideal Rankine cycle with inlet saturated steam at 1000 psia. Further consider that both have the same condenser cooling water mass flow rate of 7.21x107 lbm/h, the same inlet temperature of 70 degrees Fahrenheit, the same dry tower air temperature range of 60 degrees Fahrenheit in and 90 degrees Fahrenheit out, and the same air mass flow rate of 5x108 lbm/h. Calculate for each case (a) the condenser temperature, in degrees Fahrenheit, and pressure, in psia, (b) the steam mass flow rate, in pound mass per hour, (c) the cycle efficiency, and (d) the cycle work, in megawatts, ignoring the pump work.

In: Mechanical Engineering

We would like to have a simple model to describe how temperature changes with time in...

We would like to have a simple model to describe how temperature changes with time in your classroom during lecture in a typical day in Fall and Spring. You can consider two sets of average air temperature – one in October and other one in April for your analysis. Also, for simplicity, consider the entire room to be at one temperature T. Outside air (Ti,) comes in and reaches the temperature of the room through mixing, and this air leaves at the same rate (?). Consider all the possible modes of heat transfer that can take place through the walls (wall resistance), doors, windows (double pane vs single pane), insulation, and as well as metabolic heat generated by us (typically about 60 W per person). Perform an energy balance for the room from which you can calculate the room temperature, T. You need to account for air properties (density of 1.1769 kg/m3and specific heat of 1006 J/kg.K), room, window, and door dimensions. Consider an average air velocity through the doors as 0.1 m/s needed to calculate air flow rate ?. Ignore temperature variation in the air properties in the room. Assume reasonable parameter values needed for numerical calculations. Our goal is to calculate the classroom temperature at the end of a 75 minute lecture? Also makes some observations between cost and energy savings if you plan to incorporate any improvements.

In: Mechanical Engineering

This is problem 6-12 from El-Wakil’s Powerplant Technology book -- a condensing only feedwater heater uses...

This is problem 6-12 from El-Wakil’s Powerplant Technology book -- a condensing only feedwater heater uses 7/8-in-OD 90-10 copper-nickel tubes. It receives 84,000 lbm/h of 95 percent quality bled steam at 20 psia, and 160,000 lbm/h of drain from the next higher pressure heater at 240°F. 3.9x106 lbm/h of feedwater goes through the heater at 7 ft/s, 2000 psia, and 195°F. The terminal temperature difference is 5°F. Determine the size, length, and number of tubes based on a U-tube design. Take a maximum allowable stress in the tubes of 15,000 psi.

In: Mechanical Engineering