1.
Suppose that
Superman is the favorite hero of
3
5%
of
all DC Comics fans, Batman is the
favorite of 26% of fans, Wonder Woman is the favorite of 19%, Green Lantern is the favorite
of 12%, and the
Flash is the favorite of all the rest of fans
.
a)
If a
DC Comics fan
is selected at random, what is the
probability that
:
i.
T
he Flash is that person’s favorite superhero
?
ii.
T
he person’s favorite superhero is Batman or Wonder Woman?
iii.
T
he person’s
favorite superhero is not Superman
?
b)
If you were to randomly select
five
DC Comics fans
, what is the probability that:
i.
Batman
is the favorite superhero of all five people
?
2
ii.
No
ne of the
five
people
identify Green Lantern as their favorite superhero
?
iii.
All five people identify
Green Lantern
as their favorite superhero
or
all five identify
Wonder Woman
as their favorite
?
iv.
N
ot
all
five
people identify
the Flash
as their favorite superhero
?
v.
Superman is the favorite superhero of
at least
one of the
five
people
?
In: Math
Calculate the freezing point and boiling point in each solution, assuming complete dissociation of the solute.
a)Calculate the freezing point of a solution containing 10.8
g FeCl3 in 172 g water.
b)Calculate the boiling point of a solution above.
c)Calculate the freezing point of a solution containing 4.3 % KCl
by mass (in water).
d)Calculate the boiling point of a solution above.
e)Calculate the freezing point of a solution containing 0.155 m MgF2.
f)Calculate the boiling point of a solution above.
In: Chemistry
In: Economics
What is the basic, fundamental meaning of the Continuity equation? What are some examples and the importance of this rule?
In: Physics
Which of the following are true statements about equilibrium systems?
True/False For the following reaction at equilibrium:
2 H2(g) + O2(g) ⇌ 2 H2O(g)
the equilibrium will shift to the left if the volume is
doubled.
True/False For the following reaction at equilibrium:
H2(g) + F2(g) ⇌ 2HF(g)
removing H2 will decrease the amount of F2
present once equilibrium is reestablished.
True/False For the following reaction at equilibrium:
CaCO3(s) ⇌ CaO(s) + CO2(g)
adding more CaCO3 will shift the equilibrium to the
right.
True/False Increasing the temperature of an exothermic reaction
shifts the equilibrium position to the right.
True/False For the following reaction at equilibrium:
CaCO3(s)⇌ CaO(s) + CO2(g)
increasing the total pressure by adding Ar(g) will shift the
equilibrium to the right.
In: Chemistry
A piece of copper wire is 50ft long and has a dimater of 2.0 mm. Copper has a denisty of 8.92 g/cm3. What is the mass of copper? Express the answer in kg. (1ft = 30.48 cm, 1 cm = 10 mm and Volume is 3.14 x r2x1)
Please explain and help ! :(
In: Chemistry
Union Density Trends in Canada - Chapter 3
Do you think union density in Canada will decline to the level experienced in the United States? Explain your answer.
In: Operations Management
Discuss the main technical issues facing global systems.
In: Computer Science
1. Define a Student class , Student class has the follow data fields added---- major: String gpa: double studentID: String // unique id (Find a solution to manage the generation of unique “studentID”) Methods: double getGPA(); void setGPA(); getMajor(String major) void changeMajor(); 2 String toString(); // of major and GPA ,boolean equals(Object o); // 2 students are equal if them have same // personal information plus same student ID String getNextUniqueID(); // this method should be declared as static.
2. Redesign Student class : (a) Remove “gpa” data field and related methods (b) Add data field: courses:ArrayList (c) Add the following methods: • boolean addCourse(MyCourse course); // add a course to courses list • boolean removeCourse(Course course); // remove a course from the courses list // based on the course information (courseID) in Course object • boolean removeCourse(int courseID); // search and remove a course from the list // based on the unique courseID • ArrayList getCourseList(); • String getCourseGrade(int courseID); // search for a course by courseID from // “courses” list; if not exist, return “no taken”; otherwise, return a grade // by mapping status to “W”(withdraw), “IP” (in progress), or “A” through // “F” (mapping score to these grades) • double getAverageGPA(); // select courses which have taken from “courses”; // map grade “A” through “F” to 4.0 through 0.0; then calculate // average GPA • toString(), equals()
In: Computer Science
In: Psychology
In the following problem, check that it is appropriate to use
the normal approximation to the binomial. Then use the normal
distribution to estimate the requested probabilities.
It is known that 82% of all new products introduced in grocery
stores fail (are taken off the market) within 2 years. If a grocery
store chain introduces 60 new products, find the following
probabilities. (Round your answers to four decimal places.)
(a) within 2 years 47 or more fail
(b) within 2 years 58 or fewer fail
(c) within 2 years 15 or more succeed
(d) within 2 years fewer than 10 succeed
In: Math
Java Logic - the idea is for this Plumbers.java to ask the customer if there house is flooded , how many rooms, if pipes were damaged and if so how many.. then to pas that information into the plumber constructore and the bill for the services. The ComputePrice() isn't displaying the info and the switches aren't taking in the informations in the display().
import java.util.Scanner;
public class Plumber
{
int service;
int numberRooms;
int burstPipes;
int numberPipes;
double roomsCost;
double pipesCost;
private int NumberRooms;
double cFlood1 = 300.00;
double cFlood2 = 500.00;
double cFlood3 = 750.00;
double cPipe1 = 50.00;
double cPipe2 = 70.00;
double cPipe3 =100.00;
double cost = 0;
String BurstPipes ="";
private Plumber(int srv, int numRms, int
bstPipes, int numPipes)
{
service = srv;
numberRooms = numRms;
burstPipes = bstPipes;
numberPipes = numPipes;
}
private Plumber(int service, int numberRooms,
String burstPipes, int numberPipes) {
this.service = service;
this.numberRooms =
numberRooms;
this.BurstPipes = burstPipes;
this.numberPipes =
numberPipes;
}
public void display()
{
String p1 = " no rooms
flooded",
p2 = "1 room flooded",
p3="with 2 rooms flooded",
p4="with 3 or more rooms flooded",
p5="\n no burst pipes apparent\n",
p6="\n and 1 burst pipe apparent\n",
p7="\n and 2 burst pipes apparent\n",
p8="\n and 3 burst pipes apparent\n";
if(service == 1)
{
System.out.println("\nYou have stated that the damage to your house
involves a natural flood.");
switch(NumberRooms)
{
case 0:
System.out.printf("%s",p1);
case 1:
roomsCost += cFlood1;
System.out.printf("%s",p2);
break;
case 2:
roomsCost += cFlood2;
System.out.printf("%s",p3);
break;
case 3:
roomsCost += cFlood3;
System.out.printf("%s",p4);
break;
}
if(BurstPipes.equals("Y") || BurstPipes.equals("y"))
{
switch(burstPipes)
{
case 0:
System.out.printf("%s",p5);
break;
case 1:
pipesCost += cPipe1;
System.out.printf("%s",p6);
break;
case 2:
pipesCost += cPipe2;
System.out.printf("%s",p7);
break;
case 3:
pipesCost += cPipe3;
System.out.printf("%s",p8);
}
}
}
}
public void ComputePrice()
{
if(service
==1)
cost = roomsCost +
pipesCost;
if(!(roomsCost==0))
System.out.printf("\n%s Room Flood Repair =
$%s\n",numberRooms,roomsCost);
if(!(pipesCost==0))
{
System.out.printf("%s Pipe Repair =
$%s\n",numberPipes,pipesCost);
System.out.printf("
------------\n" +
"Estimated Amount
Due: $%s\n\n",cost);
System.out.print("** Please Have This Amount Available -" +
" Fees
Are Due At Time Of Service.\n This Is An Estimate
Only." +
" Final Bill Will
Be Based On Onsite Evaluation." +
"\n
All Work Will Be Discussed And Agreed Upon Prior To Repairs.
**\n\n");
}
else
System.out.printf("If you need services, please come visit us
again.\n\n");
}
public static void main(String[] args)
{
double cFlood1 = 300.00;
double cFlood2 = 500.00;
double cFlood3 = 750.00;
double cPipe1 = 50.00;
double cPipe2 = 70.00;
double cPipe3 =100.00;
double roomsCost;
double pipesCost;
double cost = 0.00;
int service;
int numberRooms;
int numberPipes;
String burstPipes ="";
Scanner userInput = new Scanner(System.in);
System.out.print("\nPlease enter 1 "+ "if there was
flood damage>>");
service = userInput.nextInt();
System.out.print("\n How many rooms were flooded - 1"
+ "2" + "3" + "or more >>");
numberRooms = userInput.nextInt();
burstPipes = userInput.nextLine();
System.out.print("\n Were there any burst pipes?
Please enter Y" + "or" + "N >>");
burstPipes = userInput.nextLine();
System.out.print("\n How many pipes burst? - 1" + "2"
+ "3" + "or more>>");
numberPipes = userInput.nextInt();
Plumber firstCustomer = new Plumber(service,
numberRooms, burstPipes,numberPipes);
firstCustomer.ComputePrice();
firstCustomer.display();
}
}
In: Computer Science
In: Economics
In: Economics
One electrode compartment consists of an aluminum strip placed in a solution of Al(NO3)3, and the other has a nickel strip placed in a solution of NiSO4. The overall cell reaction is
2Al(s)+3Ni2+(aq)?2Al3+(aq)+3Ni(s)
1. What is being reduced?
2. Write the half-reactions that occur in the two electrode compartments.
anode reaction:
cathode reaction:
In: Chemistry