Practice with value of single time events.
In: Economics
A 3000 bp circular DNA was treated with both HindIII and EcoRI restriction enzymes. EcoRI cuts at position 100. HindIII cuts at positions 500 and 2000. Which of the following represents the fragment that would be observed if the restricted DNA were analyzed using agarose gel electrophoresis?
A. 400, 100, 1000, 1500
B. 400, 500, 1500
C. 400, 100, 1600
D. 500, 100, 500, 900
E. 500, 1000, 600
In: Biology
Think of a time when you were involved in strategic decision making. This could be a business situation or a personal situation. It could be anything from purchasing inputs for a manufacturing firm to trying to divide up household chores. Strategy is huge in sports – Should we punt or go for it on 4th?
When I purchased my car. I looked for the type and color of the car first in the city and online. I looked for a certain price range and distance. I then contacted my credit union to see exactly how much I qualified for and then I began the more serious process by test driving cars here in the city and speaking with salesman over the phone from online cites out of the city. Of course let me not forget I also looked for the cars with miles under 50,000.
Discuss questions
1.Discuss your dominant strategy for the situation.
2.What was the other person’s dominant strategy?
3.Was the outcome a Nash equilibrium? Why or why not?
Please answer each part of the questions and use game theory terminology. Make sure that you have an adversarial situation with at least two parties.
Have fun with this! These are useful tools to understand for your everyday life!
Game Theory Help!
For questions 1-3, you will need to determine whether or not each firm has a dominant strategy in order to know if the game is a Prisoners’ Dilemma.
A dominant strategy is one in which the agent (the firm, in this case) would have no incentive to change its strategy regardless of what the other agent does. I like to do this...
1. Pretend that Lowe’s chooses first. Write down Lowe's best response to each of Home Depot's choices. That is, what should Lowe’s do if Home Depot picks “cooperate” and what should Lowe’s do if Home Depot picks “don’t cooperate”.
2. Do the same for Home Depot choosing its strategy first. Write down Lowe's best response.
3. If you get that the firm always chooses “cooperate” for example, then “cooperate” is the dominant strategy. If the firm always chooses “don’t cooperate”, then “don’t cooperate” is its dominant strategy. If you get one of each chosen, there is no dominant strategy for that firm.
Questions 4-7 are very similar, but you will need to determine the Nash and strategically stable outcome (if there is one)
1. Pretend that the Saint Petersburg Times chooses first. Write down Tampa's best response to each of SPT's choices. That is, what should Tampa do if SPT picks low price and what should Tampa do if SPT picks high.
2. Do the same for Tampa choosing its price first. Write down SPT's best response.
3. If you get that the firm always chooses Low, for example, then Low is the dominant strategy. If the firm always chooses High, then High is its dominant strategy. If you get one of each chosen, there is no dominant strategy for that firm.
4. To get the Nash Equilibrium, for each firm, ask yourself, "What is the worst case scenario for this firm." Then, pick the opposite strategy. Put a little dot in that square (the opposite of the worst case scenario). Do the same for the other firm. If there is a Nash, it will be the square with 2 dots.
5. Finally, the Nash equilibrium is the only strategically stable outcome. Both firms are doing the best that they can, so there is no incentive for them to deviate from that strategy.
In: Economics
A 79-year-old man is admitted to a long-term care facility after a stroke that has left him paralyzed on one side and unable to talk. A daughter visiting from out of town approaches the gerontological nurse and expresses concern about how to communicate with her father.
A. use word boards and picture charts.
B. face her father; speak loudly and clearly.
C. explain procedures in detail.
D. face her father with adequate light on her face.
A. ask simple questions that can be answered with “yes” or “no.”
B. develop a list of simple words that the client can read and practice reciting.
C. have the client practice facial and tongue exercises to improve motor control necessary for speech.
D. prevent embarrassing the client by changing the subject if he or she does not respond in a timely manner.
Chapter 24
An 80-year-old Caucasian white client recently lost her husband of 58 years to cancer. Although he was a chronic alcoholic, he provided for his family and did everything for his wife. While visiting with the client in a long-term care facility, she laments about “the loss of her husband and losing additional friends all the time.” She sighs and questions whether her life has any meaning.
A. ignore the client’s comment, assuming that “she is just a little depressed today.”
B. suggest that the client develop some new interests.
C. ask the client to describe her past experiences.
D. refer the client for counseling to avoid worsening her depression.
A. True
B. False
A. The client states that he understands the need for continued treatment.
B. The client states that he intends to decrease his alcohol consumption.
C. The client showered and shaved and attended group session.
D. The client stated, “I am an alcoholic.”
In: Nursing
In: Nursing
I am given:
| Risk-free rate | 6.0000% |
| First Stock Return | 7.0000% |
| Second Stock Return | 10.0000% |
| First Stock Standard Deviation | 15.0000% |
| Second Stock Standard Deviation | 20.0000% |
| Stock Corelation | 30.0000% |
| Target Return | 7.5000% |
I need to find:
| Risky Weight 1 |
| Risky Weight 2 |
| Expected Return |
| Varience |
| Standard Devation |
| Sharpe Ratio |
How do I find Risky weight one and two?
These are the given formulas:
In: Finance
// TASK #2 Add an import statement for the Scanner class
// TASK #2(Alternate)
// Add an import statement for the JOptionPane class
/**
This program demonstrates how numeric types and
operators behave in Java.
*/
public class NumericTypes
{
public static void main (String [] args)
{
// TASK #2 Create a Scanner object here
// (not used for alternate)
// Identifier declarations
final int NUMBER = 2 ; // Number of scores
final int SCORE1 = 100; // First test score
final int SCORE2 = 95; // Second test score
final int BOILING_IN_F = 212; // Boiling temperature
int fToC; // Temperature Celsius
double average; // Arithmetic average
String output; // Line of output
// TASK #2 declare variables used here
// TASK #3 declare variables used here
// TASK #4 declare variables used here
// Find an arithmetic average.
average = (SCORE1 + SCORE2) / NUMBER;
output = SCORE1 + " and " + SCORE2 +
" have an average of " + average;
System.out.println(output);
// Convert Fahrenheit temperature to Celsius.
fToC = 5/9 * (BOILING_IN_F - 32);
output = BOILING_IN_F + " in Fahrenheit is " +
fToC + " in Celsius.";
System.out.println(output);
System.out.println(); // To leave a blank line
// ADD LINES FOR TASK #2 HERE
// Prompt the user for first name
// Read the user's first name
// Prompt the user for last name
// Read the user's last name
// Concatenate the user's first and last names
// Print out the user's full name
System.out.println(); // To leave a blank line
// ADD LINES FOR TASK #3 HERE
// Get the first character from the user's first name
// Print out the user's first initial
// Convert the user's full name to uppercase
// Print out the user's full name in uppercase
System.out.println(); // To leave a blank line
// ADD LINES FOR TASK #4 HERE
// Prompt the user for a diameter of a sphere
// Read the diameter
// Calculate the radius
// Calculate the volume
// Print out the volume
}
}
Task #2a Using the Scanner Class for User Input (4 pts)
⦁ Add an import statement above the class declaration
to make the Scanner class available to your program.
⦁ In the main method, create a Scanner object and
connect it to the System.in object.
⦁ Prompt the user to enter his or her first name.
⦁ Read the name from the keyboard using the nextLine
method and store it into a variable called firstName (you will need
to declare any variables you use).
⦁ Prompt the user to enter his or her last name.
⦁ Read the name from the keyboard and store it in a
variable called lastName.
⦁ Concatenate the firstName and lastName with a space
between them and store the result in a variable called
fullName.
⦁ Print out the fullName.
⦁ Compile, debug, and run, using your name as test
data.
⦁ Since we are adding on to the same program, each time
we run the program we will get the output from the previous tasks
before the output of the current task.
Task #2b (alternate) Using Dialog Boxes for User Input (4
pts)
⦁ Add an import statement above the class declaration
to make the JOptionPane class available to your program.
⦁ In the main method, prompt the user to enter his or
her first name by displaying an input dialog box and storing the
user input in a variable called firstName (you will need to declare
any variables you use).
⦁ Prompt the user to enter his or her last name by
displaying an input dialog box and storing the user input in a
variable called lastName.
⦁ Concatenate the firstName and lastName with a space
between them and store the result in a variable called
fullName.
⦁ Display the fullName using a message dialog
box.
⦁ Compile, debug, and run, using your name as test
data.
⦁ Since we are adding on to the same program, each time
we run the program we will get the output from the previous tasks
before the output of the current task.
Task #3 Working with Strings (4 pts)
⦁ Use the charAt method to get the first character in
firstName and store it in a variable called firstInitial (you will
need to declare any variables that you use).
⦁ Print out the user’s first initial.
⦁ Use the toUpperCase method to change the fullName to
uppercase and store it back into the fullName variable.
⦁ Add a line that prints out the value of fullName and
how many characters (including the space) are in the string stored
in fullName (use the length method to obtain that
information).
⦁ Compile, debug, and run. The new output added on
after the output from the previous tasks should have your initials
and your full name in uppercase.
Task #4 Using Predefined Math Functions (4 pts)
⦁ Add a line that prompts the user to enter the
diameter of a sphere.
⦁ Read in and store the number into a variable called
diameter (you will need to declare any variables that you
use).
⦁ The diameter is twice as long as the radius, so
calculate and store the radius in an appropriately named
variable.
⦁ The formula for the volume of a sphere is:
r3
Convert the formula to Java code and add a line which calculates
and stores the value of volume in an appropriately named variable.
Use Math.PI for and Math.pow to cube the radius.
⦁ Print your results to the screen with an appropriate
message.
⦁ Compile, debug, and run using the following test data
and record the results.
Diameter Volume (hand calculated) Volume
(resulting output)
2
25.4
875,000
Task #5 Create a program from scratch (4 pts)
In this task you will create a new program that calculates gas
mileage in miles per gallon. You will use string expressions,
assignment statements, input and output statements to communicate
with the user.
⦁ Create a new file in your IDE or text
editor.
⦁ Create the shell for your first program by
entering:
public class Mileage
{
public static void main(String[] args)
{
// Add your declaration and code
here.
}
}
⦁ Save the file as Mileage.java.
⦁ Translate the algorithm below into Java code. Don’t
forget to declare variables before they are used. Each variable
must be one word only (no spaces).
Print a line indicating this program will calculate mileage
Print prompt to user asking for miles driven
Read in miles driven
Print prompt to user asking for gallons used
Read in gallons used
Calculate miles per gallon by dividing miles driven by gallons
used
Print miles per gallon along with appropriate labels
⦁ Compile the program and debug, repeating until it
compiles successfully.
⦁ Run the program and test it using the following sets
of data and record the results:
Miles driven Gallons used Miles per
gallon (hand calculated) Miles per gallon
(resulting output)
2000 100
500 25.5
241.5 10
100 0
⦁ The last set of data caused the computer to divide
100 by 0, which resulted in what is called a runtime error. Notice
that runtime can occur on programs which compile and run on many
other sets of data. This emphasizes the need to thoroughly test you
program with all possible kinds of data.
Task #6 Documenting a Java Program (2 pts)
⦁ Compare the code listings of NumericTypes.java with
Mileage.java. You will see that NumericTypes.java has lines which
have information about what the program is doing. These lines are
called comments and are designated by the // at the beginning of
the line. Any comment that starts with /** and ends with */ is
considered a documentation comment. These are typically written
just before a class header, giving a brief description of the
class. They are also used for documenting methods in the same
way.
⦁ Write a documentation comment at the top of the
program which indicates the purpose of the program, your name, and
today’s date.
⦁ Add comment lines after each variable declaration,
indicating what each variable represents.
⦁ Add comment lines for each section of the program,
indicating what is done in that section.
⦁ Finally add a comment line indicating the purpose of
the calculation.
In: Computer Science
Which samples do you think are non-biased samples of the population of all students at a college/four‐year university? If it is a biased sample, is there a different population for which you believe the sample could be considered a non-biased sample?
In: Statistics and Probability
Equity Transactions - Record the following transaction
1. Lawry purchased 1,000 shares of $5 par value common stock for $10 per share.
2. Lawry sold 100 per shares of its treasury stock at $12 per share.
3. Lawry sold 100 per shares of its treasury stock at $9 per share.
4. Lawry sold 100 per shares of its treasury stock at $14 per share.
5. Lawry sold 100 per shares of its treasury stock at $8 per share.
6. Lawry sold 100 per shares of its treasury stock at $10 per share.
In: Accounting
In the following table, the profits from a duopoly model of competition are shown. Firms 1 and 2 simultaneously choose the quantity of outputs to produce. Each firm is restricted to producing 25, 35, 50 or 100 units of output. Is there a Nash equilibrium? What is it? Briefly explain.
Firm 2
|
Q2 = 25 |
35 |
50 |
100 |
||
|
Q1 = 25 |
125, 125 |
100, 140 |
63, 125 |
-63, -250 |
|
|
Firm 1 |
35 |
140, 100 |
105, 105 |
53, 75 |
-123, -350 |
|
50 |
125, 63 |
75, 53 |
0, 0 |
-250, -500 |
|
|
100 |
-250, -63 |
-350, -130 |
-500,-250 |
-900, -900 |
In: Economics