Questions
You are pumping up a road bicycle tire with a compressor. The inner tube is initially...

You are pumping up a road bicycle tire with a compressor. The inner tube is initially completely deflated, and you inflate it to a final pressure of 120psig and final volume confined by the tire tread and rim (Vtire= 500mL). The compressor supplies air steadily at 24°C and 190 psig. Assume air is an ideal gas, with CP= (7/2)Rand R= 8.314 J/mol·K.Clearly state all assumptions.Final answers should be appropriately rounded.

a.Define an opensystem.

b.Calculate the work of expansion ofthe inner tube(against the atmosphere).Assume negligibletensile force from the inner tube

.c.Starting with ageneral energy balance, calculate the final temperature inside the tire. Assume thatthe time to inflate the tire is much less than the time for heat dissipation through the tire and rim.

d.For this process, it is possible for the final temperature to be less than the compressor supply temperature? Explain briefly.e.After having inflated the tire,you let the bicycle stand outside, where it is heated under the sun. At what temperature will the tire burst?(The tire is designedfor 180 psig).

In: Other

Study the information bellow and answer the following questions Required 1.Calculate the payback period of nick...

Study the information bellow and answer the following questions

Required

1.Calculate the payback period of nick and nak equipment (answer must be expressed in years,months and days)

2.Calculate the accounting Rate of return ( on average investment )of Nak equipment (answers expressed to two decimal places)

3.Calculate the net Present value of Nik equipment.(round off amounts to the nearest rand)

4.Calculate the Internal rate of return of Nak equipment (answer expressed to two decimal places)

Information

Simba limited is investigation the possibility of investing in new equipment , nick or nack.the net cash flows and profit (loses ) for two competing equipment are as follows

nick Nak
year Net Cash flows profit (loses) Net Cash flows profit (loses)
1 440000 240000 288000 88000
2 420000 220000 288000 88000
3 300000 100000 288000 88000
4 180000 -20000 288000 88000
5 100000 -100000 288000 88000

The equipment costs R1000000 for each projets and no scrap value is expected.the requiered rate of return is 12%

In: Accounting

A new processing facility is being designed by an engineering project team. Your boss has asked...

A new processing facility is being designed by an engineering project team. Your boss has asked you to design a catalytic system that requires pumping a hydrocarbon slurry that is corrosive and contains abrasive particles. You have narrowed your selection of pumps to two different models. Each pump will satisfy the needs of the project and they both have the same output capacity. The accompanying table lists the costs and other financial data for the two pumps. Complete an Annual Worth Analysis using a MARR of 9% per year and determine which manufacturer should be selected. Complete all calculations to the nearest dollar.

Manufacturer: Ingersoll Rand Sulzer Bingham
Initial Cost $42,000 $60,000
Electrical Cost $2,750 per year $2,125 per year
Maintenance Cost $1,750 in year one increasing by 3% per year thereafter $750 in year three increasing by $150 per year thereafter
Overhaul Cost None $4,000 in year four
Salvage Value $4,000 $5,500
Useful Life 4 Years 8 Years

In: Economics

Kenya and South Africa are trading partners, and there are capital flows between the two countries....

Kenya and South Africa are trading partners, and there are capital flows between the two countries. The currency in Kenya is the Kenyan shilling (Ksh.) and the currency in South Africa is the South African Rand (R). Assume that the equilibrium exchange rate is 0.14R per Kenya shilling. Now suppose that the opportunity cost of consumption falls in South Africa.  

Referring to the Kenyan foreign exchange market, explain how the equilibrium exchange rate might change.  You are not required to draw the graphs - all you need to do is explain in detail how the exchange rate could change. Remember to include both demand and supply shifts in your explanation, and indicate a possible new exchange rate in this market.

Referring to the South African foreign exchange market, explain how the equilibrium exchange rate might change.  You are not required to draw the graphs - all you need to do is explain in detail how the exchange rate could change. Remember to include both demand and supply shifts in your explanation, and indicate a possible new exchange rate in this market.

