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
Please help! 40 points + Brainliest!
lbvjy [14]

a pine hole camera is a camera but isnt a modern day camera

4 0
4 years ago
Is there anyone willing to sign into my google classroom account and help with my work :( i had surgery on monday and have about
Soloha48 [4]

Answer:

yeah I can help u but how will I get ur email and password?

3 0
3 years ago
Read 2 more answers
When a window is displayed in front of other windows, it's said to be
Dmitrij [34]
The active window

is the answer
7 0
3 years ago
Use a search engine and spot the sponsored results for safer internet day.
snow_tiger [21]
What’s the question?
4 0
3 years ago
What is the recommended procedure for disconnecting an external hard drive to avoid losing data??
SpyIntel [72]
Go to files than click on USB file then do eject device before taking it out
6 0
3 years ago
Read 2 more answers
Other questions:
  • 1. Which of the style guides is most focused on professionals who are writing articles for publication?
    15·2 answers
  • Data silos are often associated with ________________.
    12·1 answer
  • What are the verison of ip user nearly limitless ip address?
    14·1 answer
  • A user has requested a field that counts the number of child record associated with a custom object. These custom objects have a
    9·1 answer
  • The part of the computer that contains the brain, or central processing unit, is also known as
    5·1 answer
  • How do productivity programs most benefit the way we work and live?
    12·2 answers
  • Weaknesses about ICT Technician
    9·1 answer
  • Write a program that get
    9·1 answer
  • What is a cell? how is it referred?​
    8·1 answer
  • Write a pseudocode for the logic of a program that accepts five numbers from a user and displays one of the following messages:-
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!