Questions
A spherical raindrop falling through mist builds up mass. The mass accumlates at a rate proportional...

A spherical raindrop falling through mist builds up mass. The mass accumlates at a rate proportional to its cross-sectional area and invers;ey proportional to its velocity, that is, dm/dt=k?r2/v, where r is the radius of the raindrop at a given time and v is the downard speed at the same time.Assuming the density P of the rain drop is a constant. Ignoring the resistance do to the fog and the air, calculate the instaneous acceleration of the raindrop as a function of v,r,P,g and k.

In: Physics

Consider the following problem     Maximize Z=2x1 + 5x2 subject to                4x1+ 2x2 ≤ 6...

Consider the following problem

    Maximize Z=2x1 + 5x2

subject to

               4x1+ 2x2 ≤ 6

                x1 + x2 ≥ 2

                xi ≥0 for i=1,2

  1. Inserting slack, excess, or artificial variables, construct the initial simplex tableau.
  2. Identify the corresponding initial (artificial) basic feasible solution including the objective function value.
  3. Identify the entering basic variable and the leaving basic variable for the next iteration.

In: Operations Management

Software testing occurs near the end of the programming process. Because of this, if a project...

Software testing occurs near the end of the programming process. Because of this, if a project falls behind schedule, testing time is often reduced. Discuss the possible impacts of less-than-thorough testing. Topics might include company reputation, customer dissatisfaction, the company’s ability to sell new or updated products, etc. Discuss which is worse: releasing a product late or releasing it on time without fully testing it. "please answer based on arguments"

In: Computer Science

Explain charging by contact. How is the charge of the charging object related to the charge...

Explain charging by contact. How is the charge of the charging object related to the charge of the thing being charged once the charging is complete?

In: Physics

Explain at least 3 theories of motivation.

Explain at least 3 theories of motivation.

In: Operations Management

List and describe the 8 leadership styles

List and describe the 8 leadership styles

In: Operations Management

Under certain circumstances, an organization may choose to have their Windows 2016 server become a RADIUS...

Under certain circumstances, an organization may choose to have their Windows 2016 server become a RADIUS server. What are the major functions NPS provides for RADIUS clients, and what effect does it have on the overall security of remote access?

Your post should be 250-500 words.

In: Computer Science

The following code must be written using matlab Create a contour plot of the following function...

The following code must be written using matlab

Create a contour plot of the following function f(x,y) = (x+y^2-10)^2 +(x^2+y^2+8) in range [-6,6] for both x and y

Clearly indicate in the plot the coordinates of the minimum ponts and the the corresponding function values in these points

In: Computer Science

Could you please explain thin film interference and the equations for it I just don't get...

Could you please explain thin film interference and the equations for it I just don't get it. Thank You

In: Physics

Input Quantity Real GDP 300.00 $400 225.00 300 150.00 200 a. What is the level of...

Input Quantity Real GDP
300.00 $400
225.00 300
150.00 200

a. What is the level of productivity in this economy?

b. What is the per-unit cost of production if the price of each input unit is $4?

c. Assume that the input price increases from $4 to $5 with no accompanying change in productivity. What is the new per-unit cost of production?

c2. In what direction would the $1 increase in input price push the economy's aggregate supply curve? (right or left)

c3. What effect would this shift of aggregate supply have on the price level and the level of real output?

d. What would be the new per-unit cost of production?

d2. In what direction would this change in per-unit production cost push the economy's aggregate supply curve? (right or left)

d3. What effect would this shift of aggregate supply have on the price level and the level of real output?

In: Economics

hpw do a put the program to halt, placing a limit greater than 1 on the...

hpw do a put the program to halt, placing a limit greater than 1 on the eating state for each philosopher in the program below?







#include <pthread.h>
#include <semaphore.h>
#include <stdio.h>
#include <unistd.h>


#define N 5
#define THINKING 2
#define HUNGRY 1
#define EATING 0
#define LEFT (phnum + 4) % N
#define RIGHT (phnum + 1) % N
#define deprecated

