1.) Create an m-file with the name exercise_2_first_name_last_name. 2.) Use linspace() to create an array of times, call it t, from 0 to 5 with 200 points. 3.) Plug the points in t into the following equations: y, (t) = -49t² + 3t and y,(t) = -4.9t? + 7t where t is in seconds and y is in meters. These equations represent the heights of two objects thrown directly upward with initial positions y = 0 and initial speeds 3 and 7 4.) Create a figure showing two graphs with the plot command. Graph one equation as green circles and the other as blue dots. You'll want to add the hold on command before the plot commands. It’ll let you graph more than one set of data points. 5.) Add the following labels using xlabel and ylabel: time (s) and height (m). When we graph quantities with units, we include the units in parenthesis directly after the name of the quantity. The reader must know what units are being plotted since they represent real quantities. 6.) Add the following title: Heights vs. Time.

Calculus: Early Transcendentals
8th Edition
ISBN:9781285741550
Author:James Stewart
Publisher:James Stewart
Chapter1: Functions And Models
Section: Chapter Questions
Problem 1RCC: (a) What is a function? What are its domain and range? (b) What is the graph of a function? (c) How...
icon
Related questions
Question
1.) Create an m-file with the name exercise_2_first_name_last_name.
2.) Use linspace() to create an array of times, call it t, from 0 to 5 with 200 points.
3.) Plug the points in t into the following equations: y, (t) = -4.9t2 + 3t and y,(t) =
-4.9t2 + 7t where t is in seconds and y is in meters. These equations represent the
heights of two objects thrown directly upward with initial positions y = 0 and initial
speeds 3" and 7.
4.) Create a figure showing two graphs with the plot command. Graph one equation as green
circles and the other as blue dots. You'll want to add the hold on command before the
plot commands. It’ll let you graph more than one set of data points.
5.) Add the following labels using xlabel and ylabel: time (s) and height (m). When we graph
quantities with units, we include the units in parenthesis directly after the name of the
quantity. The reader must know what units are being plotted since they represent real
quantities.
6.) Add the following title: Heights vs. Time.
Transcribed Image Text:1.) Create an m-file with the name exercise_2_first_name_last_name. 2.) Use linspace() to create an array of times, call it t, from 0 to 5 with 200 points. 3.) Plug the points in t into the following equations: y, (t) = -4.9t2 + 3t and y,(t) = -4.9t2 + 7t where t is in seconds and y is in meters. These equations represent the heights of two objects thrown directly upward with initial positions y = 0 and initial speeds 3" and 7. 4.) Create a figure showing two graphs with the plot command. Graph one equation as green circles and the other as blue dots. You'll want to add the hold on command before the plot commands. It’ll let you graph more than one set of data points. 5.) Add the following labels using xlabel and ylabel: time (s) and height (m). When we graph quantities with units, we include the units in parenthesis directly after the name of the quantity. The reader must know what units are being plotted since they represent real quantities. 6.) Add the following title: Heights vs. Time.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Area
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, calculus and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Calculus: Early Transcendentals
Calculus: Early Transcendentals
Calculus
ISBN:
9781285741550
Author:
James Stewart
Publisher:
Cengage Learning
Thomas' Calculus (14th Edition)
Thomas' Calculus (14th Edition)
Calculus
ISBN:
9780134438986
Author:
Joel R. Hass, Christopher E. Heil, Maurice D. Weir
Publisher:
PEARSON
Calculus: Early Transcendentals (3rd Edition)
Calculus: Early Transcendentals (3rd Edition)
Calculus
ISBN:
9780134763644
Author:
William L. Briggs, Lyle Cochran, Bernard Gillett, Eric Schulz
Publisher:
PEARSON
Calculus: Early Transcendentals
Calculus: Early Transcendentals
Calculus
ISBN:
9781319050740
Author:
Jon Rogawski, Colin Adams, Robert Franzosa
Publisher:
W. H. Freeman
Precalculus
Precalculus
Calculus
ISBN:
9780135189405
Author:
Michael Sullivan
Publisher:
PEARSON
Calculus: Early Transcendental Functions
Calculus: Early Transcendental Functions
Calculus
ISBN:
9781337552516
Author:
Ron Larson, Bruce H. Edwards
Publisher:
Cengage Learning