Answer:
// Program is written in Java Programming Language
// Comments are used for explanatory purpose
import java.util.*;
public class FlipCoin
{
public static void main(String[] args)
{
// Declare Scanner
Scanner input = new Scanner (System.in);
int flips;
// Prompt to enter number of toss or flips
System.out.print("Number of Flips: ");
flips = input.nextInt();
if (flips > 0)
{
HeadsOrTails();
}
}
}
public static String HeadsOrTails(Random rand)
{
// Simulate the coin tosses.
for (int count = 0; count < flips; count++)
{
rand = new Random();
if (rand.nextInt(2) == 0) {
System.out.println("Tails"); }
else {
System.out.println("Heads"); }
rand = 0;
}
}
Answer:
The main difference between the bs2 and bs3 engine is to present in the catalytic converter. And in bs2 engines the catalytic converter is does not used for the formation of hc and co. In bs3 engine there is no harmful emissions in the hc and co
Answer:
the flow is turbulent
Explanation:
The Reynolds number is given by
Re=ρVD/μ
where
V=fluid speed=0.48ft/s=0.146m/s
D=diameter=2.067in=0.0525m
ρ=density=0.805g/cm^3=805Kg/m^3
μ=0.43Cp=4.3x10^-4Pas
Re=(805)(0.146)(0.0525)/4.3x10^-4=14349.59
Re>2100 the flow is turbulent
Note: if you do not want to use a calculator you can use the graphs to calculate the Reynolds number according to their properties