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.

Lv 2667 points

Zach

Favorite Answers5%
Answers167
  • Basic Algebra. Solve for x.?

    please show steps and name rules

    8z-sqrt(7xz^2) = 3z/2

    2 AnswersMathematics10 years ago
  • Basic calculus question help?

    Given the following function: f(x) = sqrt(3)sin(x)+cos(x) on the interval [0, 2pi].

    a. Determine the open interval(s) where f(x) is increasing.

    b. Determine the open interval(s) where f(x) is decreasing.

    c. Determine the relative maximum(s) or minimum(s).

    side note: I understand the general ideas behind this but the trigonometric functions are throwing me off.

    1 AnswerMathematics1 decade ago
  • find the second derivative of y = -4x^3 sin(4x)?

    please show steps after first derivative is taken.

    4 AnswersMathematics1 decade ago
  • if 2x <= g(x) <= x^4 - x^2 + 2, for all x evaluate lim g(x) as x approaches 1.?

    I need to see the steps because I don't even know where to start. Any help will be appreciated.

    2 AnswersMathematics1 decade ago
  • Need a little help reviewing algebra for my Calculus 1 class.?

    I already know the answer, just having a little trouble with the explanation:

    ( ( y / x ) - ( x / y ) ) / ( ( 1 / y ) - (1 / x ) )

    any help is much appreciated!

    2 AnswersMathematics1 decade ago
  • Programming a password generator in python 3?

    Here's my code so far:

    #!/usr/bin/env python3.1

    # import modules

    import random

    import sys

    # lists

    x1 = [23456789]

    x2 = ['a''b''c''d''e''f''g''h''i''j''k''m''n''o''p''q''r''s''t''u''v''w''x''y''z']

    x3 = ['A''B''C''D''E''F''G''H''I''J''K''L''M''N''P''Q''R''S''T''U''V''W''X''Y''Z']

    Allcharacters = (x1, x2, x3)

    try:

    Howlong = int(input())

    except:

    Howlong = 12

    print("Your new password: ")

    for i in range(Howlong):

    sys.stdout.write(random.choice(str(Allcharacters)))

    ******************************************************************************************************************

    Now the problem is that when I run the program, the password prints with the " " and [ ] as well as the letters and numbers. How do I get ONLY the numbers and letters to be included in the password.

    2 AnswersProgramming & Design1 decade ago
  • Why doesn't this work?

    Completely new to programming. Why does this section of python3 code not work?

    #!/usr/bin/env python3.1

    print("Would you like to play a little game of chance?")

    input("Y/n: ")

    if Y:

    print("Alright then!)

    else:

    print("Well you're no fun.")

    2 AnswersProgramming & Design1 decade ago
  • Python programming problems.?

    I've been learning python the last couple of days (no prior programming experience). I'm trying to write what I thought would have been a very simple Y/n response question but it is proving to be quite troublesome. This is what my code looks like:

    #!/usr/bin/env python3.1

    print("Would you like to play a little game of chance?")

    choice = input("Y or n: ")

    Y = 1

    if choice == 1:

    print("Alright then!)

    else:

    print("Well you're no fun.")

    -------------------------------------------------------------------------------------------------

    When I run it, this happens:

    Zach@Zachs'sPC:~/py3eg$ python game.py

    Would you like to play a little game of chance?

    Y or n: Y

    Zach@Zach'sPC:~/py3eg$

    ----------------------------------------------------------------------------------------------------------------

    It just terminates. I've looked up some sample code for Y/n questions and everything I've found appears to be a bit complicated for what SEEMS like such a simple program. I'm sure there are multiple reasons but why is my code not working???

    1 AnswerProgramming & Design1 decade ago
  • Redirection problems?

    I'm working out of a book (Programming in Python 3). I've just written one of the example programs (sum2.py) and it works fine but I'm having some problems with one aspect. Let me quote from the book then I'll tell you what I've done and what the results were. (p.s. I'm working in Ubuntu)

    "Given the command line sum2.py<data\sum2.dat (where the sum2.dat file contains a list of numbers one per line and is in the examples' data subdirectory), the output to the console is..."

    OK. I created a folder called "data" and a text file called "sum2.dat" but when I type "sum2.py<data\sum2.dat" in the the terminal, I get the result "bash: datasum2.dat: No such file or directory" What the heck?

    2 AnswersProgramming & Design1 decade ago
  • Just started programming.?

    I just started learning python yesterday. I was messing around in IDLE with some comparison operators and this happened:

    >>> str(10) > str(5)

    False

    >>> str(10) < str(5)

    True

    Could someone explain this result?

    1 AnswerProgramming & Design1 decade ago
  • Would I make a good math major?

    Was not a good math student in high school. Scored about a 550 on math portion of SAT.

    However, when I got to college I actually began to study. Got an A in Algebra II w/ Analytic Geom. Pretty much aced my trigonometry class (like 98 avg, but admittedly he was an easy prof). And I also scored very high in the symbolic logic class i took my freshman year (probably 97 percent) without studying very much (it just came naturally) and the prof for that class said these skills were useful in upper level math. As of now I am a pre-med chemistry major but to be honest I think I am beginning to find math more interesting!

    3 AnswersMathematics1 decade ago
  • Calculate the mass of 1.00 x 10^24 molecules of water.?

    i need to know how to set up the conversion!!!

    1 AnswerChemistry1 decade ago
  • Educated responses only please.?

    Evolution works because individuals who posses traits good for survival are more likely to pass on their genes. I have been thinking about viruses lately and it seems to me that some of them generally operate in a manner that is contrary to that. Take for example the Ebola virus. It works at an alarmingly fast pace to kill its host. Doesn't it seem that natural selection might favor a virus that could actually help it's host? I realize that there is not really a shortage of hosts or anything, but their MO just kind of seems counter productive from an evolutionary standpoint. I'm not a biologist (obv) and I'm sure my thinking here is just too oversimplified but can anyone set me straight? Also, are there any viruses known to have ANY positive effects for their hosts?

    2 AnswersBiology1 decade ago
  • 4x^-2 y^3 / (2x^-1 y)^2?

    I got 2y but the answer index in my textbook says y. It could be a mistake as I have found one obvious one in the book before. However, this is driving me crazy! If you get the answer "y" please explain!!! If most of you get "2y" and no one gets "y" I will be more inclined to believe it is another mistake in the book.

    4 AnswersMathematics1 decade ago
  • Can I legally obtain concentrated sulfuric acid (95% - 98%) for home experiments?

    If so, where would I get it from. If not, how would you go about obtaining it illegally?

    4 AnswersChemistry1 decade ago