Your task is to take the below code, and insert comments (using the “%” symbol) next to each line of code to make sure that you know what every line does.
clc
clear
close all
NMax = 100;
partialSum = 0;
exactAnswer = pi^2;
for k=1:NMax
partialSum = partialSum + 6/k^2;
percentDiff(k) = abs(partialSum -
exactAnswer)/exactAnswer*100;
end
NVector = [1:NMax];
plot(NVector,percentDiff);
xlabel('{{Noob}}');
ylabel('% Difference');
In: Mechanical Engineering
what does it imply if the efficiency of an engine is less than its corresponding carnot efficiency?.Describe two real life effects that might cause this difference.
In: Mechanical Engineering
1) Successful product development requires decision making in an environment free from constant change. TRUE or FALSE
2) One of the most difficult aspects of product development is recognizing, understanding and managing trade-offs. TRUE or FALSE
3) The cost of product development is roughly proportional to the number of people involved and the duration of the development project. TRUE or FALSE
4) Developing a successful product of even modest complexity requires hundreds, even thousands of decisions. TRUE or FALSE
5) Characteristics of dysfunctional product development teams include lack of empowerment, functional allegiances transcending project goals and inadequate resources. TRUE or FALSE
In: Mechanical Engineering
A pressure vessel is being designed to hold compressed methane to fuel a liquid rocket motor at a maximum pressure of 50 bar. If the methane is to be stored at 40 bar, -18 C, determine the mass contained in a 10 m3 tank using the following assumptions:
a) The ideal gas equation of state.
b) The van der Waals equation of state.
c) Using CoolProp. Comment on the accuracy of each.
In: Mechanical Engineering
Air with a dry bulb temperature 75 F and a wet bulb temperature 65 F is at a sea level pressure of 14.7 psia. Using equations to calculate (a) humidity ratio, (b) the relative humidity of the air, (c) enthalpy, (d) dew point, and (e) the mass density of the dry air. (50)
In: Mechanical Engineering
How (by what way) is each detail drawing connected with the assembly drawing of the design? (keep your answer brief and concise, all lower cases)
HTML EditorKeyboard Shortcuts
In: Mechanical Engineering
The tool in AutoCAD that allows you to adjust the properties of layers in one drawing so that they match the properties of another drawing is the A. Layer Transform. B. Properties Transform. C. Layer Translator. D. Property Match.
In: Mechanical Engineering
Home confinement: Device features that could potentially encourage communication and connection between the participant, device, and/or monitor?
In: Mechanical Engineering
What is composite? Explain comparison between metal matrix and ceramic matrix composit
In: Mechanical Engineering
What is the future of mechanical engineering in drone?
In: Mechanical Engineering
Write a program to run on your Arduino and PortMaster board that will sequentially turn on and off the LED segments, so it resembles Cylon eyes (https://youtu.be/UajcgzK2shQ). Use the millis() construct shown in lecture rather than delay(). The traverse from one side to the other should take about 1 second.
In: Mechanical Engineering
Five lbs of propane is contained in a closed, rigid tank
initially at 80 lbf/in.2, 50°F. Heat transfer occurs
until the final temperature in the tank is 0°F. Kinetic and
potential energy effects are negligible.
Determine the amount of energy transfer by heat, in Btu.
In: Mechanical Engineering
The drive shaft of a dump truck is constructed of 3.5” OD x 1/4” wall round tubing made of ASTM A242 steel. The driveshaft is 65” long and is subjected to 500 lbf*ft of torque.
• What is the maximum shear stress in the drive shaft?
• What is the safety factor with respect to yielding?
• How much torque would result in a 1° twist of the drive shaft?
In: Mechanical Engineering
Use a x2 test to test the claim that in the given contingency table, the row variable and the column variable are independent.
1) Use the sample data below to test whether car color affects the likelihood of being in an 1) accident. Use a significance level of 0.01
In: Mechanical Engineering
In: Mechanical Engineering