Answer:
import java.util.Scanner;
import java.util.Random;
public class GuessingGame
{
public static void main(String [] args)
{
Scanner kb = new Scanner(System.in);
Random rand = new Random();
int num;
int guess = 0;
int guesses = 0;
char yorn;
String in;
do
{
num = rand.nextInt(100) + 1;
guesses = 0;
do
{
System.out.println("Guess what number I have (1-100)? ");
guess = kb.nextInt();
guesses ++;
if(guess > num) {
System.out.println("Too high, try again.");
} else if(guess< num) {
System.out.println("Too low, try again.");
} else {
System.out.println("You're right, the number is " + num);
System.out.println("You guessed " + guesses + " times");
}
}
while(guess!=num);
in=kb.nextLine();
System.out.print("Play again(Y/N)? ");
in=kb.nextLine();
yorn=in.charAt(0);
}while(yorn=='Y'||yorn=='y');
}
}
Explanation:
<u>The factors for the uncertainty in the processing of the thermosetting composite materials is as follows - </u>
- Uncertainty associated with material property variations .
- Uncertainty associated with boundary condition variability .
- Uncertainty associated with party quality and the possibility of defect formation during the process .
Answer:
Heat loss 67%.
Explanation:
We know that heat transfer
Q=AUΔT
Where U is the overall heat transfer coefficient ,A is the area and ΔT is the temperature difference.
Now heat transfer in terms of U-factor
Given that temperature difference is same in both condition so
Given that
Heat loss 67%.
Answer:
Explanation:
given data:
steel diamter = 25 mm
allowable stress in bronze = 60 MPa
length of wire = 30 m
Ebr=80GPa
Est = 200GPA
AREA of wire
total load = 6*Pbr + Pst .............1
where
Pbr is load due to bronze
Psr is load due to steel
elongationis given as
force on bronze wire
Pbr = 294.375 N
from eqt 2
Pst = 735.93 N
SAFE LOAD from eq 1
P = 6 *294.375 + 735.937 = 2502.18 N
EXtension under load