In this part, you will write the implementation of the metho…

In this part, you will write the implementation of the method below. Your implementation should be consistent with the class you’ve written in a prior step (i.e. only use the field(s) and method(s) that exist in the MySortedList class). You do not need to include any import statements or Javadoc comments in your response. T remove(T element) throws IllegalArgumentException, NoSuchElementException Removes and returns the element in the list that is equal to the element passed in. Remaining elements should be shifted towards the beginning of the list (see diagram). This method MUST use the remove(int index) method to perform the removal! HINT: the implementation of this method is simple if you’ve implemented the remove(int) and firstOccurrenceIndex(T) methods. Think about how you can use these two methods to find and remove an element that is equal to the argument (and throw the required exceptions, if necessary). Method throws IllegalArgumentException when the argument is null. The message should contain text describing the reason the argument is illegal. You may assume that IllegalArgumentException is an unchecked exception and has a constructor that takes in a single String parameter representing the message. Method throws NoSuchElementException when an element equal to the argument doesn’t exist within the list. You may assume that NoSuchElementException is an unchecked exception and has a constructor that takes in a single String parameter representing the message. Make sure to select the ‘Preformatted’ style from the dropdown so your code is formatted clearly. DO NOT USE THE TAB KEY WHEN WRITING CODE AS YOU MAY ACCIDENTALLY SUBMIT YOUR EXAM. USE THE SPACE BAR INSTEAD.

In this part, you will write the implementation of the metho…

In this part, you will write the implementation of the method below. Your implementation should be consistent with the class you’ve written in a prior step (i.e. only use the field(s) and method(s) that exist in the MySortedList class). You do not need to include any import statements or Javadoc comments in your response. T remove(int index) throws IndexOutOfBoundsException Removes and returns the element at the specified position in the list, where index 0 represents the first position in the list (i.e. position of first element returned during iteration). Remaining elements should be shifted towards the beginning of the list (see diagram). Method throws an IndexOutOfBoundsException when the index is invalid. The message should contain a description of the specific reason the index is invalid. An index is invalid if: the value of the index is negative the value of the index does not point to an element that exists within the list. NOTE: an index that points to the last element is VALID You may assume that IndexOutOfBoundsException is an unchecked exception and has a constructor that takes in a single String parameter representing the message. HINT:  it’s strongly recommended this method is implemented before the remove(T) method. Make sure to select the ‘Preformatted’ style from the dropdown so your code is formatted clearly. DO NOT USE THE TAB KEY WHEN WRITING CODE AS YOU MAY ACCIDENTALLY SUBMIT YOUR EXAM. USE THE SPACE BAR INSTEAD.

A force of 12 lbs is required to maintain a certain spring s…

A force of 12 lbs is required to maintain a certain spring stretched to a length of  ft beyond its natural length.  Which of the following integrals represents the amount of work, in foot-pounds, done in stretching the spring from its natural length to 1 ft beyond its natural length?

Your first patient in the spring has hypothyroid and hyperte…

Your first patient in the spring has hypothyroid and hypertension, controlled with levothyroxine and lisinopril.  The vitals for today are 142/84, pulse 80 and respirations 14.  They haven’t had a dental appointment in a year and had bitewings taken then.  Your head and neck findings indicate a few abnormalities to chart and their periodontal assessments indicates that they have localized recession on premolars and generalized 1-3mm probe depths.  They indicate that they clench at night and you find that some of the anterior teeth move less than 1mm when you test mobility using 2 blunt ends of instruments. Since they are low risk for caries and have no dental concerns, you determine that they do not need new radiographs. Use this information to answer the following questions. QUESTION: Which is incorrect technique when scaling with the H5/33?