Question

MATLAB, Please answer question 1.

+ ENGR 102 Homework 9 :- 1) An elliptical staircase that decreases in size with height can be modeled by the parametric equations: r cos(t) y-rsint) it m) Where, e-0.04t Ib cos(O)+ [a sin()]- a and b are the semimajor and semiminor axes of the ellipse, h is the staircase height, and n is the number pf revolutions that the staircase makes. Make a 3-D plot of the staircase with a 20 m, b 10 m, h-18 m, and n-5·(Create a vector t for the domain 0 to 2nn and use the plot3 command. Properly format the plot.) 2.) Molecules of a gas in a container aemoving around at different speeds. Maxwells speed distribution law gives the probability distribution P( as a function of temperature and speed: where M is the molar mass of the gas in kg/mol, R-831 /(mol K), ?s the gas constant, T is the temperature in kelvins, and v is the molecules speed in m/s. Make a 3-D plot of Ply) as a function of v and T for 0 s v 1000 and 70 sTs 320 K for oxyeen (molar mass 0.032kg/mol). Properly format the plot. 3.) Generate anonymous functions for the following functions a. f(x)- e017*x3- 2x2 0.8x -3 b. Twc(v.T) = 35.74 + 0.621ST-3575 v0.16 + 0.4275 T v0.16

0 0
Add a comment Improve this question Transcribed image text
Answer #1

%Define the variables semiminor, semimajor axes, staircase height, number
%of revolutions
a = 20; b = 10; h = 18; n = 5;

%vector t
t = 0:2*pi*n;

%Calculae r
temp = (sqrt(((b*cos(t)).^2)+((a*sin(t)).^2)));
r = ((a*b)./temp).*exp(-0.04*t);

%Calulate x y z
x = r.*cos(t);
y = r.*sin(t);
z = h.*t/2*pi*n;

%plot
plot3(x, y, z);
xlabel('x(m)'); ylabel('y(m)'); zlabel('z(m)');

Plot:

Add a comment
Know the answer?
Add Answer to:
MATLAB, Please answer question 1. + ENGR 102 Homework 9 :- 1) An elliptical staircase that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • need the answer for the question no. 1 ENGR 113 Homework DC Motor Objectives Plot the...

    need the answer for the question no. 1 ENGR 113 Homework DC Motor Objectives Plot the Torque-Speed curve for a given DC motor given the stall torque and no load speed values Calculate the rotational power for a DC motor given the stall torque and no load speed values Plot the rotational power on a Torque-Speed curve to see the relationship between torque, speed, and power Calculate the maximum efficiency of a DC motor. Calculate the operating point for a...

  • T(N)=352 please I need the answer urgent Question 1 The following gas phase reaction produces ethanol...

    T(N)=352 please I need the answer urgent Question 1 The following gas phase reaction produces ethanol (C2H5OH) by catalytic hydrogenation of acetaldehyde (CH3CHO). The reaction reaches equilibrium at a temperature of T= T(N) and a pressure of 3 bar: CH,CHO(g) + H, (g) C,H,OH (8) The reactive system initially contains 1.5 moles of Hydrogen (Ha) for each mole of acetaldehyde (CH3CHO). The mixture is assumed to be an ideal gas. T(N) is the temperature corresponding to the student number as...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT