A simple pendulum with mass m = 1.3 kg and length L = 2.62 m hangs from the ceiling. It is pulled back to an small angle of ? = 11.6° from the vertical and released at t = 0.
What is the period of oscillation?
What is the magnitude of the force on the pendulum bob perpendicular to the string at t=0?
What is the maximum speed of the pendulum?
What is the angular displacement at t = 3.67 s? (give the answer as a negative angle if the angle is to the left of the vertical)
What is the magnitude of the tangential acceleration as the pendulum passes through the equilibrium position?
What is the magnitude of the radial acceleration as the pendulum passes through the equilibrium position?
In: Physics
Given a system of five (5) 3500-lb, 700 feet per minute (fpm) elevator cars. Gearless traction motors are being used for this system. Each car operates approximately 65% of the time and while in operation, each car draws 96% of the full load. Calculate
Heat generated in the machine room during peak periods. Assume solid-state control is used. (5 points)
Assume the following operation profile during a 24-hour day
5 hours peak use
3 hours of 70% peak
4 hours of 50% peak
12 hours of 10% peak
Calculate the approximate monthly energy cost using the electricity rate of $0.10/kWh assuming 25 days of operation per calendar month (10 points)
In: Mechanical Engineering
4. Given a system of five (5) 3500-lb, 700 feet per minute (fpm) elevator cars. Gearless traction motors are being used for this system. Each car operates approximately 65% of the time and while in operation, each car draws 96% of the full load. Calculate
a. Heat generated in the machine room during peak periods. Assume solid-state control is used. (5 points)
b. Assume the following operation profile during a 24-hour day
5 hours peak use
3 hours of 70% peak
4 hours of 50% peak
12 hours of 10% peak
Calculate the approximate monthly energy cost using the electricity rate of $0.10/kWh assuming 25 days of operation per calendar month (10 points)
In: Mechanical Engineering
you are caring for a patient who is scheduled to undergo surgery for cataracts. The patient is 78 years old and lives alone on a third floor walk up with no elevator.
1. What safety issues with your address when teaching this patient?
2. What if she's place the patient at increased risk for injury?
Sarah schulman is a 40-year-old woman with severe, persistent asthma. In addition to receiving by monthly immunotherapy, she takes an inhaled corticosteroid with the long acting beta agonist and an antihistamine daily. Each year she has four or five a cute exacerbations of asthma that usually require a taper of oral prednisone.
1. What are Ms. Schulman's risk factors for glaucoma?
2. What patient teaching should you provide Ms. schulman to reduce her risk of developing glaucoma?
In: Nursing
Mark Bortz Electrical (“MBE”) gets a job to install the systems that will control the bank of eight elevators in a new 20-story hotel built in Richardson, TX. MBE obtains the components from the distributor, installs them without any problems, and moves onto the next job. However, prior to opening, the hotel’s owners find that none of the elevators are working.
An expert hired by the hotel determines the problem is that the wiring was improperly installed by MBE. Another contractor rewires the elevator bank and everything works fine.
Diagnosing and repairing the problem delayed the hotel’s opening by two weeks .The owners make a liability claim against MBE for the lost income incurred as a result of the delay in opening the hotel. Will MBE’s CGL insurer cover this claim?
(Answer based on the CGL policy)
In: Finance
A simple pendulum with mass m = 1.5 kg and length L = 2.49 m hangs from the ceiling. It is pulled back to an small angle of θ = 9.5° from the vertical and released at t = 0.
What is the magnitude of the force on the pendulum bob perpendicular to the string at t=0?
What is the maximum speed of the pendulum?
What is the angular displacement at t = 3.67 s? (give the answer as a negative angle if the angle is to the left of the vertical)
What is the magnitude of the tangential acceleration as the pendulum passes through the equilibrium position?
What is the magnitude of the radial acceleration as the pendulum passes through the equilibrium position?
Which of the following would change the frequency of oscillation of this simple pendulum?
increasing the mass
decreasing the initial angular displacement
increasing the length
hanging the pendulum in an elevator accelerating downward
In: Physics
Using Java
The given class SetInterface.java is :
public interface SetInterface<T> {
/**
* Gets the current number of entries in this set.
*
* @return The integer number of entries currently in the set.
*/
public int getSize();
/**
* Sees whether this set is empty.
*
* @return True if the set is empty, or false if not.
*/
public boolean isEmpty();
/**
* Adds a new entry to this set, avoiding duplicates.
*
* @param newEntry The object to be added as a new entry.
* @return True if the addition is successful, or false if the item already is
* in the set.
*/
public boolean add(T newEntry);
/**
* Removes a specific entry from this set, if possible.
*
* @param anEntry The entry to be removed.
* @return True if the removal was successful, or false if not.
*/
public boolean remove(T anEntry);
/**
* Removes one unspecified entry from this set, if possible.
*
* @return Either the removed entry, if the removal was successful, or null.
*/
public T remove();
/** Removes all entries from this set. */
public void clear();
/**
* Tests whether this set contains a given entry.
*
* @param anEntry The entry to locate.
* @return true if the set contains anEntry, or false if not.
*/
public boolean contains(T anEntry);
/**
* Returns true if one set is equivalent to another (contains the same
* elements), and false otherwise.
*
* @param anotherSet another set
* @return true if this set contains the same elements as the other set, or
* false if not.
*/
public boolean isEquivalentTo(SetInterface<T> anotherSet);
/**
* Returns true if all of the elements of this set are contained in the other
* set, and false otherwise.
*
* @param anotherSet another set
* @return true if all of the elements of this set are contained in the other
* set, and false otherwise.
*/
public boolean isSubsetOf(SetInterface<T> anotherSet);
/**
* Computes the union of this set with a given set
*
* @param anotherSet another set
* @return the union of this set with anotherSet
*/
public SetInterface<T> union(SetInterface<T> anotherSet);
/**
* Computes the intersection of this set with a given set
*
* @param anotherSet another set
* @return the intersection of this set with anotherSet
*/
public SetInterface<T> intersection(SetInterface<T> anotherSet);
/**
* Retrieves all entries that are in this set.
*
* @return A newly allocated array of all the entries in the set, where the size
* of the array is equal to the number of entries in the set.
*/
public T[] toArray();
} // end SetInterface
1. (63 points) Create a class ResizableArraySet that implements the methods in SetInterface.java file that you have been provided (do not modify the given interface file). There should be just one constructor, with no parameters, that creates a Set containing no elements (but the underlying array should have an initial length of 5). Methods should avoid unnecessary code duplication, using private helper methods to reduce repeated code. ○ Double the size of the array when the array is full. ○ After removing an element, if the array is less than half full, then cut the size of the array in half. However, the size of the array should never be less than 5. ○ Write a toString() method that returns a comma-separated list of the data in the set, surrounded by curly braces (such as "{A, C, B}"). (write early so you can test)
2. (See sample run at the end of this document) In a separate class, Tester, create a void method named setTester() that has no parameters and: ○ (10 points) Creates an array consisting of several strings, including some repeated strings, and then adds them to one of your sets, displaying information about your set as it goes. Then, remove the elements you added, in the same order that you added them. The idea is that this will help you show yourself (and us) that all the methods in your Set class are working. ○ (10 points) Creates another set and adds 20 random integers in the range 0 to 99. Each time a number is added, print the number that was added, along with the contents of the set. Note that if duplicates are added, then the set size after adding 20 numbers would actually be less than 20. After adding the numbers to the set, use a loop to remove all even numbers from the set, showing the number that was removed, and the resulting set. Only show the removal if the number is actually in the set.
The final testing file:
import java.awt.Point;
public class BaselineTester {
public static void main(String[] args) {
testResizableArraySet();
testNodeClass();
testTester();
}
// Verifies that the proper methods and constructor exist in ResizableArraySet
// If this tester contains compiler errors, it indicates a problem with your code.
// Do not modify this tester. Instead, modify your ResizableArraySet code.
public static void testResizableArraySet() {
// Is it possible to create different kinds of sets?
SetInterface<String> set1 = new ResizableArraySet<>();
SetInterface<Point> set2 = new ResizableArraySet<>();
SetInterface<Integer> set3 = new ResizableArraySet<>();
// Test the add and remove methods:
boolean b = set1.add("cat");
b = set1.remove("cat");
String s = set1.remove();
set1.clear();
int i = set1.getSize();
String[] arr = set1.toArray();
SetInterface<Point> set4 = new ResizableArraySet<>();
SetInterface<Point> set5 = new ResizableArraySet<>();
SetInterface<Point> set6 = set4.union(set5);
set6 = set4.intersection(set5);
b = set6.contains(new Point());
b = set6.isEquivalentTo(set5);
b = set6.isSubsetOf(set5);
b = set6.isEmpty();
}
// This makes sure that your Node class exists and has package-level instance variables
// named data and next, and a constructor that has an int parameter.
public static void testNodeClass() {
Node n = new Node(5);
int i = n.data;
Node n2 = n.next;
}
// This makes sure that you have a class named Tester and that the class has static
// methods with the proper names.
public static void testTester() {
Tester.setTester();
Tester.nodeTester();
}
}
In: Computer Science
In a national basketball association, the top free-throw shooters usually have probability of about 0.95 of making any given free throw. During a game, one such player shot 9 free throws. Let X = number of free throws made.
In: Statistics and Probability
Let ? be the number that shows up when you roll a fair, six-sided die, and, let ? = ?^2 − 5? + 6.
a. Find both formats for the distribution of ?. (Hint: tep forms of probability distributions are CDF and pmf/pdf.)
b. Find F(2.35)
In: Statistics and Probability
A casino dealer scans a well-shuffled 52-card deck, one card at a time.
a. Find the probability that the card number 3 is the second queen that she sees. Include at least 4 digits after the decimal point in your answer.
Assume there is no replacement
In: Statistics and Probability