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
Ksenya-84 [330]
3 years ago
8

create a function that has an argument is the triple jump distance. It returns the estimate of vertical jump height. The world r

ecord for the triple jump distance is 18.29 meters by Johnathan Edwards. What's our prediction for what Edwards' vertical jump would be
Computers and Technology
1 answer:
dmitriy555 [2]3 years ago
6 0

Answer:

function predicting vertical  

def predict_vertical(triple):

       # using least squares model parameters

       ls_vertical = ls_slope*triple + ls_intercept

       return ls_vertical

# Johnathan Edwards prediction  

triple = 18.29 # m

vertical = predict_vertical(triple)

print("Edward's vertical jump prediction would be {:.2f} meters.".format(vertical))

plt.legend(['linear regression','least squares','data'])

plt.grid()

plt.show()

Explanation:

You might be interested in
Create a class called Date that includes three pieces of information as instance variables—a month (type int), a day (type int),
Strike441 [17]

Answer:

public class Date {

   private int month;

   private int day;

   private int year;

   // Constructor

   public Date(int month, int day, int year) {

       this.month = month;

       this.day = day;

       this.year = year;

   }

   //Getters and setter

   public int getMonth() {

       return month;

   }

   public void setMonth(int month) {

       this.month = month;

   }

   public int getDay() {

       return day;

   }

   public void setDay(int day) {

       this.day = day;

   }

   public int getYear() {

       return year;

   }

   public void setYear(int year) {

       this.year = year;

   }

   void displayDate(){

       System.out.println(getMonth()+"/"+getDay()+"/"+getYear());

   }

}

//Test Class

class DateTest {

   public static void main(String[] args) {

       Date dateOne = new Date(12, 25, 2019);

       dateOne.displayDate();

   }

}

Explanation:

  • Using Java programming Language
  • Create the Date class with the instance variables (Month, day and year) all of type int
  • Create the the constructor to initialize all the instance variables
  • Create getters and setters for all the instance variables
  • Create the displayDate() method which uses string concatenation along with the get() method of all the instance variables
  • Create a test class that initializes an instance of the of the Date class
  • Call the method displayDate on the instance of the class created

3 0
3 years ago
Rhea is creating a digital textbook. She plans to use features that will help make the book more interesting for learners. Which
musickatia [10]
I would go with c. Audio and visuals catch peoples attention
4 0
3 years ago
Read 2 more answers
If a user visits a web page with an embedded video, leaves without clicking on anything, and the session times out, how will Goo
zimovet [89]

Answer:

As a bounce

Explanation:

The options are:

As an interaction

As a click

As an event

As a bounce

And the correct option is as a bounce. You will find that Google analytics calculates the bounce specifically in terms of a session which gets triggered only as a single plea to the server, and which is the analytics server like the use clicks and opens a certain page on any website, and then exits without making any further request to that server in that session. And hence, this will be counted as a bounce.

7 0
3 years ago
You just hit the jackpot today because if you answer all these questions for me, and get it right you will be marked as brainlie
Mnenie [13.5K]

what colors a carrot -i -i think it's a carrot

6 0
3 years ago
Read 2 more answers
In what way does a hash provide a better message integrity check than a checksum (such as the Internet checksum)?
Tpy6a [65]

Answer:

Hash function have less collision than a internet checksum because of computational infeasibility.

Explanation:

A collision means there is more then one way to produce the same sum. It is nearly difficult to developed two messages with same hash however, in checksum, it is more easier to develop or modify two messages to have same sum, thereby enabling attackers to have access to the message or the information arising to less message integrity.

5 0
3 years ago
Other questions:
  • Which of the following would be the correct si unit to use in measuring the amount of electrical current in a circuit
    9·2 answers
  • Create an application that allows a user to enter values for an array of seven Salesperson objects. Offer the user the choice of
    10·1 answer
  • How do you add a picture to your questions? (on computer)
    10·1 answer
  • How can I do a project with a model on the steam machine?
    14·1 answer
  • A construction firm is building a power plant at a remote and isolated mine site and needs to connect the data network of the pl
    12·1 answer
  • Wich is the correct process for selecting an entire row in a spreadsheet?
    10·1 answer
  • Compound conditions require a computer to sense whether multiple conditions are true or false.
    9·1 answer
  • How big is an iphone xr
    11·2 answers
  • A computer is the __________ of an attack when it is used to conduct an attack against another computer.
    11·1 answer
  • What are the advantages of hybrid computer
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!