MATLAB: A Practical Introduction to Programming and Problem Solving
MATLAB: A Practical Introduction to Programming and Problem Solving
5th Edition
ISBN: 9780128154793
Author: Stormy Attaway Ph.D. Boston University
Publisher: Elsevier Science
bartleby

Videos

Question
Book Icon
Chapter 14, Problem 46E
To determine

To find:

• The range of the given projectile equations.

• The graph of the projectile at suitable x values.

• The graph of the height versus time.

• The range of the given projectile equations.

Expert Solution & Answer
Check Mark

Answer to Problem 46E

Solution:

• The required range is 0.35

• The required graph is stated as follows.

• The required graph is stated as follows.

• The required apex is 0.1.

Explanation of Solution

• The range of the given projectile equations.

The given equations are,

x=v0cos(θ0)ty=v0sin(θ0)t12gt2

The formula to calculate the range is,

range=v02sin(2θ0)g

Here, v0 is the initial velocity, θ0 is the angle of departure, g is the acceleration due to gravity and t is the time.

Let v0 be 2m/s, θ0 be 30°, t be 1sec and g be 9.81m/s.

Substitute 2m/s for v0, 30° for θ0, 1sec for t and 9.81m/s for g in the above equation.

range=v02sin(2θ0)g=22sin(2×30°)9.81=0.35

MATLAB Code:

t = 0:0.001:2;

v0 = 2;

g = 9.81;

theta = 30;

x = v0.*cosd(theta).*t;

y = v0.*sind(theta).*t -0.5.*g.*t.*t;

range = v0.^2.*sind(2*theta)/g

Save the MATLAB function with name chapter14_54793_14_46_1E.m in the current folder. Execute the function by typing the function name at the command window to generate output.

Result:

MATLAB: A Practical Introduction to Programming and Problem Solving, Chapter 14, Problem 46E , additional homework tip  1

Therefore, the result is stated above.

• The graph of the projectile at suitable x values.

MATLAB Code:

t = 0:0.001:2;

v0 = 2;

g = 9.81;

theta = 30;

x = v0.*cosd(theta).*t;

y = v0.*sind(theta).*t -0.5.*g.*t.*t;

plot(t, x)

title('Position(x) vs Time(t)')

Save the MATLAB function with name chapter14_54793_14_46_2E.m in the current folder. Execute the function by typing the function name at the command window to generate output.

Result:

MATLAB: A Practical Introduction to Programming and Problem Solving, Chapter 14, Problem 46E , additional homework tip  2

Therefore, the result is stated above.

• The graph of the height versus time.

MATLAB Code:

t = 0:0.001:2;

v0 = 2;

g = 9.81;

theta = 30;

x = v0.*cosd(theta).*t;

y = v0.*sind(theta).*t -0.5.*g.*t.*t;

plot(t, y)

title('Height(y) vs Time(t)')

Save the MATLAB function with name chapter14_54793_14_46_3E.m in the current folder. Execute the function by typing the function name at the command window to generate output.

Result:

MATLAB: A Practical Introduction to Programming and Problem Solving, Chapter 14, Problem 46E , additional homework tip  3

Therefore, the result is stated above.

• The range of the given projectile equations.

The given equations are,

x=v0cos(θ0)ty=v0sin(θ0)t12gt2

The formula to calculate the maximum time, tmax is,

tmax=v0sin(θ0)g

Here, v0 is the initial velocity, θ0 is the angle of departure, g is the acceleration due to gravity and t is the time.

Let v0 be 2m/s, θ0 be 30°, t be 1sec and g be 9.81m/s.

Substitute 2m/s for v0, 30° for θ0, and 9.81m/s for g in the above equation.

tmax=v0sin(θ0)g=2sin(30°)9.81=0.10sec

MATLAB Code:

t = 0:0.001:2;

v0 = 2;

g = 9.81;

theta = 30;

x = v0.*cosd(theta).*t;

y = v0.*sind(theta).*t -0.5.*g.*t.*t;

apex_time = v0*sind(theta)/g;

fprintf('The apex is %.1f\n', apex_time)

Save the MATLAB function with name chapter14_54793_14_46_4E.m in the current folder. Execute the function by typing the function name at the command window to generate output.

Result:

MATLAB: A Practical Introduction to Programming and Problem Solving, Chapter 14, Problem 46E , additional homework tip  4

Therefore, the required apex is 0.1.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
please find the answers for the yellows boxes using the information and the picture below
A marketing agency wants to determine whether different advertising platforms generate significantly different levels of customer engagement. The agency measures the average number of daily clicks on ads for three platforms: Social Media, Search Engines, and Email Campaigns. The agency collects data on daily clicks for each platform over a 10-day period and wants to test whether there is a statistically significant difference in the mean number of daily clicks among these platforms. Conduct ANOVA test. You can provide your answer by inserting a text box and the answer must include: also please provide a step by on getting the answers in excel Null hypothesis, Alternative hypothesis, Show answer (output table/summary table), and Conclusion based on the P value.
A company found that the daily sales revenue of its flagship product follows a normal distribution with a mean of $4500 and a standard deviation of $450. The company defines a "high-sales day" that is, any day with sales exceeding $4800. please provide a step by step on how to get the answers Q: What percentage of days can the company expect to have "high-sales days" or sales greater than $4800? Q: What is the sales revenue threshold for the bottom 10% of days? (please note that 10% refers to the probability/area under bell curve towards the lower tail of bell curve) Provide answers in the yellow cells
Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781305652224
Author:Charles P. McKeague, Mark D. Turner
Publisher:Cengage Learning
Text book image
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781337278461
Author:Ron Larson
Publisher:Cengage Learning
Evaluating Indefinite Integrals; Author: Professor Dave Explains;https://www.youtube.com/watch?v=-xHA2RjVkwY;License: Standard YouTube License, CC-BY
Calculus - Lesson 16 | Indefinite and Definite Integrals | Don't Memorise; Author: Don't Memorise;https://www.youtube.com/watch?v=bMnMzNKL9Ks;License: Standard YouTube License, CC-BY