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:
Explanation:
a) On the verge of tipping over, reaction acts at the corner A
When slippage occurs,
Block moves w/ const. velocity equilibrium
Three-force member: reaction at A must pass through B
tan b/2h, h b/ 2 θ µ = = ∴= k k ( µ )
b) When slippage occurs,
Block moves w/ const. velocity equilibrium
Three-force member: reaction at C must pass through G
k tanθ µ =
tan x/ H/2 , x H/2
Explanation:
volume = πR²h/3
= πx35²x50/3
= 192325/3
= 64166.725
number of layers n = 50mm/0.05
n = 1000layers
average volume = 64166.725/1000
= 64.167mm³
average area = 64.167/0.05
= 1283.34mm²
average time = 1283.34/900mm x 0.22
= 6.48
6.48 + 15 seconds
= 21.48 seconds
time required = 1000x21.48
= 21480 seconds
convert to minutes
21480/60
= 358 minutes
21480/3600
= 5.967 hours
Answer:
The truck will not stop in time. The truck passes the stop sign by about 63.41 ft before it stops.
Explanation:
The distance that the truck starts slowing down = 80 ft from the stop sign
Using equations of motion, we can calculate the distance it will take the truck to stop, then check of it is less than or more than 80 ft.
u = initial velocity of the truck = 40 mph = 58.667 ft/s
v = final velocity of the truck = 0 ft/s (since it comes to a stop eventually)
x = horizontal distance covered during the deceleration
a = Deceleration = -12 ft/s² (it'll have a negative sign, since it is negative acceleration
v² = u² + 2ax
0² = 58.667² + 2(-12)(x)
24x = 3441.816889
x = 143.41 ft
143.41 ft > 80 ft; hence, the truck will not stop in time. The truck passes the stop sign by about 63.41 ft before it stops.