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 2934 points

tygolfs94

Favorite Answers24%
Answers101
  • Expected Value gamma distribution?

    If x follows a gamma distribution with parameters lambda and r, find the expected value of the mathematical function g(x) = 4x^2 - 4xr/lambda

    I know the answer is 4r/(lambda^2)

    1 AnswerMathematics6 years ago
  • How would I go about adding in the user input?

    My C++ code compiles, but I realized after I finished that I need to make the user choose what row and column to get the row total, column total, highest in a row, and lowest in a row.

    What do I change to add that into this code?

    #include <iostream>

    #include <string>

    #define ROWS 4

    #define COLS 5

    using namespace std;

    int getTotal(int[][COLS], int, int);

    float getAverage(int[][COLS], int, int);

    int getRowTotal(int[][COLS], int, int);

    int getColumnTotal(int[][COLS], int, int);

    int getHighestInRow(int[][COLS], int, int);

    int getLowestInRow(int[][COLS], int, int);

    int main()

    {

    int testArray[][COLS] =

    {

    { 1, 2, 3, 4, 5 },

    { 6, 7, 8, 9, 10 },

    { 11, 12, 13, 14, 15 },

    { 16, 17, 18, 19, 20 }

    };

    cout << "The total of the array elements is "

    << getTotal(testArray, ROWS, COLS)

    << endl;

    cout << "The average value of an element is "

    << getAverage(testArray, ROWS, COLS)

    << endl;

    cout << "The total of row 0 is "

    << getRowTotal(testArray, 0, COLS)

    << endl;

    cout << "The total of col 2 is "

    << getColumnTotal(testArray, 2, ROWS)

    << endl;

    cout << "The highest value in row 2 is "

    << getHighestInRow(testArray, 2, COLS)

    << endl;

    cout << "The lowest value in row 2 is "

    << getLowestInRow(testArray, 2, COLS)

    << endl;

    return 0;

    }

    int getTotal(int array[][COLS], int rows, int cols)

    {

    int sum = 0;

    for(int i = 0; i < rows; i++)

    {

    for(int j = 0; j < cols; j++)

    {

    sum = sum + array[i][j];

    }

    }

    return sum;

    }

    float getAverage(int array[][C

  • Write down but don't solve the integrals?

    Suppose that E is the region in space bounded below by the cone z = sort(x^2+y^2) and above the sphere (x^2+y^2+z^2)=4. Write (but DON'T evaluate) (triple integral)x^2 dV in both spherical and cylindrical coordinates.

    I know x=psin(phi)cos(theta)

    and 0<p<2

    But what are my bounds for Phi and Theta?

    1 AnswerMathematics7 years ago
  • Need help choosing starters this week?

    At QB

    Drew Brees vs. NY Giants

    Peyton Manning vs. Oakland

    WR

    Andre Johnson vs. Patriots

    Hakeem Nicks vs. Saints

    TE

    Witten vs. Bengals

    Aaron Hernandez vs. Hou

    I need to pick one from each position. Who should I play?

    4 AnswersFantasy Sports8 years ago
  • finding f in this calculus problem?

    f''(x) = x−2, x > 0, f(1) = 0, f(3) = 0

    Whats f?

    I know it starts with - ln(x), but I'm stuck after that.

    I know to take the integral twice, but my answers aren't correct

    1 AnswerMathematics9 years ago
  • Start Brees or Manning in week 10?

    Should I start Drew Brees or Peyton Manning this week?

    I would usually go Brees, but the last two weeks have been unimpressive from him (only 2 TDs the last two weeks, following weeks of 3, 3, 4, 4), and Manning has been going off (3 TDs each of his last 5 games)

    Side Question:

    Colston, Decker, Gore, McGahee... which two out of those 4 do I start?

    Thanks!

    4 AnswersFantasy Sports9 years ago
  • Which team comes out better in this trade?

    Team 1 gives Trent Richardson

    Team 2 gives Fred Jackson, Steve Johnson (BUF), and Willis McGahee

    5 AnswersFantasy Sports9 years ago
  • Should I bench Andre Johnson for any of the WRs?

    I have Marques Colston, Brian Hartline, and Eric Decker on the bench.

    I can also put in Reggie Bush as my RB/WR

    3 AnswersFantasy Sports9 years ago
  • Who wins this fantasy trade?

    Team 1 gives Marques Colston, Joe Flacco

    Team 2 gives Julio Jones, Tony Romo

    2 AnswersFantasy Sports9 years ago
  • Who would win this trade in fantasy?

    Lesean McCoy for Reggie Wayne & Desean Jackson

    Team 1 is fairly deep on RB, needs WR (has Andre Brown, Reggie Bush, Fred Jackson, Benson)

    Team 2 needs RB, deep on WR (has Andre Johnson, Malcolm Floyd, Vincent Jackson, Steve Smith)

    2 AnswersFantasy Sports9 years ago
  • Week two flex options help?

    At RB I have Arian Foster and Adrian Peterson, who are starting. I Also have Frank Gore and Reggie Bush on the bench.

    At WR, I have Andre Johnson ans Brandon Marshall starting with Reggie Wayne and Hakeem Nicks on the bench.

    Who should I use for me two RB/WR options?

    2 AnswersFantasy Sports9 years ago
  • Help with my week one flex?

    Hakeem Nicks, Marques Colston, Michael Turner, Vincent Jackson, and Eric Decker.

    Which two do I start?

    6 AnswersFantasy Sports9 years ago
  • Would you do this in Fantasy?

    Someone just dropped Trent Richardson and I am 1st on the waiver order.

    I just selected to drop L. Blount (Tampa Bay RB) to pick up Richardson.

    It almost seemed too good to be true, so am I missing something?

    2 AnswersFantasy Sports9 years ago
  • Need some week 1 advice at WR?

    So at WR this year, I have a lot of risks in terms of injuries, and I don't feel so great about the first week.

    I have Brandon Marshall, Andre Johnson, Hakeem Nicks, Marques Colston, Vincent Jackson, and Eric Decker.

    I need to choose 2 WR to start, and I'll probably use another WR at my flex.

    Which three would you choose?

    3 AnswersFantasy Sports9 years ago
  • How risky was my fantasy draft?

    I drafted yesterday, and I feel like I took a lot of chances, but the reward can be great.

    I drafted Arian Foster, Adrian Peterson, Andre Johnson, and Hakeem Nicks, all of whom are superstars but have been injured. I do have Ben Tate on the bench as insurance for Foster, who I am worried the least about.

    I feel like if at least 3 out of these 4 stay healthy, nobody will be able to touch me. How big of a risk do you think I took?

    3 AnswersFantasy Sports9 years ago
  • How much of a factor should money be in my college decision?

    Okay so I have to make my college decision by May 1st and I'm really stuck...

    I'm stuck between Texas A&M University and the University of Houston.

    I'm responsible for paying half of my college, and any scholarships I get go towards my half.

    UofH offered me $32,000 in scholarships, and if I go there I'll come out of college debt free.

    A&M offered me $4,000 and if I go there I'll come out with like $30,000 in debt.

    I honestly wasn't even considering UofH until I got the offer. I'm going for Engineering, and UofH is ranked 78th in the Nation and A&M is ranked like 10th or 12th. I was planning on going to A&M and rooming with one of my best friends. I like the campus better, the sports are better there, and I feel like I would just be happier there.

    So my question is, how much of a factor should money be? My parents seem to be pushing me towards UofH because of the money (even though it doesn't affect how much they are paying), and my stepmom said she thinks if I go to A&M I'd be making the wrong decision.

    This is really stressing me out, and I'd appreciate any help.

    Thanks in advance

  • This hasn't happened to my sink before?

    So I was disposing of leftover food today when the water started backing up. I turned the water off, then tried the disposal again and it just turned off. I reset it, tried manually moving the blade, but the water is still standing. Now the disposal turns on, and sounds fine, but the water is still backed up.

    What can I do?

    5 AnswersMaintenance & Repairs9 years ago
  • What would you do if you were me?

    Okay, so I'm currently a high school senior, and I am trying to make all of my plans for next year. I have gotten into all of the schools I applied to, and it's down to 2 schools right now.

    One school is the one I've wanted to go to for years now. It has one of the top engineering programs in the nation (I'm majoring in mechanical engineering), great traditions, I love the campus, and it's competitive in just about every division I sport (I'm a big football fan).

    The other school has a decent engineering program that is improving every year. It's sports are decent, at best. The campus is not that great, and it's like 30 minutes away from my parents, which is not exactly a good thing. I honestly wouldn't even be considering it, but they are offering a scholarship that will cover about two years of my education.

    The first school asked us to send all of my scholarship offers, and in March they are supposed to make a "counter offer" of some sort.

    My parents right now are pushing me to go to the school with the scholarship offer. I have to pay for half of my college, if not a little more, so the scholarship doesn't effect how much they pay at all. It's just me looking at about $30,000 of debt in student loans vs. none. I don't see why they are pushing me there.

    Chances are, the first school will offer me some sort of scholarship, but if they don't what should I do? This scholarship is a lot of money to just say no to, but my heart has been set on the first one for as long as I could remember. Either way, I'm practically guaranteed a job right out of college with good pay.

    Thanks in advance

  • Two quick questions for week three?

    1. Should I start Mark Ingram or Felix Jones?

    2. In a separate league, who wins this trade?

    Team A gives Adrian Peterson

    Team B gives Calvin Johnson, Larry Fitzgerald

    2 AnswersFantasy Sports10 years ago
  • Who gets the better end of this trade?

    Team A is really deep at running back.

    Team B is really deep at wide receiver.

    A Gives Darren McFadden

    B Gives Larry Fitzgerald & Dwayne Bowe

    5 AnswersFantasy Sports10 years ago