In: Economics

In java. I have class ScoreBoard that holds a 2d array of each player's score. COde...

In java. I have class ScoreBoard that holds a 2d array of each player's score. COde Bellow

Example:

Score 1 score 2
Player1 20 21
Player2 15 32
Player3 6 7
Using the method ScoreIterator so that it returns anonymous object of type ScoreIterator , iterate over all the scores, one by one. Use the next() and hasNext()

public interface ScoreIterator {
    int next();
    boolean hasNext();

Class ScoreBoard :

import java.util.*;

public class ScoreBoard {
    int[][] scores ;

    public ScoreBoard (int numOfPlayers, int numOfRounds) {
        scores = new int[numOfPlayers][numOfRounds];
        Random rand = new Random();
        for (int i = 0; i < numOfPlayers; i++) {
            for (int j = 0; j < numOfRounds; j++) {
                scores [i][j] = 50 + rand.nextInt(51);
            }
        }
    }

    public ScoreIterator scoreIterator () {
        // return anonymous object of type ScoreIterator 

        
    }

    public static void main(String[] args) {
        ScoreBoard sb = new ScoreBoard (3, 2);
        ScoreIterator iterator = sb.ScoreIterator ();
        while (iterator.hasNext()) {
            System.out.println(iterator.next());
        }
    }
}
}

In: Computer Science

In java. I have class ScoreBoard that holds a 2d array of each player's score. COde...

In java. I have class ScoreBoard that holds a 2d array of each player's score. COde Bellow

Example:

Score 1 score 2
Player1 20 21
Player2 15 32
Player3 6 7
Using the method ScoreIterator so that it returns anonymous object of type ScoreIterator , iterate over all the scores, one by one. Use the next() and hasNext()

public interface ScoreIterator {
    int next();
    boolean hasNext();

Class ScoreBoard :

import java.util.*;

public class ScoreBoard {
    int[][] scores ;

    public ScoreBoard (int numOfPlayers, int numOfRounds) {
        scores = new int[numOfPlayers][numOfRounds];
        Random rand = new Random();
        for (int i = 0; i < numOfPlayers; i++) {
            for (int j = 0; j < numOfRounds; j++) {
                scores [i][j] = 50 + rand.nextInt(51);
            }
        }
    }

    public ScoreIterator scoreIterator () {
        // return anonymous object of type ScoreIterator 

        
    }

    public static void main(String[] args) {
        ScoreBoard sb = new ScoreBoard (3, 2);
        ScoreIterator iterator = sb.ScoreIterator ();
        while (iterator.hasNext()) {
            System.out.println(iterator.next());
        }
    }
}
}

In: Computer Science

In java. I have class ScoreBoard that holds a 2d array of each player's score. COde...

In java. I have class ScoreBoard that holds a 2d array of each player's score. COde Bellow

Example:

Score 1 score 2
Player1 20 21
Player2 15 32
Player3 6 7
Using the method ScoreIterator so that it returns anonymous object of type ScoreIterator , iterate over all the scores, one by one. Use the next() and hasNext()

public interface ScoreIterator {
    int next();
    boolean hasNext();

Class ScoreBoard :

import java.util.*;

public class ScoreBoard {
    int[][] scores ;

    public ScoreBoard (int numOfPlayers, int numOfRounds) {
        scores = new int[numOfPlayers][numOfRounds];
        Random rand = new Random();
        for (int i = 0; i < numOfPlayers; i++) {
            for (int j = 0; j < numOfRounds; j++) {
                scores [i][j] = 50 + rand.nextInt(51);
            }
        }
    }

    public ScoreIterator scoreIterator () {
        // return anonymous object of type ScoreIterator 

        
    }

