Answer:
3.115×
meter
Explanation:
hall-petch constant for copper is given by
=25 MPa
k=0.12 for copper
now according to hall-petch equation
=
+
240=25+
D=3.115×
meter
so the grain diameter using the hall-petch equation=3.115×
meter
Answer: a) 135642 b) 146253
Explanation:
A)
1- the bankers algorithm tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, as stated this has the greatest degree of concurrency.
3- reserving all resources in advance helps would happen most likely if the algorithm has been used.
5- Resource ordering comes first before detection of any deadlock
6- Thread action would be rolled back much easily of Resource ordering precedes.
4- restart thread and release all resources if thread needs to wait, this should surely happen before killing the thread
2- only option practicable after thread has been killed.
Bii) ; No. Even if deadlock happens rapidly, the safest sequence have been decided already.
Answer:
1. cout << "Num: " << songNum << endl;
2. cout << songNum << endl;
3. cout << songNum <<" songs" << endl;
Explanation:
//Full Code
#include <iostream>
using namespace std;
int main ()
{
int songNum;
songNum = 5;
cout << "Num: " << songNum << endl;
cout << songNum << endl;
cout << songNum <<" songs" << endl;
return 0;
}
1. The error in the first cout statement is that variable songnum is not declared.
C++ is a case sensitive programme language; it treats upper case and lower case characters differently.
Variable songNum was declared; not songnum.
2. Cout us used to print a Variable that has already been declared.
The error arises in int songNum in the second cout statement.
3. When printing more than one variables or values, they must be separated with <<
Answer:

Explanation:
given data:
height of tank = 60cm
diameter of tank =40cm
accelration = 4 m/s2
suppose x- axis - direction of motion
z -axis - vertical direction
= water surface angle with horizontal surface
accelration in x direction
accelration in z direction
slope in xz plane is



the maximum height of water surface at mid of inclination is



the maximu height of wwater to avoid spilling is

= 60 - 8.2

the height requird if no spill water is 