Describe Warren’s thought experiment with the space explorer who is captured by alien scientists. What point is Warren trying to make with this thought experiment?
In: Psychology
Suppose the government mandates that employers provide health insurance that costs $t per unit of labor. Employees value the insurance per unit of labor at $v. How does the insurance mandate affect the equilibrium wage and labor if $v=$0? If $0<$v<$t? If $v=$t?
In: Economics
Suppose the government mandates that employers provide health insurance that costs $t per unit of labor. Employees value the insurance per unit of labor at $v. How does the insurance mandate affect the equilibrium wage and labor if $v=$0? If $0<$v<$t? If $v=$t?
In: Economics
Suppose the government mandates that employers provide health insurance that costs $t per unit of labor. Employees value the insurance per unit of labor at $v. How does the insurance mandate affect the equilibrium wage and labor if $v=$0? If $0<$v<$t? If $v=$t?
In: Economics
Use C#
RECURSION - PAPERFOLDS
Concept Summary:
1. Recursion
For this assignment1 you will design a recursive method and the main program that calls the recursive method.
Description
Take a piece of paper and fold it in half. Unfold it and there is one fold, which I'll signify with a "v". If you fold the paper twice (always keeping the folds in the same direction and the creases parallel), it will have three folds when you unfold it, and they will be in a "^ v v" pattern. Fold a piece of paper three times, and you will see "^ ^ v v ^ v v" as the sequence of folds.
Folding a piece of already folded paper sounds a lot like recursion, and indeed it is. In case you can't see the algorithm, here it is:
If you fold a paper once, the fold pattern is "v".
For additional folds, it is the pattern you have only reversed and flipped over, then a
"v" fold, and then the pattern you already have tacked on the end.
Submission Guidelines:
Turn in 1 program file that calls the recursive method from the Main program.
Assignment:
Write a static method, paperFold, which is a recursive routine that returns a string representing the fold pattern for a paper folded n times. The driver program that calls the paperFold () method
Write one or more helper methods to generate a string that takes a fold sequence and returns it reversed and flipped over such that a "v ^ ^ ^" becomes a "v v v ^".
Hint: You could write one to reverse the string and one to flip the string.
As in many recursive solutions, expect the fold method to be extremely simple (and of course recursive).
Skeleton Code
C# Version:
public static void Main (string[] args) { for(int i=1;i<5;i++)
{
string fold_string=paperfold(i);
Console.WriteLine("For "+i+" folds we get: "+fold_string+"\n"); }
}
Sample Output:
For 1 folds we get: v
For 2 folds we get: ^vv
For 3 folds we get: ^^vv^vv
For 4 folds we get: ^^v^^vvv^^vv^vv
In: Computer Science
Questions/Tasks
1. Explain in a paragraph or two the concept of signal detection.
2. What is the independent variable(s) in this experiment? (Sensation and Perception: Signal Detection)
3. What is the dependent variable in this experiment?
(Sensation and Perception: Signal Detection)
4. Define “Hit”, “Miss”, “False Alarm” and “Correct Rejection” in the context of this experiment.
(Sensation and Perception: Signal Detection)
In: Psychology
The two basic facts about the quantifiers you need to understand, and from which all of the logical properties of the quantifiers follow are:
Basic Fact 1: A universal quantifier (x) Fx is equivalent to an infinite conjunction: Fa & Fb & Fc & Fd & ........
where a, b, c, d, are the names of objects in the universe picked out by the 'x' in the universal quantifier '(x)'.
Basic Fact 2: An existential quantifier is equivalent to an infinite disjunction
Fa v Fb v Fc v Fd v ......
Expand in a two-element universe
(a) ~(x) ((Fx v Gy) v Ka)
In: Math
How would you prepare the following solutions? Unless stated otherwise, assume that the solvent is purified water and that you will dissolve the solute in a lesser amount of solvent and then “bring the solution to volume”
CuSO4 FW 159.61
NaCl FW 58.44
CaCl FW 111.0
Na2SO4. 10H2O FW 322.04
1. 100 ml of AgNO3 at 2 g/ml
2. 250 ml of NaCl at 2 mg/ml
3. 0.75 L of CuSO4 at 50mg/ml
4. 250 ml KCl at 20 mg/ml
5. 50 ml of 0.1% (w/v) AgNO3
6. 500 ml of 1%( w/v) NaCl
7. 10 ml of 6% (w/v) CuSO4
8. 200 ml of 2% (w/v) KCl
9. 25ml of 20% (v/v) Methanol
10. 2L of 70% (v/v) Ethanol
11. 10 ml of 0.2% (v/v) DMSO
12. 50 ml of 3% (v/v) Propanol
13. 250 ml 12 mM CuSO4
14. 500 ml 0.25M NaCl
15. 500 ml 25mM CaCl
16. 100 ml 300 mM Na2SO4
17.100 ml of 5:3:2 ethylene: chloroform: isoamyl alcohol
18. Convert 50 ppm to g/L
19. Convert 50 ppm to mg/L
20. Convert 5 ppb to ul/l
21. Convert 3 ppm to l/ml
22. Convert 350 ppm to ml/L
23. 300 ppb Cadmium (solid)
In: Biology
1) Create a table “college” that has as attributes name, city name, state/province/region name, country name, and year in which the college was established as well as an ID as primary key. Insert records for 5 colleges of your choice, including one or more you have attended.
2) Create a table “student” that has as attributes first name, last names, and college ID for students, and insert the names of yourself and friends who attended one or more colleges together with you (if you have only attended one college, the name can be the same for all). Note that the student names can be fictitious but not the college name.
3) Add a foreign key to the appropriate table above, using “on delete cascade” as referentially triggered action, and demonstrate that insertion for a student record with a non-existing college ID fails.
4) Do a query that shows all students together with their respective college information. For colleges, that no students have attended, list all student information as null (i.e. OUTER JOIN).
5) Do a query that lists college names together with the number of students in the database that have attended that college, using the GROUP BY statement.
6) Do a query of catalog information.
7) Do a deletion of a college that was referenced and redo the query from question 4.
In: Computer Science
You’re running an experiment to determine whether students perform better if they are rewarded with candy or vegetables. You sample 5 students from your class and you first reward the students with vegetables when they get right answers in the class. Then you test them and record their scores. Next, with a different 5 students you reward these students with cookies when they get right answers in the class. Then you test them with another test and record their scores. The following table depicts grades for the two conditions:
| Candy | Vegetables |
| 3.5 | 2.5 |
| 3 | 2.5 |
| 3.75 | 3 |
| 4 | 2.75 |
| 4 | 3 |
The standard deviation for the candy group is 0.25, and the mean is 3.75. The standard deviation for vegetable group is 0.25, and the mean is 2.75.
a. Identify the name of the test you will be employing.
b. Conduct a formal null hypothesis significance test
In: Statistics and Probability