    public static void main(String[] args) {
        ScoreBoard sb = new ScoreBoard (3, 2);
        ScoreIterator iterator = sb.ScoreIterator ();
        while (iterator.hasNext()) {
            System.out.println(iterator.next());
        }
    }
}
}

In: Computer Science

Java. I have class ScoreBoard that holds a 2d array of each player's score. COde Bellow...

Java. I have class ScoreBoard that holds a 2d array of each player's score. COde Bellow

Example:

Score 1 score 2
Player1 20 21
Player2 15 32
Player3 6 7
Using the method ScoreIterator so that it returns anonymous object of type ScoreIterator , iterate over all the scores, one by one. Use the next() and hasNext()

public interface ScoreIterator {
    int next();
    boolean hasNext();

Class ScoreBoard :

import java.util.*;

public class ScoreBoard {
    int[][] scores ;

    public ScoreBoard (int numOfPlayers, int numOfRounds) {
        scores = new int[numOfPlayers][numOfRounds];
        Random rand = new Random();
        for (int i = 0; i < numOfPlayers; i++) {
            for (int j = 0; j < numOfRounds; j++) {
                scores [i][j] = 50 + rand.nextInt(51);
            }
        }
    }

    public ScoreIterator scoreIterator () {
        // return anonymous object of type ScoreIterator 

        
    }

    public static void main(String[] args) {
        ScoreBoard sb = new ScoreBoard (3, 2);
        ScoreIterator iterator = sb.ScoreIterator ();
        while (iterator.hasNext()) {
            System.out.println(iterator.next());
        }
    }
}
}

In: Computer Science

I want to print out the array as well as its intersection, and also it doesn't...

I want to print out the array as well as its intersection, and also it doesn't show the time elapsed after 100,000

Missing is: 1,000,000 and 10,000,000

import java.util.Random;
import java.util.HashSet;
import java.util.Arrays;

public class array_intersect {

public static void main(String[] args)
{
for(int i=1000; i <= 10000000; i= i*10)
{
Integer[] array1 = generate_random_array(i);
Integer[] array2 = generate_random_array(i);

long startTime = System.nanoTime();
get_intersection(array1, array2);
long stopTime = System.nanoTime();
long elapsedTime = stopTime - startTime;
System.out.println("Time elapsed for dataset of " + i + " points : "+ elapsedTime + " in nanoseconds");

}
}

public static Integer[] generate_random_array(int size)
{
Random rand = new Random();
Integer[] return_array = new Integer[size];
for(int i=0;i< size ; i ++)
{
return_array[i] = rand.nextInt(size);
}
return return_array;
}

public static Integer[] get_intersection(Integer[] array1, Integer[] array2)
{
HashSet<Integer> set = new HashSet<>();
set.addAll(Arrays.asList(array1));
set.retainAll(Arrays.asList(array2));

Integer[] intersection = {};
intersection = set.toArray(intersection);

return intersection;

}


}

In: Computer Science

For a diploid species, assume one set of 100 demes, each with a constant size of 10 individuals, and another set of 100 demes, each with 100 individuals.

 

Part II
4. For a diploid species, assume one set of 100 demes, each with a constant size of 10 individuals, and another set of 100 demes, each with 100 individuals.

a) If in each deme the frequencies of neutral alleles A1 and A2 are 0.2 and 0.8, respectively, what fraction of demes in each set is likely to become fixed for allele A1 versus A2? Show your work below:

b) Assume that a neutral mutation arises in each deme. Calculate the probability that it will become fixed in a population of each size. In what fraction of demes do you expect it to become fixed?

c) If fixation occurs, how many generations do you expect it to take?

d) Compare your results for the two sets of demes. What effect does population size have on the results? Explain any differences.


5. Population size is a very important measurement in population genetics.

a) What is the difference between N and Ne? How are they measured/estimated?
Explain in your own words!


b) Ne is often smaller than N for 5 reasons. In your own words, describe these reasons below:

In: Biology