Answer:
Explanation:
The python code to generate this is quite simple to run.
i hope you understand everything written here, you can as well try out other problems to understand better.
First to begin, we import the package;
Code:
import pandas as pd
import matplotlib.pyplot as plt
name = input('Enter name of the file: ')
op = input('Enter name of output file: ')
df = pd.read_csv(name)
df['Date'] = pd.to_datetime(df["Date"].apply(str))
plt.plot(df['Date'],df['Absent']/(df['Present']+df['Absent']+df['Released']),label="% Absent")
plt.legend(loc="upper right")
plt.xticks(rotation=20)
plt.savefig(op)
plt.show()
This should generate the data(plot) as seen in the uploaded screenshot.
thanks i hope this helps!!!
Answer:
R = ![\left[\begin{array}{ccc}1&0&0\\0&cos30&-sin30\\0&sin30&cos30\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D1%260%260%5C%5C0%26cos30%26-sin30%5C%5C0%26sin30%26cos30%5Cend%7Barray%7D%5Cright%5D)
![\left[\begin{array}{ccc}cos 60&-sin60&0\\sin60&cos60&60\0&0&1\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7Dcos%2060%26-sin60%260%5C%5Csin60%26cos60%2660%5C0%260%261%5Cend%7Barray%7D%5Cright%5D)
Explanation:
The mappings always involve a translation and a rotation of the matrix. Therefore, the rotation matrix will be given by:
Let
and
be the the angles 60⁰ and 30⁰ respectively
that is
= 60⁰ and
= 30⁰
The matrix is given by the following expression:
![\left[\begin{array}{ccc}1&0&0\\0&cos30&-sin30\\0&sin30&cos30\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D1%260%260%5C%5C0%26cos30%26-sin30%5C%5C0%26sin30%26cos30%5Cend%7Barray%7D%5Cright%5D)
![\left[\begin{array}{ccc}cos 60&-sin60&0\\sin60&cos60&60\0&0&1\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7Dcos%2060%26-sin60%260%5C%5Csin60%26cos60%2660%5C0%260%261%5Cend%7Barray%7D%5Cright%5D)
The angles can be evaluated and left in the surd form.
Answer:
Explanation:
Since there are six points, the minimum distance from all points would be the centroid of polygon formed by A,B,C,D,E,F
To find the coordinates of centroid of a polygon we use the following formula. Let A be area of the polygon.
where i=1 to N-1 and N=6
A area of the polygon can be found by the following formula
where i=1 to N-1
![A=\frac{1}{2}[ (x_{1} y_{2} -x_{2} y_{1})+ (x_{2} y_{3} -x_{3} y_{2})+(x_{3} y_{4} -x_{4} y_{3})+(x_{4} y_{5} -x_{5} y_{4})+(x_{5} y_{6} -x_{6} y_{5})]](https://tex.z-dn.net/?f=A%3D%5Cfrac%7B1%7D%7B2%7D%5B%20%28x_%7B1%7D%20%20y_%7B2%7D%20-x_%7B2%7D%20%20y_%7B1%7D%29%2B%20%28x_%7B2%7D%20%20y_%7B3%7D%20-x_%7B3%7D%20%20y_%7B2%7D%29%2B%28x_%7B3%7D%20%20y_%7B4%7D%20-x_%7B4%7D%20%20y_%7B3%7D%29%2B%28x_%7B4%7D%20%20y_%7B5%7D%20-x_%7B5%7D%20%20y_%7B4%7D%29%2B%28x_%7B5%7D%20%20y_%7B6%7D%20-x_%7B6%7D%20%20y_%7B5%7D%29%5D)
A=0.5[(20×25 -25×15) +(25×32 -13×25)+(13×21 -4×32)+(4×8 -18×21)+(18×14 -25×8)
A=225.5 miles²
Now putting the value of area in Cx and Cy
![C_{x} =\frac{1}{6A}[ [(x_{1}+x_{2})(x_{1} y_{2} -x_{2} y_{1})]+ [(x_{2}+x_{3})(x_{2} y_{3} -x_{3} y_{2})]+[(x_{3}+x_{4})(x_{3} y_{4} -x_{4} y_{3})]+[(x_{4}+x_{5})(x_{4} y_{5} -x_{5} y_{4})]+[(x_{5}+x_{6})(x_{5} y_{6} -x_{6} y_{5})]]](https://tex.z-dn.net/?f=C_%7Bx%7D%20%3D%5Cfrac%7B1%7D%7B6A%7D%5B%20%5B%28x_%7B1%7D%2Bx_%7B2%7D%29%28x_%7B1%7D%20%20y_%7B2%7D%20-x_%7B2%7D%20%20y_%7B1%7D%29%5D%2B%20%5B%28x_%7B2%7D%2Bx_%7B3%7D%29%28x_%7B2%7D%20%20y_%7B3%7D%20-x_%7B3%7D%20%20y_%7B2%7D%29%5D%2B%5B%28x_%7B3%7D%2Bx_%7B4%7D%29%28x_%7B3%7D%20%20y_%7B4%7D%20-x_%7B4%7D%20%20y_%7B3%7D%29%5D%2B%5B%28x_%7B4%7D%2Bx_%7B5%7D%29%28x_%7B4%7D%20%20y_%7B5%7D%20-x_%7B5%7D%20%20y_%7B4%7D%29%5D%2B%5B%28x_%7B5%7D%2Bx_%7B6%7D%29%28x_%7B5%7D%20%20y_%7B6%7D%20-x_%7B6%7D%20%20y_%7B5%7D%29%5D%5D)
putting the values of x's and y's you will get

For Cy
![C_{y} =\frac{1}{6A}[ [(y_{1}+y_{2})(x_{1} y_{2} -x_{2} y_{1})]+ [(y_{2}+y_{3})(x_{2} y_{3} -x_{3} y_{2})]+[(y_{3}+y_{4})(x_{3} y_{4} -x_{4} y_{3})]+[(y_{4}+y_{5})(x_{4} y_{5} -x_{5} y_{4})]+[(y_{5}+y_{6})(x_{5} y_{6} -x_{6} y_{5})]]](https://tex.z-dn.net/?f=C_%7By%7D%20%3D%5Cfrac%7B1%7D%7B6A%7D%5B%20%5B%28y_%7B1%7D%2By_%7B2%7D%29%28x_%7B1%7D%20%20y_%7B2%7D%20-x_%7B2%7D%20%20y_%7B1%7D%29%5D%2B%20%5B%28y_%7B2%7D%2By_%7B3%7D%29%28x_%7B2%7D%20%20y_%7B3%7D%20-x_%7B3%7D%20%20y_%7B2%7D%29%5D%2B%5B%28y_%7B3%7D%2By_%7B4%7D%29%28x_%7B3%7D%20%20y_%7B4%7D%20-x_%7B4%7D%20%20y_%7B3%7D%29%5D%2B%5B%28y_%7B4%7D%2By_%7B5%7D%29%28x_%7B4%7D%20%20y_%7B5%7D%20-x_%7B5%7D%20%20y_%7B4%7D%29%5D%2B%5B%28y_%7B5%7D%2By_%7B6%7D%29%28x_%7B5%7D%20%20y_%7B6%7D%20-x_%7B6%7D%20%20y_%7B5%7D%29%5D%5D)
putting the values of x's and y's you will get

So coordinates for the fire station should be (15.36,22.55)
I think it’s b sry if I’m wrong tho
Answer:
401.3 kg/s
Explanation:
The power plant has an efficiency of 36%. This means 64% of the heat form the source (q1) will become waste heat. Of the waste heat, 85% will be taken away by water (qw).
qw = 0.85 * q2
q2 = 0.64 * q1
p = 0.36 * q1
q1 = p /0.36
q2 = 0.64/0.36 * p
qw = 0.85 *0.64/0.36 * p
qw = 0.85 *0.64/0.36 * 600 = 907 MW
In evaporation water becomes vapor absorbing heat without going to the boiling point (similar to how sweating takes heat from the human body)
The latent heat for the vaporization of water is:
SLH = 2.26 MJ/kg
So, to dissipate 907 MW
G = qw * SLH = 907 / 2.26 = 401.3 kg/s