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
fenix001 [56]
3 years ago
10

The formula for the trajectory of a ball is given by f(x)=xtanθ−12v20gx2cos2θ+y0 where x is a coordinate along the ground, g=9.8

1 is the acceleration due to gravity, v0 is the magnitude of the initial velocity which makes an angle θ with the x-axis, and (0,y0) is the initial position of the ball. Write a program to calculate the trajectory y=f(x) for 0≤x≤16, with y0=10, v0=10, θ=50∘. (Do Python trigonometric functions accept radians or degrees?) Let x vary between 0 and 16 with 101 points. You will need to:
Computers and Technology
1 answer:
Andre45 [30]3 years ago
6 0

Answer:

The program in python is as follows:

import math

def traj ect ory(th e ta,x,y,v):

   t = ma th . tan(m ath . radians(theta))

   c = math . cos(math . radians(theta))

   g = 9 . 8

   fx = x * t - (1/(2*v**2)) * ((g*x**2)/(c**2))+y

   return round(fx,3)

   

print("x\t f(x)")

for x in range(0,17):

   theta = 50

   y= 10

   v = 10

   print(str(x)+"\t"+str(tr aje ctory (the ta,x,y,v)))

Explanation:

The question is incomplete. However, I have written the program to calculate the trajectory values f(x).

<em>See attachment for complete program where comments were used as explanation</em>

Download txt
You might be interested in
Consider whether there are additional components that could be added to the IPv4 protocol to enhance its usefulness. What are th
geniusboy [140]

Answer:

There are no additional components that can be added to the IPv4 protocol to improve its utility

Explanation:

The IPv4 protocol was developed in 1983 and is still the most widely used version worldwide. It consists of a 32-bit binary number that is normally represented in decimal notation, with four digits separated by dots that take values between 0 and 255.

This system limits the IPv4 protocol to 4,000 million different addresses, a figure that in the eighties seemed sufficient but that in practice has been scarce due to the revolution of mobile devices and the impending development of the Internet of Things ( IoT) that will trigger the number of devices connected to the network.

So, there are no additional components that can be added to the IPv4 protocol to improve its utility, since the world is running out of IPv4 addresses and is being replaced by IPv6.

Hope this helps!

5 0
3 years ago
You suspect the hard drive is corrupted. Which window do you open to repair the drive?
vodomira [7]

Answer:

hi!

Explanation:

These are the steps that must be followed to repair the damaged hard drive without formatting and recovering the data:

Step 1: Run Antivirus Scan. Connect the hard drive to a Windows PC and use a reliable antivirus/malware tool to scan the drive or the system.  

Step 2: Run CHKDSK Scan.

Step 3: Run SFC Scan.

Step 4: Use a Data Recovery Tool.

4 0
3 years ago
Compare the two types of formatting that IDE devices must go through. What is the primary difference between the two?
Andrei [34K]
A quick format<span> changes the file system while the </span>full format<span> also checks the </span>drive for bad sectors.  <span>The scan for bad sectors is the reason why the Full </span>format<span> takes twice as long as the </span>Quick format<span>. If you choose the </span>Quick format<span> option, the </span>format<span> removes address files from the partition, but does not scan the disk for bad sectors.</span>
7 0
3 years ago
Read 2 more answers
Which of the following variable declarations is a correct assignment?
Gwar [14]

Answer:

Option D: double y = 82;

Explanation:

In Java programming, it is acceptable to assign an integer (lower type) to a double type (higher type) variable. By assigning an integer to double type variable using the "=" operator, the integer will be converted to double type implicitly. It is known as the implicit type casting.  

For example, <em>double y = 82</em> will convert integer 82 (integer) to 82.0 (double).

6 0
3 years ago
Select one among the the main categories of computer software, which one is not a category
kakasveta [241]

Answer:

utilities

Explanation:

the other 3 are Cs programs

7 0
3 years ago
Other questions:
  • After doing the route tracing to a particular IP addresses, paste the path of IP addresses that were taken from your IP address
    13·1 answer
  • Select the correct answer.
    8·1 answer
  • Which relationship is possible when two tables share the same primary key?
    9·2 answers
  • How can you tell which of the policies in the security options folder have changed settings?
    10·1 answer
  • g c 24-hour time (also known in the U.S. as military time) is widely used around the world. Time is expressed as hours since mid
    7·1 answer
  • What are the reasons why is it necessary to evaluate online sources and content?
    6·1 answer
  • Mila received a new DVD player that she is trying to connect to the back of her television by feel alone. The first stage of mem
    11·1 answer
  • What is the purpose of the .NET Framework Class Library? a. it provides pre-written code that can be used by .NET applications b
    13·1 answer
  • What is a frame injection attack in a wireless network?
    13·2 answers
  • 1. Who is affected by electronic theft of a song?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!