int state[N];
int phil[N] = { 0, 1, 2, 3, 4 };

sem_t mutex;
sem_t S[N];

void test(int phnum)
{
if (state[phnum] == HUNGRY
&& state[LEFT] != EATING
&& state[RIGHT] != EATING) {
// state that eating
state[phnum] = EATING;

sleep(2);

printf("Philosopher %d takes fork %d and %d\n",
phnum + 1, LEFT + 1, phnum + 1);

printf("Philosopher %d is Eating\n", phnum + 1);

// sem_post(&S[phnum]) has no effect
// during takefork
// used to wake up hungry philosophers
// during putfork
sem_post(&S[phnum]);
}
}

// take up chopsticks
void take_fork(int phnum)
{

sem_wait(&mutex);

// state that hungry
state[phnum] = HUNGRY;

printf("Philosopher %d is Hungry\n", phnum + 1);

// eat if neighbours are not eating
test(phnum);

sem_post(&mutex);

// if unable to eat wait to be signalled
sem_wait(&S[phnum]);

sleep(1);
}

// put down chopsticks
void put_fork(int phnum)

{

sem_wait(&mutex);

// state that thinking

state[phnum] = THINKING;

printf("Philosopher %d putting fork %d and %d down\n",

phnum + 1, LEFT + 1, phnum + 1);

printf("Philosopher %d is thinking\n", phnum + 1);

if(phnum==N-1){ // this is the last philosopher for which we reverse the order of checking it will first check right then left

test(RIGHT);

test(LEFT);

}

else{ // this is for the remaining philosopher for which the order of checking will be first check left then right

test(LEFT);

test(RIGHT);

}

sem_post(&mutex);

}

void* philospher(void* num)
{

while (1) {

int* i = num;

sleep(1);

take_fork(*i);

sleep(0);

put_fork(*i);
}
}

int main()
{

int i;
pthread_t thread_id[N];

// initialize the semaphores
sem_init(&mutex, 0, 1);

for (i = 0; i < N; i++)

sem_init(&S[i], 0, 0);

for (i = 0; i < N; i++) {

// create philosopher processes
pthread_create(&thread_id[i], NULL,
philospher, &phil[i]);

printf("Philosopher %d is thinking\n", i + 1);
}

for (i = 0; i < N; i++)

pthread_join(thread_id[i], NULL);
}

In: Computer Science

1. Some students are more interested in the advertising component of marketing. Identify the factors that...

1. Some students are more interested in the advertising component of marketing. Identify the factors that make a television commercial memorable.  Identify five commercials.  We often remember commercials that we don’t like as well as the ones that we do like.  Who is the target market for each ad?  Identify why the ad was memorable. What advertising appeal was used?

2. Evaluate and compare the super bowl ads for the last two years (2018 & 2019). What ads were deemed the best?  Do you agree?  Did you see any differences in the ads from the two years? Did you identify any trends? Identify at least three ads that illustrate this trend.

In: Operations Management

If you needed to store facts about information that you were collecting, you would store these...

If you needed to store facts about information that you were collecting, you would store these facts in the ___.

What is hardware?

What replicates and spreads itself?

In: Operations Management

In previous weeks, we’ve talked a bit about the conceptual difference between the notion of a...

In previous weeks, we’ve talked a bit about the conceptual difference between the notion of a “residual” welfare state and an “institutional” welfare state. Explain what the difference is between these two models of the welfare state. What did the New Deal and its signature legislative achievements (think: the Social Security Act of 1935, the various work relief programs) represent in terms of how America’s approach to social welfare issues and policy was changing?

In: Psychology

What are the strengths of sequence diagrams? In your main post, select an appropriate scenario and...

What are the strengths of sequence diagrams? In your main post, select an appropriate scenario and identify why a sequence diagram can provide appropriate insight to solve the scenario. What are factors that would affect the workflow of the outlined sequence diagram to solve this given scenario? Please be sure to provide specific scenarios to address the strengths of sequence diagrams.

In: Computer Science