Questions
Write a program that displays a frame containing two labels that display your name, one for...

Write a program that displays a frame containing two labels that display your name, one for your first name and one for your last. Experiment with the size of the window to see the labels change their orientation to each other.
USE FIRST NAME: Aya LAST NAME: KAYED.

SEND THE CODE IN THE EXACT FORMAT FOR JAVA ECLIPSE. I WILL COPY AND PASTE THE CODE SO I CAN RUN IT.

In: Computer Science

Question: Give an example of a hypergeometric random variable for which a binomial random variable is...

Question:

Give an example of a hypergeometric random variable for which a binomial random variable is NOT a good approximation. You must describe each of the following:

i. the experiment

ii. a random variable X from the experiment and what X represents

iii. the probability mass function (PMF) of X

iv. a binomial random variable that approximates X and its parameters

v. the PMF of the binomial random variable and why it's a good estimate of the PMF of X

In: Statistics and Probability

Sally, a used-car broker needs to transport her inventory of cars from Irvine and Santa Ana...

Sally, a used-car broker needs to transport her inventory of cars from Irvine and Santa Ana to used-car auctions being held in Anaheim and Huntington Beach. Sally currently uses a trucking company that charges her for each car shipped. The transportation costs from each origin city and destination city are:

Origin

Destination

Cost per Car Shipped

Capacity (# Cars)

Irvine

Costa Mesa

$8

10

Irvine

Santa Ana

$5

10

Santa Ana

Costa Mesa

$9

10

Santa Ana

Huntington Beach

$20

20

Costa Mesa

Anaheim

$6

No limit

Costa Mesa

Huntington Beach

$7

No limit

Huntington Beach

Anaheim

$6

10

Sally has 15 cars in Irvine and 15 cars in Santa Ana. She wants to ship 20 cars to Anaheim and 10 cars to Huntington Beach in the cheapest way possible. She knows that it might make sense to ship some cars through Costa Mesa; there is a parking lot there where cars can be transferred from one truck to the next.

Formulate this problem as a linear program (algebraically define all decision variables, all constraints and the objective function). Do not solve it.

In: Operations Management

Section 20 of the companies act 2016 states that a company incorporated under this act is...

Section 20 of the companies act 2016 states that a company incorporated under this act is a body corporate.

explain using the case of solomon v solomon (1896)

In: Operations Management

Name and describe Objectives in Rate Making State the findings of Paul v. Virginia

Name and describe Objectives in Rate Making

State the findings of Paul v. Virginia

In: Finance

Which study design is best to minimize confounders--cohort or case-control?

Which study design is best to minimize confounders--cohort or case-control?

In: Advanced Math

A study, published in 1993, used U.S. state panel data to investigate the relationship between minimum...

A study, published in 1993, used U.S. state panel data to investigate the relationship between minimum wages and employment of teenagers. The sample period was 1977 to 1989 for all 50 states. The author estimated a model of the following type: ln(Eit )= β0 + β1ln(Mit /Wit ) + D2i + ... + D50i + B2t + ... + B13t + uit, where E is the employment to population ratio of teenagers, M is the nominal minimum wage, and W is average hourly earnings in manufacturing. In addition, other explanatory variables, such as the adult unemployment rate, the teenage population share, and the teenage enrollment rate in school, were included.

(a) Name some of the factors that might be picked up by time and state fixed effects.

(b) The author decided to use eight regional dummy variables instead of the 49 state dummy variables. What is the implicit assumption made by the author? Could you test for its validity? How?

(c) The results, using time and region fixed effects only, were as follows: = -0.182 × ln(Mit /Wit ) + ...; R2= 0.727 (0.036) Interpret the result briefly.

(d) State minimum wages do not exceed federal minimum wages often. As a result, the author decided to choose the federal minimum wage in his specification above. How does this change your interpretation? How is the original equation ln(Eit )= β0 + β1ln(Mit /Wit ) + D2i + ... + D8i + B2t + ... + B13t + uit, affected by this?

In: Economics

In java Modify your finished guessNumber.java program to include a random number generator to generate the...

In java

Modify your finished guessNumber.java program to include a random number generator to generate the guessed number (from 1 to 10). use the Random class to generate a random number between a range of integers. In your program include an if … then statement to check if the number you entered is bigger or smaller than the guessed number, and display a message. Also included is a counter to keep track on how many times the user has guessed, and display it at then end.

Below is the java code that needs to be modified:

/* Week3 in-class exercise
Name: numberGuess.java
Author: Your Name
Date:

*/

// need the Scanner class to get user input
import java.util.Scanner;

public class numberGuess {

/**
* @param args
*/
public static void main(String[] args) {
// TODO:
//
// a. declare a final int, and assign a value of 6 as the guessed number
           final int guessed_number = 6;

// b. create a Scanner to get user input
           Scanner input = new Scanner(System.in);
// c. use a do {} while loop to prompt the user to enter an integer between 1 and 10,
// assign the user input to an int, and compare to the guessing number
           int userInput = 0;
do{
System.out.println("Please enter an integer between 1 and 10.");
userInput = input.nextInt();
} while (userInput != guessed_number);

// d. if the number matches the guessed number,
// print out a message that the number entered is correct.
   System.out.println("\nNice! You entered the correct number.\n");

// Here is to print your name
System.out.println("Author: Your Name");
}

}

In: Computer Science

The actual 1040 form filled out. Tax Return Problem Lance H. and Wanda B. Dean are...

The actual 1040 form filled out.

Tax Return Problem Lance H. and Wanda B. Dean are married and live at 431 Yucca Drive, Santa Fe, NM 87501. Lance works for the convention bureau of the local Chamber of Commerce, while Wanda is employed part-time as a paralegal for a law firm.

During 2016, the Deans had the following receipts:

Salaries ($60,000 for Lance, $41,000 for Wanda) $101,000
Interest income—
 City of Albuquerque general purpose bonds $1,000
 Ford Motor company bonds 1,100
 Ally Bank certificate of deposit 400 2,500
Child support payments from John Allen 7,200
Annual gifts from parents 26,000
Settlement from Roadrunner Touring Company 90,000
Lottery winnings 600
Federal income tax refund (for tax year 2015) 400

Wanda was previously married to John Allen. When they divorced several years ago, Wanda was awarded custody of their two children, Penny and Kyle. (Note: Wanda has never issued a Form 8332 waiver.) Under the divorce decree, John was obligated to pay alimony and child support—the alimony payments were to terminate if Wanda remarried.

In July, while going to lunch in downtown Santa Fe, Wanda was injured by a tour bus. As the driver was clearly at fault, the owner of the bus, Roadrunner Touring Company, paid her medical expenses (including a one-week stay in a hospital). To avoid a lawsuit, Roadrunner also transferred $90,000 to her in settlement of the personal injuries she sustained.

The Deans had the following expenditures for 2016:

Medical expenses (not covered by insurance) $7,200
Taxes—
 Property taxes on personal residence $3,600
 State of New Mexico income tax (includes amount withheld from wages during 2016) 4,200 7,800
Interest on home mortgage (First National Bank) 6,000
Paid church pledge 3,600
Life insurance premiums (policy on Lance's life) 1,200
Contribution to traditional IRA (on Wanda's behalf) 5,000
Traffic fines 300
Contribution to the reelection campaign fund of the mayor of Santa Fe 500
Funeral expenses for Wayne Boyle 6,300

The life insurance policy was taken out by Lance several years ago and designates Wanda as the beneficiary. As a part-time employee, Wanda is excluded from coverage under her employer's pension plan. Consequently, she provides for her own retirement with a traditional IRA obtained at a local trust company. Because the mayor is a member of the local Chamber of Commerce, Lance felt compelled to make the political contribution.

The Deans' household includes the following, for whom they provide more than half of the support:

Social Security Number Birth Date
Lance Dean (age 42) 123-45-6786 12/16/1974
Wanda Dean (age 40) 123-45-6787 08/08/1976
Penny Allen (age 19) 123-45-6788 10/09/1997
Kyle Allen (age 17) 123-45-6789 05/03/1999
Wayne Boyle (age 75) 123-45-6785 06/15/1941

Penny graduated from high school on May 9, 2016, and is undecided about college. During 2016, she earned $8,500 (placed in a savings account) playing a harp in the lobby of a local hotel. Wayne is Wanda's widower father who died on January 20, 2016. For the past few years, Wayne qualified as a dependent of the Deans.

Federal income tax withheld is $5,200 (Lance) and $3,100 (Wanda). The proper amount of Social Security and Medicare tax was withheld.

Determine the Federal income tax for 2016 for the Deans on a joint return by completing the appropriate forms. They do not want to contribute to the Presidential Election Campaign Fund. All members of the family had health care coverage for all of 2016. If an overpayment results, it is to be refunded to them. Suggested software: H&R BLOCK Tax Software.

In: Accounting

Clinical trials are a key type of health care-related EXPERIMENTAL Research Study. Go to "Inside Clinical...

Clinical trials are a key type of health care-related EXPERIMENTAL Research Study. Go to "Inside Clinical Trials: Testing Medical Products in People" https://www.fda.gov/Drugs/ResourcesForYou/Consumers/ucm143531.htm Then, go to: https://clinicaltrials.gov/ and choose one Clinical Trial. Summarize, in your own words, in complete sentences and paragraphs:

Topic

1.Scope of the Experiment (Trial)

2.Specific type of Experiment

3.Name(s) of those who performed the Experiment

4.Share the results of the Experiment

5.Cite the article in APA format.

In: Psychology