Find the given attachment
Answer:
The output will be (3, 4) becomes (8, 10)
Explanation:
#include <stdio.h>
//If you send a pointer to a int, you are allowing the contents of that int to change.
void CoordTransform(int xVal,int yVal,int* xNew,int* yNew){
*xNew = (xVal+1)*2;
*yNew = (yVal+1)*2;
}
int main(void) {
int xValNew = 0;
int yValNew = 0;
CoordTransform(3, 4, &xValNew, &yValNew);
printf("(3, 4) becomes (%d, %d)\n", xValNew, yValNew);
return 0;
}
Answer:
t = 12.03
t = 81.473
velocity of the fluid decreases with level of fluid. Hence, in later stages the time taken is greater than in earlier stages
Explanation:
Given:
- The half angle θ = 30°
- The diameter of the small hole d = 6.25 mm
- The flow rate out of the funnel Q = A*√ 2gy
- The volume of frustum of cone is given by:
Where,
D: Is the larger diameter of the frustum
d: Is the smaller diameter of the frustum
y: The height of the liquid free surface from small diameter d base.
Find:
- Obtain an expression for the time, t, for the funnel to completely drain, and evaluate.
- Find the time to drain from 300 mm to 150 mm (a change in depth of 150 mm) and from 150 mm to completely empty (also a change in depth of 150 mm)
- Can you explain the discrepancy in these times?
Solution:
- We will use rate of change analysis by considering the rate of change of volume, and then apply the chain rule.
- The Volume of the frustum is a function of d , D , y. V = f ( d , D , y ). In our case the diameter of base d remains constant. Then we are left with:
V = f ( D , y )
- Determine a relationship between y and d. We will use half angle θ to determine the relationship between D and y by applying trigonometric ratios:
tan ( θ ) = D / 2*y
D = 2*y*tan ( θ )
- We developed a relationship between D and y in terms of half angle which remains constant. So the Volume is now only a function of one variable y:
V = f ( y )
- The volume of frustum of the cone can be written as:
Substituting the relationship for D in terms of y we have:
- Now by rate of change of Volume analysis we have:
dV / dt = [dV / dy] * [dy / dt]
- Computing dV / dy, where V = f(y) only:
- Where, dV/dt = Volume flow rate:
- Then from Chain rule we have:
[dy / dt] = [dV / dt] / [dV / dy]
- Separate variables:
- Integrate both sides:
- Evaluate @ t = 0 , y = 0.3 m
- Time taken from y = 300 to 150 mm:
- Time taken from y = 150 to 0 mm:
t = t_(0-300) - ( t_(0-150) = 90.871587 - 12.0347055 = 81.4721 s
- The discrepancy is time can be explained by the velocity of fluid coming out of bottom is function of y. The velocity of the fluid decreases as the level of fluid decreases hence the time taken from y =150 mm to 0 mm is larger than y = 300 mm to y = 150 mm.
Answer:
The change in specific internal energy is 3.5 kj.
Explanation:
Step1
Given:
Total change in energy is 15.5 kj.
Change in kinetic energy is –3.5 kj.
Change in potential energy is 0 kj.
Mass is 5.4 kg.
Step2
Calculation:
Change in internal energy is calculated as follows:
kj.
Step3
Specific internal energy is calculated as follows:
kj/kg.
Thus, the change in specific internal energy is 3.5 kj/kg.
The way a programmer describe a pre-emptive dialog by purely graphical means is; by producing a window that covers the entire screen to make it the currently selected window.
In a graphics - based interaction, it is supposed that the user can only interact with parts of the system that are visible. However, In a windowing system, the user can only direct input to a single window that was currently selected and the way to change that selected window is to indicate with some gesture within that window.
Finally, to create a pre-emptive dialog, the system would do so through the production of a window that covers the entire screen to make it the currently selected window. Thereafter, all user input would be directed to that window and the user would have no means of selecting any other window. Then the covering window will now pre-empt any other user action with the exception of that which it is defined to support.
Read more about dialogue at; brainly.com/question/5962406
Answer:
In an illustrations based communication, it is expected that the client can just associate with parts of the framework that are obvious. In a windowing framework, for instance, the client can just direct contribution to a solitary, at present chosen window, and the main methods for changing the chose window would be by demonstrating with some signal inside that window. To make a preemptive exchange, the framework can create a window that covers the whole screen and make it the right now chosen window. All client information would then be coordinated to that window and the client would have no methods for choosing another window. The 'covering' window in this way preempts some other client activity with the exception of that which it is characterized to help
Answer:
the relative compaction is 105.88 %
Explanation:
Given;
dry unit weight of field compaction, = 18 kN/m³
maximum dry unit weight measured, = 17 kN/m³
Relative compaction (RC) of the site is given as the ratio of dry unit weight of field compaction and maximum dry unit weight measured
Relative compaction (RC) = dry unit weight of field compaction / maximum dry unit weight measured
substitute the given values;
RC (%) = 105.88 %
Therefore, the relative compaction is 105.88 %
Answer:
(iv) second law of thermodynamics
Explanation:
The Clausius inequality expresses the second law of thermodynamics it applies to the real engine cycle.It is defined as the cycle integral of change in entropy of a reversible system is zero. It is nothing but mathematical form of second law of thermodynamics . It also states that for irreversible process the cyclic integral of change in entropy is less than zero