Kit Requirements:
Lab 3a:
Procedure:
· Watch the videos:
o Tutorial 03 for Arduino: Electrical Engineering Basics(https://www.youtube.com/watch?v=abWCy_aOSwY)
o Tutorial 04 for Arduino: Analog Inputs (https://www.youtube.com/watch?v=js4TK0U848I)
o TechBits 13 - Analog and Digital Signals (https://www.youtube.com/watch?v=Z3rsO912e3I)
· Construct the breadboard circuit and implement the program presented in the video to create an adaptable night light and detailed in Chapter 2 (pp.35-39) of your textbook.
Lab 3b:
Procedure:
This week’s lab will simulate the coffee maker heater functionality we saw in Week 1. The difference in our program and the actual coffee maker is that instead of turning on a heating element, our program will blink an LED.
· Design a circuit and Arduino program that expands the concepts explained in Chapter 3 ( pp. 52- 59) of your textbook and accomplishes the following:
o Blinks an LED when the temperature of a temperature sensor is at or below room temperature for more than 5 seconds
o If the temperature exceeds room temperature for more than 5 seconds, the LED will turn off.
·
In: Electrical Engineering
n Jacobson v. Massachusetts (1905), the United States Supreme Court upheld the right of states to enact compulsory vaccination laws—one of the most challenging constitutional dimensions of public health. It also provided the terms for what would eventually become a core question of public health ethics.
This case has become the precedent for many cases that have challenged vaccination laws. Both majority and dissenting opinions in numerous decisions have cited this case in reference to states’ authority to constrain individual behavior. These cases have involved issues ranging from fluoridation of municipal water supplies, to abortion, to the right to die. In Buck v. Bell (1927), the Supreme Court usedJacobson v. Massachusetts (1905) to uphold a forced-sterilization law using the reasoning that society must be protected from the burdens imposed by the offspring of “imbeciles.” Despite the troubling uses to which this decision has been put, public health law texts continue to cite the case as an example of the ways that public health practices must resolve the tensions between individual rights and the collective well-being.
Based on these Supreme Court decisions, respond to the following:
In: Nursing
A rigid tank with volume Vtank=20 liter is maintained at T1=300 C and initially contain m1=0.08 kg of water as shown in the figure. At some time, a valve is opened allowing Vin=2 liters of waters at Tin=20 C and Pin=20.0 MPa to enter the tank. The valve is shut and eventually all of the water in the tank comes to T2=300 C.
a)Locate state 1 and state in, the states of the water initially in the tank and the water added to the tank, respectively, on a sketch of a T-v diagram. Indicate on your diagram what two properties define each state as well as lines of constant pressures (isobars), lines of constant specific volume (isochors) and/or lines of constant temperatures (isotherms)).
b)What is the initial pressure in the tank (MPa)?
c)What is the mass of the water added to the tank (kg)?
d)Locate state 2, the final state of the water in the tank, on the T-v diagram from (a).
e) What is the final pressure in the tank (MPa)?
f) Explain how it is possible for the temperature of the water in the tank to remain constant at 3000C after adding water with much lower temperature ( 20oC ) to the tank.
g)On a P-v diagram overlay initial state and final state of water in the tank. Indicate on your diagram what two properties define each states and draw isotherms.
In: Chemistry
1. Why did Gregor Mendel succeed in his work about understanding inheritance?
2. List and describe the function of the 4 enzymes involved in DNA replication.
3. List and describe 3 variations to Mendelian genetics.
4. List the steps of cell-cycle including the steps of Mitosis
In: Biology
Consider following Bisectional search implementation that prints the location of the elements found in a given sorted list. If not found it prints
-1. Modify the program such that it would provide:
• All the places in the list where the element was found
• How many times the element appeared in the list.
NOTE
Answer should be in python.
In: Computer Science
Create a concrete LinkedList class that extends the provided ALinkedList class. You will need to override the extract()method in your class. You can use your main() method for testing your method (although you do not need to provide a main method).
Recall that a list is an ordered collection of data
X_0, X_1, X_2, ..., X_n-1
The extract(int start, int end) method removes all elements
X_start, X_start_1, ..., X_end-1
from the list. It also returns all removed elements as a new list (LinkedList) that retains the same ordering.
For example, if the initial list called animals was
cat, dog, eel, cow, owl, pig, pip
then animals.extract(1,5) would return the new list
dog, eel, cow, owl
and animals would now be the list
cat, pig, pip
The AlinkedList class also has a sort() method that currently does nothing. Complete this method so that it sorts the current linked list (alphabetically).
For example, if there was a list called kids that consisted of
puppy, kitten, cub, leveret, kit, cygnet
then after calling kids.sort(), the list would now be
cub, cygnet, kit, kitten, leveret, puppy
This is the code:
public abstract class ALinkedList{
public Node head;
public Node tail;
public int size;
/** removes and returns the sublist
* [x_start, x_start+1, ..., x_end-1] from the current list
*
* @param start is the starting position of the list to remove.
* You can assume that 0 <= start <= length of list -1.
* @param end is position after the last element to be removed.
* You can assume that start <= end <= length of list.
*/
public abstract ALinkedList extract(int start, int end);
/** Sorts this list
<p>
This method sorts this list lexicographically (alphabetically).
Use the built-in compareTo() in the String class to compare individual
strings in the list.
<p>
You are NOT allowed to use any sort method provided in java.util.Arrays
or java.util.Collections.
*/
public void sort(){}
/* -----------------------------------------
provided code
----------------------------------------- */
/** returns the size of the list
*
* @return the size of the list
*/
public final int size(){ return size; }
public final String get(int position){
// returns data of element at index position
// returns null otherwise
if( position < 0 || position > size -1 || head == null){
return null;
}
int count = 0;
Node current = head;
while(count < position){
current = current.getNext();
count += 1;
}
return current.get();
}
/** add a string to the back of the list
*
* @param s is a string to add to the back of the list
* @return the current list
*/
public final ALinkedList add(String s){
if( size == 0 ){
head = tail = new Node(s, null);
}else{
Node tmp = new Node(s, null);
tail.setNext(tmp);
tail = tmp;
}
size += 1;
return this;
}
public final ALinkedList add(int position, String d){
// add a new node with data d at given position
// return null if method fails
if( position < 0 || position > size){
return null;
}
if( position == 0){
return addFront(d);
}else if( position == size ){
return add(d);
}
// find node at index position-1
Node prev = head;
int count = 0;
while( count < position-1 ){
count += 1;
prev = prev.getNext();
} // prev will point to node before
Node n = new Node(d, prev.getNext() );
prev.setNext(n);
size += 1;
return this;
}
/* remove from the back */
public final String remove(){
if( tail == null || size == 0 ){ return null; }
String s = tail.get();
if( size == 1){
head = tail = null;
}else{
Node tmp = head;
for(int i=0; i<size-2; i+=1){
tmp = tmp.getNext();
} // at end of loop tmp.getNext() == tail is true
tail = tmp;
tail.setNext(null);
}
size -= 1;
return s;
}
/* remove first string in list */
public final String removeFront(){
if(head == null || size == 0){return null;}
String s = head.get();
if(size == 1){
head = tail = null;
}else{
Node tmp = head;
head = tmp.getNext();
tmp.setNext(null);
}
size -= 1;
return s;
}
/* add string to front of list */
public final ALinkedList addFront(String s){
if(size == 0){
head = tail = new Node(s, null);
}else{
head = new Node(s, head);
}
size += 1;
return this;
}
/* string representation of list */
@Override
public final String toString(){
String s = "[";
Node tmp = head;
for(int i=0; i<size-1; i++){
s += tmp.get() + ", ";
tmp = tmp.getNext();
}
if(size > 0){
s += tmp.get();
}
s += "]";
return s;
}
}
In: Computer Science
List THREE communication techniques with children.
2. Name FOUR habits to explore during health interview.
3. List FOUR clinical manifestations of failure to thrive.
4. List FOUR guidelines for assessing toilet training readiness.
5. What are the warning signs of Abuse. Name FOUR warning signs.
6. Name THREE characteristics of attention deficit hyperactivity disorder.
7. List FOUR recommended behaviors for preventing obesity.
8. Name TWO guidelines for assessing coping behaviors and give TWO examples of each coping behavior.
9. List TWO clinical manifestations of hearing impairment in Infants and TWO in Children.
10. Name FOUR bill of rights for children and teens in the hospital.
In: Nursing
{PYTHON }You have a CSV file containing the
location and population of various cities around the world. For
this question you'll be given a list of cities and return the total
population across all those cities.
Write a function named "total_population" that takes a string then
a list as parameters where the string represents the name of a CSV
file containing city data in the format
"CountryCode,CityName,Region,Population,Latitude,Longitude" and the
second parameter is a list where each element is itself a list
containing 3 strings as elements representing the CountryCode,
CityName, and Region in this order. Return the total population of
all cities in the list. Note that the city must match the country,
name, and region to ensure that the correct city is being read.
In: Computer Science
List THREE communication techniques with children.
2. Name FOUR habits to explore during health interview.
3. List FOUR clinical manifestations of failure to thrive.
4. List FOUR guidelines for assessing toilet training readiness.
5. What are the warning signs of Abuse. Name FOUR warning signs.
6. Name THREE characteristics of attention deficit hyperactivity disorder.
7. List FOUR recommended behaviors for preventing obesity.
8. Name TWO guidelines for assessing coping behaviors and give TWO examples of each coping behavior.
9. List TWO clinical manifestations of hearing impairment in Infants and TWO in Children.
10. Name FOUR bill of rights for children and teens in the hospital.
In: Nursing
Nursing
In: Nursing