1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
NISA [10]
3 years ago
14

6. Data are given in comma delimited text file for a toy rocket. The rocket is powered by pressurized water that is discharged f

rom the nozzle at the beginning of the flight. a. Plot the elevation as a function of time b. Compute and plot the velocity and acceleration of the rocket as functions of time c. Write matlab code that will automatically determine the thruster time, the maximum altitude, the maximum velocity, and the maximum acceleration d. The tip of the rocket transports a 2.7 gram ping-pong ball. Determine the maximum support force for the ball.
Computers and Technology
1 answer:
ANTONII [103]3 years ago
6 0

Answer:

load('ROCKET_DATA.CSV')

m=ROCKET_DATA;

plot(m(:,1),m(:,2))

hold on

x=m(:,1);y=m(:,2);

b=length(m);

%% finding/plotting velocity

for i=2:b

if i==b

v(i)=NaN;

else

%v(i)=(y(i+1)-y(i-1))/(2*(x(i+1)-x(i-1))); centered difference

v(i)=(y(i+1)-y(i))/(x(i+1)-x(i)); %forward difference

end

end

plot(x,v);

%% finding acceleration  

for i=3:b

if i==b

a(i)=NaN;

else

a(i)=(y(i+1)-2*y(i)+y(i-1))/(x(i+1)-x(i-1))^2; %cd of 2nd dy/dx

end

end

plot(x,a)

%% Max altitude

maxy=y(1);

for i=1:length(x)

if y(i)>maxy

maxy=y(i);

end

end

%% maximum velocity

maxa=v(1);

for i=1:length(v)

if v(i)>maxa

maxa=v(i);

end

end

%% maximum acceleration

maxa=a(1);

for i=1:length(a)

if a(i)>maxa

maxa=a(i);

end

end

%% Free body

mass=2.7;%gram

mass=.0027;%kilogram

N=mass*maxa; %(N); %N=the opposing force (minimum strength of the nose cone) at the maximum downward force

%% thruster time

t=0;

for i=1:length(a)

if a(i) < 0

t=i;

return

end

end

You might be interested in
The rock cycle _____.
creativ13 [48]
The best and most correct answer among the choices provided by the question is the second choice. The rock cycle <span>changes and recycles Earth's rocks. </span>I hope my answer has come to your help. God bless and have a nice day ahead!
8 0
3 years ago
Which folder does the ipad saves my pictures?
saw5 [17]
It will save it in the pre-installed iphotos application.
Hope this helps. <span />
4 0
3 years ago
Read 2 more answers
If you have a database with birthdates, and you would like to find everyone who was born before June 16, 1967, what would you en
Tcecarenko [31]

Answer:

<June 16,1967

Explanation:

7 0
4 years ago
Read 2 more answers
3-d metal printing, artificial intelligence, and self-driving cars are examples of ___________.
BabaBlast [244]
My name is Chris I'm sorry for being so late but no I got it and I will be there for being such a great time with you and your team and I will get back to you are you still looking I'm sorry for being a little bump it to the only thing I can think of is that a little bit of time
4 0
3 years ago
Read 2 more answers
Software that people commonly use in the workplace to make their lives easier is called?
emmasim [6.3K]
Answer: System Software

7 0
3 years ago
Other questions:
  • Elisa and josh need to access general helps. Elisa will press the F1 key. josh will on ?. who will access general help
    15·1 answer
  • Write down the steps that you will take to organize your files
    12·2 answers
  • Statistics are often calculated with varying amounts of input data. Write a program that takes any number of non-negative intege
    10·1 answer
  • Which osi/iso layer is responsible for determining the best route for data to be transferred?
    5·1 answer
  • Ann needs to share information about a new hiring policy. She needs to communicate this information to more than one hundred emp
    15·2 answers
  • Want to.learn about computers​
    9·1 answer
  • We need an equals method for the Dog class. It needs to give back to the caller a boolean value indicating whether another objec
    5·1 answer
  • Can anyone help me this is due today :) <br> Thank you so much
    14·2 answers
  • Can someone please give me the 3.6 code practice answer I will mark you brainlyist
    13·1 answer
  • Write a program that accepts the lengths of three sides of a triangle as inputs. the program output should indicate whether or n
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!