Two cannons are mounted as shown in the drawing and rigged to fire simultaneously. They are used in a circus act in which two clowns serve as human cannonballs. The clowns are fired toward each other and collide at a height of 1.05 m above the muzzles of the cannons. Clown A is launched at θA = 76.0° angle, with a speed v0A = 9.50 m /s. The horizontal separation between the clowns as they leave the cannons is d = 5.55 m. Find the launch speed v0B and the launch angle θB (>45.0°) for clown B. magnitude m/s direction °.
In: Physics
What is the potential of a cell made up of Zn|Zn2+ and Cu|Cu2+ half-cells at 25o C if [Zn2+] = 0.25 M and [Cu2+] = 0.15 M?
(Answer should be E = +1.09 V but I need to know how to get to that)
In: Chemistry
Write a Java Program using the following instruction:
Create the following 3 methods that calculate and display the sum or product of the integers from 1 to the number input.
getNum Receives no input. Prompts the user to enter a number, use a loop to validate. Returns the result.
calcSum Receives an integer as input. Calculates the sum of the integers from 1 to this number. Returns the result.
calcProd Receives an integer as input. Calculates the product of the integers from 1 to this number. Returns the result.
Main should: Prompt for a character that determines if you want to calculate the sum (‘S’ or ‘s’) or product (‘P’ or ‘p’). You should use a switch to process the choices. Upper and lower case values should work the same way. Use default to give an error message if anything else is entered. (You can input as String or char)
if a valid option is entered, use getNum to prompt for the number
Note that calcSum and calcProduct RETURN the result to main, and the output is printed in main. For example, if you input 5 as the number, and ‘S’, the program should calculate 1 + 2 + 3 + 4 + 5 and display the sum as 15. If you input 5 and ‘P’ the program should calculate 1 x 2 x 3 x 4 x 5 and display the product as 120. . The process should repeat as long as the user wants to continue. This loop should be in main. DO NOT use System.exit command to end the program. . See sample output below.
Enter S for sum, P for prod:z
Invalid choice Again(y/n)? y
Enter S for sum, P for prod:s
Enter an integer greater than 1: 1
Must be greater than 1, re-enter: -3
Must be greater than 1, re-enter: 3
The sum of the numbers from 1 to 3 is 6 Again(y/n)? y
Enter S for sum, P for prod:p
Enter an integer greater than 1: 4
The product of the numbers from 1 to 4 is 24 Again(y/n)? n
In: Computer Science
How would the S/D curves shift if a $3 tax was imposed on suppliers for each unit of caviar and milk sold? With visuals please explain how the economic incidence, DWL, and welfare effects differ between the two goods and why?
How do you determine if the demand and supply or elastic or not?
Can Aishwarya Verma not respond please. I would like to understand from someone else's explanation.
In: Economics
Why should a time-based authentication system invalidate the current password on a successful authentication?
In: Computer Science
Explain the difference between a market penetration strategy and a market development strategy.
In: Economics
QUESTION 4
Discuss the sanctity of life versus the quality of life debate as presented by Peter Singer. Your answer should demonstrate a solid awareness of the information presented in the text. Be as clear and specific as you can.
In: Biology
0.560 g He, 20.482 g F2, and 13.960 g Ar are placed
in a 18.4-L container at 25 oC. What are the molar
concentrations and partial pressures of the gases?
(All values to the nearest 0.0001)
| gas | Molar concentration | Partial pressure |
|---|---|---|
| He | M | atm |
| F2 | M | atm |
| Ar | M | atm |
What is the total pressure in the container?
P = atm
In: Chemistry
Let X ∼ Pois(4), Y ∼ Pois(12), U ∼ Pois(3) be independent random variables.
a) What is the exact sampling distribution of W = X + Y + U?
b) Use R to simulate the sampling distribution of W and plot your results. Check that the simulated mean and standard error are close to the theoretical mean and standard error.
c) Use the simulated sampling distribution to estimate P(W ≤ 14) and then check your estimate with an exact calculation.
In: Math
which one is more nucleophilic: hydroxide ion (OH) , or ammonia (NH3)? Explain why
In: Chemistry
A sample mixture of ethyl benzoate (bp 212 C) and dodecane (bp 216.2 C) is injected on two GC columns. Column A has DC710 silicone oil as the stationary phase, and column B uses polyethylene glycol as the stationary phase. Which substance would be certain to elute first from column A and would the same material be expected to elute first from column B? Which column, A or B, would be expected to give the better separation of these two substances?
In: Chemistry
|
Consider the markets for fossil fuels (oil, coal, natural gas) and alternative energy sources (solar, wind, geothermal power etc). Due to the current climate change, let's say we desire to have people use less of the fossil fuels (which produce greenhouse gasses that cause global warming) and more of the alternative energy sources. Using the concepts of Supply and Demand, discuss how the government can use policies to shift these curves, and what the results will be on the quantities and prices of the fossil fuels and the alternative fuels.
|
In: Economics
Which notion from below best explains people's decision-making process from an economic perspective?
People's behavior reflects rational self-interest
Costs are more important than benefits
Land is a scarce resource while labor is not
Scarcity is more important than choice
The government Yelpia decides to build more four-year universities. Consequently, the resources used for the program become unavailable for improvements in the high school system. This problem demonstrates the concept of:
Unintended consequences.
Industry-specific unemployment.
Opportunity cost.
Production expenses.
Economics studies remarkably complex problems of real life by constructing models. Those models are made by using:
Tradeoffs
Simplifications
Predictions
Value judgments
Angela notes that "a study shows that there is a high level of student debt in the US." Greg agrees and adds that "government should make the college free."
Both Angela's and Greg's statements are normative
Both Angela's and Greg's statements are positive
Angela's statement is positive while Greg's statement is normative
Angela's statement is normative while Greg's statement is positive
Assume a direct relationship is graphed. What is true?
Such relationships rarely exist in economics
Slope calculation gives a positive number
As one variable increases the other declines in value.
The line is down-sloping.
In: Economics
1)The histone proteins of nucelosomes are often abnormally modified in cancer cells, leading to _____. a. an alteration in chromatin structure b. an alteration in levels of transcription c. double-stranded breaks in DNA d. All of the above e. Both a and b
2)
A DNA strand contains the sequence TCGGATGCACCT. A mutation happened that results in the sequence TCCGGATGCACCT. What type of mutation does this change represent?
|
a point mutation |
||
|
a missense mutation |
||
|
frameshift mutation |
||
|
a silent mutation |
3)
Chromosomal rearrangements might position a gene near heterochromatin. The gene's transcription
|
may be inverted. |
||
|
may be amplified. |
||
|
may cease. |
||
|
will turn on. |
In: Biology
The files provided contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly.
3.
public abstract class DebugBoat
{
String boatType = new String();
int passengers
String power = new String();
public FebugBoat(String bt)
{
boatType = bt;
}
public boolean equals(otherBoat)
{
boolean result;
if((passengers == otherBoat.passengers) && (power.equals(otherBoat.power)))
result = true;
else
result = true;
return result
}
public String toString()
{
return("This " + boatType + "boat carries " + passengers +
" and is powered by + power);
}
public abstract void setPower();
public abstract void setPassengers();
}
// Two boats should be equal
// if they hold the same number of passengers
// and also have the same power source
public class DebugEleven3
{
public static void Main(String args[])
{
DebugRowboat redBoat = new DebugRowboat();
DebugRowboat blueBoat = new DebugRowboat();
System.out.print("The two boats are");
if(redBoat = blueBoat)
System.out.println(" equal");
else
(" not equal");
}
}
public class DebugRowboat extends DebugBoat
{
public DebugRowboat()
{
super("row");
setPower();
}
public void setPassengers()
{
super.passengers = 2;
}
public void setpower()
{
super.power = "oars";
}
}
4.
public abstract class DebugBoat
{
String boatType = new String();
int passengers
String power = new String();
public FebugBoat(String bt)
{
boatType = bt;
}
public boolean equals(otherBoat)
{
boolean result;
if((passengers == otherBoat.passengers) && (power.equals(otherBoat.power)))
result = true;
else
result = true;
return result
}
public String toString()
{
return("This " + boatType + "boat carries " + passengers +
" and is powered by + power);
}
public abstract void setPower();
public abstract void setPassengers();
}
// Creates and displays an array of boats -
// some are rowboats; some are ocean liners
import java.util.*;
public class DebugEleven4
{
static Scanner input = new Scanner(System.in);
static DebugBoat[] boatArray = new DebugBoat[5];
public static void main(String[] args)
{
buildArray;
displayArray;
}
public static void buildArray()
{
char boatType;
for(x = 0; x < boatArray.length; ++x)
{
boatType = getBoat();
if(boatType =='r')
boatArray[x] = DebugRowboat();
else
boatArray[x] = new DebugOceanLiner();
}
}
public static char getBoat()
{
String boatType;
System.out.println("Enter r for rowboat; o for ocean liner ");
boatType = input.next();
return boatType.charAt(0);
}
public static void displayArray()
{
for(int x = 0; x < boatArray.length)
System.out.println("Boat #" + (x + 1) + " " +
boatArray[x].toString());
}
}
public class DebugOceanLiner extends DebugBoat
{
public DebugOceanLiner()
{
super("ocean liner ");
setPassengers();
}
public void setPassengers()
{
super.passengers = 2400;
}
public void setPower()
{
superpower = "four engines";
}
}
public class DebugRowboat extends DebugBoat
{
public DebugRowboat()
{
super("row");
setPower();
}
public void setPassengers()
{
super.passengers = 2;
}
public void setpower()
{
super.power = "oars";
}
}
In: Computer Science