Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be 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.

Lv 31,346 points

?

Favorite Answers20%
Answers280
  • can I get std from sucking a penis for 20 seconds?

    Okay. I was a little curious and sucked on one for not too long before deciding that it tasted weird. There was no ejaculation involve. Is there a chance of getting any STDs?

    1 AnswerSTDs9 years ago
  • ap physics question about oscillations?

    Two circus clowns (each having a mass of 50kg) swing on two flying trapezes (negligible mass, length 25m) as shown in the figure. at the peak of the swing, one grabs the other, and the two swing back to one platform. the time for the forward and return motion is .

    one guy on the left holding an angled string on a platform reading to swing and the the same thing for the guy on the right.

    2 AnswersPhysics1 decade ago
  • atwood machine with angular momentum?

    Two blocks, m1 = 1 kg and m2 = 2 kg, are connected by a light string as shown in the figure. If the radius of the pulley is 1 m and its moment of inertia is 5 kg∙m2, the acceleration of the system is?

    Which approach am I supposed to use to solve this? Forces, conservation of energy or conservation of angular momentum

    2 AnswersPhysics1 decade ago
  • I need help with my code. JAVA. Everything works except for just one thing. ?

    I need to manage up to 30 accounts using an Array only. I need to keep track of key information and let each customer make deposits and withdrawals.

    import java.util.*;

    public class LLBank {

    public static void main(String[] args)

    {

    Scanner scan = new Scanner (System.in);

    Account account[] = new Account[30];

    int option = 0;

    boolean done = false;

    System.out.println("Welcome to L&L Bank");

    System.out.println("How many I be of service today?");

    do

    {

    System.out.println("\n1) Make a withdraw");

    System.out.println("2) Make a deposit");

    System.out.println("3) Exit\n");

    option = scan.nextInt();

    for (int i = 0; i < account.length; i++)

    {

    while (option == 1)

    {

    System.out.println("\nWhat is your name?");

    String name = scan.nextLine();

    name = scan.nextLine();

    System.out.println("\nWhat is your account number?");

    int acct = scan.nextInt();

    System.out.println("\nHow much is in your account?");

    double initial = scan.nextDouble();

    account[i] = new Account(name, acct, initial);

    System.out.println("\nHow much would you else to withdraw?");

    double amt = scan.nextDouble();

    account[i].withdraw(amt);

    account[i].addInterest();

    System.out.println("\nNew Balance: " + account[i]);

    option = 0;

    }

    while (option == 2)

    {

    System.out.println("\nWhat is your name?");

    String name = scan.nextLine();

    name = scan.nextLine();

    System.out.println("\nWhat is your account number?");

    int acct = scan.nextInt();

    System.out.println("\nHow much is in your account?");

    double initial = scan.nextDouble();

    account[i] = new Account(name, acct, initial);

    System.out.println("\nHow much would you like to deposit?");

    double deposit = scan.nextDouble();

    account[i].deposit(deposit);

    account[i].addInterest();

    System.out.println("\nNew Balance: " + account[i]);

    option = 0;

    }

    while (option ==3)

    {

    done = true;

    option = 0;

    }

    }

    }

    while (done != true);

    System.out.println();

    for (int i = 0; i < account.length; i++)

    {

    System.out.println(account[i]);

    }

    }

    }

    Like the thing is if I enter more than one account, it overwrites the first one.

    2 AnswersProgramming & Design1 decade ago
  • help with java - reading a text file then inputing into an array?

    import java.util.*;

    import java.io.*;

    import java.math.*;

    public class Statistics {

    public static void main(String[] args) throws IOException

    {

    int count = 0, num;

    long sum = 0;

    double average = 0, square = 0;

    Scanner fileScan = new Scanner (new File("numbers.txt"));

    while (fileScan.hasNext())

    {

    num = fileScan.nextInt();

    count++;

    }

    int values[] = new int[count--];

    for (int i = 0; i < values.length; i++)

    {

    while (fileScan.hasNext())

    {

    num = fileScan.nextInt();

    values[i] = num;

    }

    sum += values[i];

    }

    This doesn't work. I have no idea how I'm supposed to assign the values from the text into the array. I'm supposed to find average after, which I can do if I know how to assign the values into the array .

    3 AnswersProgramming & Design1 decade ago
  • Differentiable Piecewise?

    Given the following piecewise function, find the value of b that makes the function differentiable.

    f(x) = ax^2 + 10, x >= 2

    x^2 - 6x + b , x < 2

    So what I did was set the two functions equal to each other, plugged in 2 and got b = 4a + 30.

    then I took the derivative of both functions and set them equal to each other, plugged in 2 and got a = -1/2

    then I substituted a in and found b = 28. Is this right?

    Cause i have this assignment where each answer can only be used once. I already used 28 and that one i'm sure is 28

    2 AnswersMathematics1 decade ago
  • need help refreshing my memory - calculus. i already did the work just need clarification please?

    The acceleration of an object is given by a(t) = 6sint with initial velocity of -9.5. Find the distance the object travels on the interval [0, pi] to the nearest integer.

    So first I integrated a(t) then plugged in -9.5 to solve for C for the v(t) function. Then I integrated from 0 to pi to find the position but i keep getting 11. I don't know if this is the correct answer or not because each answer can only be used once and the other problem I'm 100% sure it's 11. Is this problem like a tricky one where you gotta do something first?

    Also what is meant when it says find the smallest positive integer in the domain of f(x) = sin^2x / sqrt (x^2 - 28x - 29) ? Am I supposed to take the limit as x approaches 0 or infinite?

    1 AnswerMathematics1 decade ago
  • differentiable piecewise?

    Let f(x) = {ax^2 + 1/3, x >= 1

    {bx - 10/3, x<1

    If the function is differentiable, find sum of a+b.

    I know it is differentiable, but I don't get it when they mean a+b. I tried setting those two functions equal to each other, but then I end up with a-b.

    2 AnswersHomework Help1 decade ago
  • JAVA - I have a question about making a list without using arrays.?

    My teacher wants me to change my TaskDriver so that it prompts user to input the tasks, priority, and complexity, but she wants us to use a do-while? and no arrays. If I do a do-while, the object just replaces itself each time, I need it so that a list shows up of all the tasks entered, but I dont get it.

    -------------------Complexity Interface--------------------------------------

    public interface Complexity

    {

    public void setComplexity (int complexity);

    public int getComplexity();

    }

    -------------------Public Interface--------------------------------------

    public interface Priority

    {

    public void setPriority (int priority);

    public int getPriority();

    }

    ------------------------------Task method----------------------------------

    public class Task implements Priority, Complexity

    {

    private String myTask;

    private int myPriority, myComplexity;

    public Task (String chore)

    {

    myTask = chore;

    }

    public void setPriority (int level)

    {

    myPriority = level;

    }

    public int getPriority()

    {

    return myPriority;

    }

    public void setComplexity (int level)

    {

    myComplexity = level;

    }

    public int getComplexity()

    {

    return myComplexity;

    }

    public String getTask()

    {

    return myTask;

    }

    public String toString()

    {

    return ("Task:" + getTask() + "\tPriority: " + getPriority() + "\tComplexity: " + getComplexity());

    }

    }

    --------------------------------Main DriverTester Class-----------------------------

    import java.util.*;

    public class TaskDriver

    {

    public static void main(String[] args)

    {

    Scanner scan = new Scanner (System.in);

    String chore1, str;

    int pri1 = 0, com1 = 0;

    do

    {

    System.out.println("Enter task: ");

    chore1 = scan.nextLine();

    System.out.println("Enter the priority: ");

    pri1 = scan.nextInt();

    System.out.println("Enter the complexity: ");

    com1 = scan.nextInt();

    Task task1 = new Task (chore1);

    task1.setPriority(pri1);

    task1.setComplexity(com1);

    System.out.println(task1);

    System.out.println("Enter another task? (y/n)");

    str = scan.nextLine();

    str = scan.nextLine();

    }

    while (str.equalsIgnoreCase("y"));

    }

    }

    3 AnswersProgramming & Design1 decade ago
  • how do I replace words in Java?

    when I try to replace these words, they don't work.

    the vowels work though.

    public class ShorthandMethod {

    private static String str;

    public static String shorthand(String str)

    {

    str = replaceWord(str);

    str = deleteVowels(str);

    return str;

    }

    private static String deleteVowels(String str)

    {

    str = str.replace("a", "");

    str = str.replace("e", "");

    str = str.replace("i", "");

    str = str.replace("o", "");

    str = str.replace("u", "");

    return str;

    }

    private static String replaceWord(String str)

    {

    String replacement = (str.replace("for", "4"));

    replacement = (str.replace("and", "&"));

    replacement = (str.replace("to", "2"));

    replacement = (str.replace("you", "u"));

    return replacement;

    }

    }

    1 AnswerProgramming & Design1 decade ago
  • do while coding? never learned it?

    hi. ive never learned do while so my codes pretty weird

    the assignment requires a do while but i cant find it in the book

    {code}import java.util.*;

    public class Palindrome {

    public static void main(String[] args)

    {

    String str, another = "y";

    int left, right;

    Scanner scan = new Scanner (System.in);

    System.out.println("Welcome to the Palindrome Program!");

    do

    {

    System.out.println("Enter a string: ");

    str = scan.nextLine();

    left = 0;

    right = str.length() - 1;

    while (str.charAt(left) == str.charAt(right) && left < right)

    {

    left++;

    right--;

    }

    System.out.println();

    if (left < right)

    System.out.println("No, the string you entered is NOT a palindrome.");

    else

    System.out.println("Yes, the string you entered is a palindrome.");

    }

    while (another.equalsIgnoreCase("y"));

    }

    }

    {code}

    it's supposed to stop when the user enters Q or q but I don't get how to do it. Also how do I make it so if the user enters a single character, it makes it not a palindrome.

    3 AnswersProgramming & Design1 decade ago
  • absolutely stumped on computer science hmwk?

    Assignment:

    1. Write a program that repeatedly accepts a line of input and produces the shorthand form of that line.

    2. The shorthand form of a string is defined as follows:

    a. replace these four words: "and" with "&", "to" with "2", "you" with "U", and "for" with "4".

    b. remove all vowels ('a', 'e', 'i', 'o', 'u', whether lowercase or uppercase)

    3. Your program should keep prompting the user for strings and printing out the shorthand version until the user enters "Q" or "q" (which will signal termination of the program).

    Instructions:

    1. Use these sample phrases as inputs for your run outputs:

    You can pretend to be serious; you can't pretend to be witty

    for For to you YOU and TO and

    Humuhumunukunukuapua'a - Hawaiian state fish

    2 + 2 = 4

    This is FOR YOU TO try AND convert.

    I made two classes, one that contained the methods and one main one, but I have no idea how to get rid of vowels, I sorta have an idea of how to replace the words, but I don't know how to put it all together.

    1 AnswerProgramming & Design1 decade ago
  • calculus help please?

    two spheres are cut from a certain uniform rock. one has radius 4.5 cm. mass of the second sphere is five times greater. find the radius of the second sphere.

    4 AnswersHomework Help1 decade ago
  • help with acid base indicators?

    A solution of .020 M acetic acid is to be titrated with a 0.025 M NaOH solution. What is the pH at the equivalence point? Choose an appropriate indicator for the titration.

    1 AnswerChemistry1 decade ago
  • math final review packet questions please help?

    89. sin2x+cos2x=sec2x; period is -90 to 90

    95. Two cars leave the same town at the same time. One heads east at 30mph, and the other in a direction of N30W at 40mph. How far apart are the cars in 1 hour.

    114. Find the angle between vector U and V. (vector u = (-3,5) vector v= (3,-6).

    I basically got all 119 questions down cept these three. Maybe I'm overlooking something help please

    1 AnswerHomework Help1 decade ago
  • help with vectors please?

    Point A divides XY into two segment with lengths in the ration 3:5. Let vector v= XA. Express each vector in terms of v. a) AY b) XY

    i don't get the ratio part ?

    1 AnswerHomework Help1 decade ago
  • need help with chemistry homework, not taught by the teacher?

    write the chemical equations for the stepwise ionization of oxalic acid (COOH)2, a diprotic acid

    4 AnswersChemistry1 decade ago
  • whats a good spanish telenova to watch?

    I need to watch one for at least one hour a week for ap spanish. please tell me the show name and the channel and days it plays on thanks

    3 AnswersSoap Operas1 decade ago
  • where can I watch Cómplices al rescate?

    i need to watch some telenovas for ap spanish. any suggestions anyone?

    1 AnswerSoap Operas1 decade ago
  • find the equation of the line perpendicular to the line 4x-y=8 and with y-intercept of -3.?

    uhhh. the answer is -4x+y=-3 and i dont get why cause when its perpendicular isnt it negative reciprocal for the slope?

    2 AnswersHomework Help1 decade ago