Question

In: Physics

Use Excel, Matlab, LAbVIEW or other software What do we need? ▪ Assumptions: Negligible air resistance,...

Use Excel, Matlab, LAbVIEW or other software

What do we need?

▪ Assumptions: Negligible air
resistance, no wind effects,

▪ Governing equations: projectile equations (equations of motion)

▪ Problem: Define what you are trying to investigate.
▪ find the optimal firing parameters (firing angle, muzzle velocity) to hit a target that is a distance away and you are shooting from a hill.
Start calculating and optimizing.

Vo = 10 ft/sec

Yo = 100 ft

g = 32 ft/sec^2

t = time, vary that parameter
from 0 seconds until Y = 0 ft

Find the angle, Theta, for which the range (X whenY = 0 ft) is the largest.

Explain why this “optimal” angle is not 45 degrees as we have learned from other exercises?

Equations:

x= Vo Cosxt (1)

Vx=Vocosx (2)

Y= 1/2gt^2 +Vosinxt +Yo (3)

Vy= Vosinx+gt (4)

Solutions

Expert Solution

In the code below, we can inversitage the optimum muzzle velocity, maximum horizontal distance, vertical distance using parameters like firing angle, initial velocity and projectile motion equations.

MATLAB CODE AND OUTPUT:

At firing angle 30 degree:

At firing angle = 45 degree

At firing angle 50 degree:

Therefore, the optimum firing angle is 45 degrees, because at 45 the projectile covers maximum distance.

MATALB CODE:

copy it to the matlab script and just it, you will get option to input your firing angle and initial velocity,

Code begins:

clear all
clc
v0=input('Enter the value of intial velocity in feet/sec :')
g=32;
y0=100;
theta=input('Enter the value of angle in degrees:')
T=(2.*v0*(sind(theta)))./g;
t=0:0.01:T;
vx=v0.*(cosd(theta));
vy=v0.*(sind(theta))-(g.*t);
x=v0.*(cosd(theta)).*t;
y=v0.*(sind(theta)).*t-(0.5).*g.*(t.^2)+y0;
plot(x,y);
grid on
title('PROJECTILE MOTION')
xlabel('Horizontal Distance')
ylabel('Vertical Distance')

Code ends.

Upvote, if the answer was helpful. Thanks and have a nice & safe day.


Related Solutions

Please do not use Excel to answer this. I need the computations as we are not...
Please do not use Excel to answer this. I need the computations as we are not allowed to use excel. Sequential Method Jasmine Company manufactures both pesticide and liquid fertilizer, with each product manufactured in separate departments. Three support departments support the production departments: Power, General Factory, and Purchasing. Budgeted data on the five departments are as follows: Support Departments Producing Departments Power General Factory Purchasing Pesticide Liquid Fertilizer Overhead $80,000 $312,000    $165,000    $78,500 $107,400 Square feet 1,500...
we examined the concept of friction and how it affects everything we do. Air resistance is...
we examined the concept of friction and how it affects everything we do. Air resistance is an important type of friction that you don’t want to forget about as you prepare your post. Consider what the world would be like without friction. For example, in a world without friction, the pitcher in a baseball game can still pitch the ball because he can push off the pitching rubber. The pitching rubber is the rubber slab atop the pitching mound that...
PLEASE DO NO USE EXCEL, as we are not able to use excel on our test...
PLEASE DO NO USE EXCEL, as we are not able to use excel on our test XYZ company is considering a new machine that costs $300,000 and would reduce pre-tax manufacturing costs by $108,000 annually. XYZ would use the 3-year MACRS method to depreciate the machine, and management thinks the machine would have a value of $23,000 at the end of its 5-year operating life. The applicable depreciation rates are 33%, 45%, 15%, and 7%. The net operating working capital...
(c) When do we need to use/apply a professional code of ethics? What professional codes of ethics we can use in software development field?
(c) When do we need to use/apply a professional code of ethics? What professional codes of ethics we can use in software development field? (d) In B. Berenbach and M. Broy, "Professional and Ethical Dilemmas in Software Engi- neering," in Computer, vol. 42, no. 1, pp. 74-80, Jan. 2009 (an article provided in the class as reading material), the authors have categorized 8 ethical dilemmas that a software engineer may face in practice. Select one of the dilemmas that you think...
What is software architecture? Why do we need it? Distinguish between architecture and design.
What is software architecture? Why do we need it? Distinguish between architecture and design.
We can use our knowledge of air resistance to calculate its effect on a baseball in...
We can use our knowledge of air resistance to calculate its effect on a baseball in 2-dimensional projectile motion. The effect of air resistance can be modeled with an extra acceleration term, so that the acceleration is no longer simply ⃗a = ⃗g but rather ⃗a = ⃗g − bv⃗v We will use b = 0.002 m^(−1), a reasonable value for a baseball flying through the air. Let the initial velocity of the ball be 35 m/s at an angle...
PLEASE DO NOT USE EXCEL, as we cannot use excel on our test. The Wagner Company...
PLEASE DO NOT USE EXCEL, as we cannot use excel on our test. The Wagner Company currently uses an injection-molding machine that was purchased 2 years ago. This machine is being depreciated on a straight-line basis, and it has 6-years of remaining life. Its current book value is $2,100, and it can be sold for $2,500 at this time. Thus, the annual depreciation expense is $350 [($2,100/6) = $350 per year]. If the old machine is not replaced, it can...
USE EXCEL OR MATLAB IF YOU NEED Given the dry-bulb temperature, Tdb and relative humidity, Φ,...
USE EXCEL OR MATLAB IF YOU NEED Given the dry-bulb temperature, Tdb and relative humidity, Φ, the wet-bulb, Twb temperature may be calculated from the psychrometric equation (Jones, 1994): PvsΦ – Pss = PatmA (Twb -Tdb )                                              (1) Use your input from the Table below. The input Twb and Tdb are in oC (used in Eqs. (2) and (3) in Kelvin).    Pss = saturated vapor pressure at Twb (kPa) Pvs = saturated vapor pressure at Tdb (kPa)    Pss =...
What are the effects of friction and air resistance? How do they affect your value of...
What are the effects of friction and air resistance? How do they affect your value of the measured acceleration?
Why do we use residuals (instead of the data) to check the assumptions in an experimental...
Why do we use residuals (instead of the data) to check the assumptions in an experimental design?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT