Questions
Write a program in C++ to implement Binary Search Algorithm. Assume the data given in an...

Write a program in C++ to implement Binary Search Algorithm. Assume the data given in an array. Use number of data N at least more than 10. The function Binary Search should return the index of the search key V.

In: Computer Science

Submit a short paper (3-5 pages, essay form, double-spaced): What were the issues in the Monsanto...

Submit a short paper (3-5 pages, essay form, double-spaced): What were the issues in the Monsanto Company v. Spray-Rite Service Corporation case? What was the significance of the Court's ruling in this case on channel practices?

In: Operations Management

Explain the historical circumstances and events described in the film that led to the “lost boys”...

Explain the historical circumstances and events described in the film that led to the “lost boys” of Sudan being displaced/forced to leave Sudan and forced to live in UN refugee camps for the duration of their childhood years.

https://www.youtube.com/watch?v=t3YdAcMENbk

In: Psychology

Let B be a basis of Rn, and suppose that Mv=λv for every v∈B. a) Show...

Let B be a basis of Rn, and suppose that Mv=λv for every v∈B.

a) Show that every vector in Rn is an eigenvector for M.

b) Hence show that M is a diagonal matrix with respect to any other basis C for Rn.

In: Advanced Math

Investigate the difference between "phase velocity" and "group velocity." Why does an index of refraction of...

  1. Investigate the difference between "phase velocity" and "group velocity." Why does an index of refraction of less than 1 (so v>c) not violate relativity, which says no information can move faster than the speed of light?

In: Physics

*****Please answer ALL questions***** Question 6 (1 point) A statistics professor wants to examine the number...

*****Please answer ALL questions*****

Question 6 (1 point)

A statistics professor wants to examine the number of hours that seniors and freshmen study for the final. Specifically, the professor wants to test if the average number of hours that seniors study is greater than the average number of hours that freshmen study. If the seniors are considered group 1 and the freshmen are considered group 2, what are the hypotheses for this scenario?

Question 6 options:

1)

HO: μ1 < μ2
HA: μ1 ≥ μ2

2)

HO: μ1 > μ2
HA: μ1 ≤ μ2

3)

HO: μ1 = μ2
HA: μ1 ≠ μ2

4)

HO: μ1 ≥ μ2
HA: μ1 < μ2

5)

HO: μ1 ≤ μ2
HA: μ1 > μ2

Question 7 (1 point)

A pharmaceutical company is testing a new drug to increase memorization ability. It takes a sample of individuals and splits them randomly into two groups: group 1 takes the drug, group 2 takes a placebo. After the drug regimen is completed, all members of the study are given a test for memorization ability with higher scores representing a better ability to memorize. Those 21 participants on the drug had an average test score of 21.85 (SD = 4.22) while those 28 participants not on the drug (taking the placebo) had an average score of 20.94 (SD = 6.504). You use this information to perform a test for two independent samples with hypotheses Null Hypothesis: μ1 = μ2, Alternative Hypothesis: μ1 ≠ μ2. What is the test statistic and p-value? Assume the population standard deviations are equal.

Question 7 options:

1)

Test Statistic: -0.558, P-Value: 0.5795

2)

Test Statistic: 0.558, P-Value: 0.5795

3)

Test Statistic: 0.558, P-Value: 0.7103

4)

Test Statistic: 0.558, P-Value: 0.2898

5)

Test Statistic: 0.558, P-Value: 1.7103

Question 8 (1 point)

You are interested in whether the average lifetime of Duracell AAA batteries is greater than the average lifetime of Energizer AAA batteries. You lay out your hypotheses as follows: Null Hypothesis: μ1 ≤ μ2, Alternative Hypothesis: μ1 > μ2. After running a two independent samples t-test, you see a p-value of 0.6598. What is the appropriate conclusion?

Question 8 options:

1)

We did not find enough evidence to say the average lifetime of Duracell AAA batteries is less than the average lifetime of Energizer AAA batteries.

2)

We did not find enough evidence to say the average lifetime of Duracell AAA batteries is greater than the average lifetime of Energizer AAA batteries.

3)

We did not find enough evidence to say a significant difference exists between the average lifetime of Duracell AAA batteries and the average lifetime of Energizer AAA batteries.

4)

The average lifetime of Duracell AAA batteries is significantly greater than the average lifetime of Energizer AAA batteries.

5)

The average lifetime of Duracell AAA batteries is less than or equal to the average lifetime of Energizer AAA batteries.

Question 9 (1 point)

It is believed that students who begin studying for final exams a week before the test score differently than students who wait until the night before. Suppose you want to test the hypothesis that students who study one week before score less than students who study the night before. A hypothesis test for two independent samples is run based on your data and a p-value is calculated to be 0.0362. What is the appropriate conclusion?

Question 9 options:

1)

The average score of students who study one week before a test is significantly different from the average score of students who wait to study until the night before a test.

2)

The average score of students who study one week before a test is greater than or equal to the average score of students who wait to study until the night before a test.

3)

The average score of students who study one week before a test is significantly greater than the average score of students who wait to study until the night before a test.

4)

We did not find enough evidence to say the average score of students who study one week before a test is less than the average score of students who wait to study until the night before a test.

5)

The average score of students who study one week before a test is significantly less than the average score of students who wait to study until the night before a test.

Question 10 (1 point)

