Answer:
We can compute the diameter of the tree T by a pruning procedure, starting at the leaves (external nodes).
- Remove all leaves of T. Let the remaining tree be T1.
-
Remove all leaves of T1. Let the remaining tree be T2.
-
Repeat the "remove" operation as follows: Remove all leaves of Ti. Let remaining tree be Ti+1.
-
When the remaining tree has only one node or two nodes, stop! Suppose now the remaining tree is Tk.
-
If Tk has only one node, that is the center of T. The diameter of T is 2k.
-
If Tk has two nodes, either can be the center of T. The diameter of T is 2k+1.
Explanation:
We can compute the diameter of the tree T by a pruning procedure, starting at the leaves (external nodes).
- Remove all leaves of T. Let the remaining tree be T1.
-
Remove all leaves of T1. Let the remaining tree be T2.
-
Repeat the "remove" operation as follows: Remove all leaves of Ti. Let remaining tree be Ti+1.
-
When the remaining tree has only one node or two nodes, stop! Suppose now the remaining tree is Tk.
-
If Tk has only one node, that is the center of T. The diameter of T is 2k.
-
If Tk has two nodes, either can be the center of T. The diameter of T is 2k+1.
Answer:
First you have to separate real and imaginary parts of Tan(x+iy)=Tan(z)=sin(z)/cos(z)
sinz=sin(x+iy)=sinxcos(iy)+cosxsin(iy)=sinxcoshy-icosx sinhy
cosz=cos(x+iy)=cosxcos(iy)-sinxsin(iy)=cosxcoshy−isinxsinhy
Now if you plug in Tan(z) and simplify (it is easy!) you get
Tan(z)=(sin(2x)+isinh(2y))/(cos(2x)+cosh(2y))= A+iB.
This means that
A=sin(2x)/(cos(2x)+cosh(2y)) and B= sinh(2y)/(cos(2x)+cosh(2y))
Now,
A/B=sin(2x)/sinh(2y)
If any questions, let me know.
Answer:
Kindly follow the steps as shown below.
Explanation:
Answer:

Explanation:
From the question we are told that:
Water flow Rate 
Initial Temperature 
Final Temperature 
Let
Specific heat of water 
And


Generally the equation for Heat transfer rate of water
is mathematically given by
Heat transfer rate to water= mass flow rate* specific heat* change in temperature



Therefore

