Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
juglugjuglug
If E and F are events for which P(E union F)=1 then P(E' union F')=?
A) 0
B) P(E')+P(F')-P(E')P(F')
C) P(E')+P(F')
D) P(E')+P(F')-1
E) 1
1 AnswerMathematics6 years agoHow do you integrate ((1/5)x-(1/5))/(x^2 + 4)?
How do you integrate ((1/5)x-(1/5))/(x^2 + 4)
4 AnswersMathematics7 years agoHelp with Java Stack. How to fix my mistakes on me methods?
The things I need help with are:
1. What is the correct code to make the isEmpty() and isFull() methods return an answer to tell me if the stack is empty or if the stack is full
2. I need to make my stack I am using be a set size of five(5)(stack can hold 5 ints)
3. I need to add exceptions in to the push() and pop() methods, that does not let the push be used when the stack is full, or the pop be used when the stack is empty
Here is my code so far, If you can help with all or any of these three things thank you
import java.util.ArrayList;
import java.util.List;
public class IntegerStack {
private List<Integer> stack;
public IntegerStack(int SIZE)
{
stack = new ArrayList<Integer>(SIZE);
}
/*method to push the stack*/
public void push(int i)
{
stack.add(0,i);
}
/*method to pop the stack*/
public int pop()
{
if(!stack.isEmpty()){
int i= stack.get(0);
stack.remove(0);
return i;
} else{
return -1;// Or any invalid value
}
}
/*method to peek at the stack*/
public int peek()
{
if(!stack.isEmpty()){
return stack.get(0);
} else{
return -1;// Or any invalid value
}
}
/*determine if the stack is empty*/
public boolean isEmpty()
{
stack.isEmpty();
}
/*determine if the stack is full*/
public boolean isFull()
{
stack.isFull();
}
/*determine the size of the stack*/
public int size()
{
if(stack.isEmpty())
return 0;
else
return stack.size();
}
}
1 AnswerProgramming & Design8 years agoHow do you show that on Zx(Z\{0}) the relation (j,k)II(m,n) if jn=km defines an equivalence relation...?
How do you show that on Zx(Z\{0}) the relation (j,k)II(m,n) if jn=km defines an equivalence relation. Give a geometrical description of the equivalence classes {(j,k)]. Is this still an equivalence relation on ZxZ?
Z is the integers
1 AnswerMathematics8 years agoIs this relation reflexive, symmetric, or transitive? S={(1,1),(1,2)} is a subset of Z X Z?
Is this relation reflexive, symmetric, or transitive?
S={(1,1),(1,2)} C(exists in) Z X Z
Please show or explain why for each
1 AnswerMathematics8 years agoLet A be a nonempty set. What are all relations on A that are both equivalence relations and functions?
Let A be a nonempty set. What are all relations on A that are both equivalence relations and functions
1 AnswerMathematics8 years agoCan normal printers print labels?
I need to print address labels and will continue to need to, but I am wondering if just my normal printer will be able to print them if I load the labels instead of paper?
2 AnswersPrinters8 years agoHow small of a pendant to a necklace will Things Remembered engrave?
I have a necklace I would like to get something engraved on, but the pendant is pretty small, probably about 2mm thick at the most. Will Things Remembered be able to engrave on it for me, or will it be too small. I did not buy it from their store, but I do know they engrave items not bought at their store.
1 AnswerFashion & Accessories9 years agoDo I need to drop a large envelope off at a Post Office or can I drop it off in a mailbox?
I have a large envelope to mail, and it meets all the restrictions and is under 13 ounces. If I have the right amount of postage on it, in stamps, can I drop it in a mail box on one of the local streets, or do I need to find a post office to bring it into? I am shipping through the United States Postal Services(USPS) obviously.
Any other suggestions or helpful hints on mailing large envelopes would be appreciated!
1 AnswerOther - Local Businesses9 years agoHow to pay for shipping on Amazon as a seller?
I have bought envelopes and bubble wrap, but how much will I have to pay for stamps to ship them? or am I better off bring them to the post office and just paying them? I really have no idea how to do it, so anything will help?
1 AnswerCorporations9 years agoDoes PS3 have a way to watch Dish Network through Sling on it?
I have Dish Network and I have a sling adapter, and I was wondering if when I am not at home, but have my PS3 with me if there was anyway I could watch Dish Network on my PS3 through the Sling. Thanks
1 AnswerPlayStation9 years agoLaptop(Windows 7) battery is not charging, but battery and cord is fine?
This happened to me one other time, but I don't know how it got fixed. The computer shows the battery at 46 percent, but it wont charge at all and is really dead, so whenever i unplug it it dies on me. Does anyone know how to fix this or will I have to just hope and get lucky again like last time?
1 AnswerLaptops & Notebooks9 years agoWhat else should i use to cook chicken on the stove, just vegetable oil or sometype of sauce?
I'm going to make some chicken with vegetables on the stove and I want to know if there is a sauce I should try or vegetable oil? What will give the best flavor
5 AnswersCooking & Recipes9 years agoGoogle Chrome-missing plugin--How do you fix this?
Whenever I try to watch a video on Google Chrome it just says missing plugin and it does not show me anyways of how to fix it. So I need your help on what to do to fix it.
2 AnswersGoogle9 years agoHow do you delete/stop a current game in 'words with friends' if it is the other persons turn?
I have too many friends that have not played a word back since I made the first move and I am out of games so I would like to get rid of some of these games if possible and the only way I can tell is to resign but you can't do that unless it is your turn to play. Is there any other way?
1 AnswerVideo & Online Games9 years agoWho is the actress that play Leticia Barris in the tv show Prison Break?
Who is the actress that play Leticia Barris in the tv show Prison Break
1 AnswerDrama9 years agoWhat are good alternatives to Google Adsense? Which sites pay by view?
I'm looking to add some ads to my website and would like to add some that are pay by view. What are the best option?
1 AnswerOther - Advertising & Marketing9 years agoWhat are good alternatives to Google Adsense? Which sites pay by view?
I'm looking to add some ads to my website and would like to add some that are pay by view. What are the best option?
2 AnswersGoogle9 years ago