A medical researcher wants to examine the relationship of the blood pressure of patients before and after a procedure. She takes a sample of people and measures their blood pressure before undergoing the procedure. Afterwards, she takes the same sample of people and measures their blood pressure again. If the researcher wants to test if the blood pressure measurements after the procedure are less than the blood pressure measurements before the procedure, what will the null and alternative hypotheses be? Treat the differences as (blood pressure after - blood pressure before).

Question 10 options:

1)

HO: μD ≤ 0
HA: μD > 0

2)

HO: μD < 0
HA: μD ≥ 0

3)

HO: μD ≥ 0
HA: μD < 0

4)

HO: μD > 0
HA: μD ≤ 0

5)

HO: μD = 0
HA: μD ≠ 0

In: Statistics and Probability

CASE - I Ford Pinto : In the class, we learned the reasons behind disastrous engineering...

CASE - I

Ford Pinto : In the class, we learned the reasons behind disastrous engineering failures, Ford Pinto case is one of the disastrous in the list.

Analyze the ford pinto case, search the case on the websites and answer the following.

Answer the following questions in detail.

Questions:

1. a) List down engineering failure and causes?
    b) List down ethical issues?


2. What are the precaution has been taken place after the incidents?

CASE-II


Lucy is a young teacher at a popular school with an incredibly busy and stressful schedule, who needs to organize what little free time she has more efficiently. Because of the hectic schedule she has downloaded a new Mobile app called 'daily-scheduler' onto her iPhone; this mobile app merges information from Lucy’s to-do-list, information on her purchasing habits from retail stores she shops at, and GPS software to produce the most efficient map and directions for running ‘daily-scheduler’ on her days off. Based on what it knows about what she needs to purchase and her general shopping habits, it tells Lucy what locations of her favorite stores to visit on a given day, in what order and by what routes – this way she can get her ‘daily-scheduler’ done in the least amount of time, traveling the least number of miles. To accomplish this, the mobile app aggregates information not only about where she lives and shops, but also tracks what she typically buys in each store, how much she buys, what she typically pays for each item. This collected data is not stored on Lucy’s phone, but on a separate server that the app links to when it needs to create a shopping map. The mobile app encourages users to log in social media channel via Facebook, as the developers have made a deal with Facebook to sell this data to third-party advertisers, for the purpose of targeting Facebook ads to Lucy and her friends.

Answer the following questions in detail.


Questions:
1. In what ways could Lucy potentially be harmed by this mobile app, depending on how it is designed and how her shopping data is handled and used? Identify a few harmful scenarios you can think of, and the types of harm she could suffer in each.

2. Which if any of these harms could result from ethical failings on the part of the people who developed 'daily-scheduler'? How, specifically?

3. What actions could the people behind 'daily-scheduler' take to prevent these harms ? Are they ethically obligated to prevent them? Why or why not? Explain your answer.

PLEASE NOTE:

* All the students MUST write the answers with their own. Do not copy
websites.
*

In: Electrical Engineering

Speed of a Softball Solution(Mastering Physics Chapter 03: Motion in Two Dimensions)

A softball is hit over a third baseman’s head with speed v0 and at an angle θ from the horizontal. Immediately after the ball is hit, the third baseman turns around and runs straight back at a constant velocity V = 7.000 m/s, for a time t = 2.000 s. He then catches the ball at the same height at which it left the bat. The third baseman was initially L = 18.00 m from the location where the ball was hit at home plate.

a. Find v0. Use g = 9.807 m/s2 for the magnitude of the acceleration due to gravity.

b. Find the angle θ in degrees.

c. Find a vector expression for the velocity v of the softball 0.1 s before the ball is caught.

d. Find a vector expression for the position r of the softball 0.1 s before the ball is caught.

In: Physics

A rail gun uses electromagnetic forces to accelerate a projectile to very high velocities.

A rail gun uses electromagnetic forces to accelerate a projectile to very high velocities. The basic mechanism of acceleration is relatively simple and can be illustrated in the following example. A metal rod of mass 50.0 g and electrical resistance 0.300 \Omega rests on parallel horizontal rails that have negligible electric resistance. The rails are a distance L = 7.00 cm apart. The rails are also connected to a voltage source providing a voltage of V = 5.00 V.


The rod is placed in a vertical magnetic field. The rod begins to slide when the field reaches the value B = 0.210 T. Assume that the rod has a slightly flattened bottom so that it slides instead of rolling. Use 9.80 m/s^2 for the magnitude of the acceleration due to gravity.

Find mu_s, the coefficient of static friction between the rod and the rails.

In: Physics

A fluid has velocity components of u=(8t2)m/s and v=(8y+3x)m/s, where x and y are in meters...

A fluid has velocity components of u=(8t2)m/s and v=(8y+3x)m/s, where x and y are in meters and t is in seconds.

Part A

Determine the magnitude of the velocity of a particle passing through point (1 m, 1 m) when t = 2 s.

V=

Part B

Determine the direction of the velocity of a particle passing through point (1 m, 1 m) when t = 2 s.

θv=

Part C

Determine the magnitude of the acceleration of a particle passing through point (1 m, 1 m) when t = 2 s.

a=

Part D

Determine the direction of the acceleration of a particle passing through point (1 m, 1 m) when t = 2 s.

θa=

In: Advanced Math