Sorry my drawings aren’t great, but I hope this helps
Answer:
CLIMATE CHANGE HAS inexorably stacked the deck in favor of bigger and more intense fires across the American West over the past few decades, science has incontrovertibly shown. Increasing heat, changing rain and snow patterns, shifts in plant communities, and other climate-related changes have vastly increased the likelihood that fires will start more often and burn more intensely and widely than they have in the past.
Explanation:
Answer:
#include <iostream>
#include <string>
#include "user.h"
#include "password.h"
using namespace Authenticate;
using namespace std;
int main()
{
inputUserName();
inputPassword();
cout << "Your username is " << getUserName() <<
" and your password is: " <<
getPassword() << endl;
return 0;
}
user.h:
#ifndef USER_H
#define USER_H
#include <string>
using namespace std;
namespace Authenticate
{
namespace
{
bool isvalid();
}
void inputUserName();
string getUserName();
}
#endif
user.cpp:
#include <iostream>
#include "user.h"
namespace Authenticate
{
string username="";
namespace
{
bool isvalid()
{
if(username.length() == 8)
return true;
else
return false;
}
}
void inputUserName(){
do
{
cout << "Enter your username (8 letters only)" << endl;
cin >> username;
}
while(!isvalid());
}
string getUserName()
{
return username;
}
}
password.h:
#ifndef PASSWORD_h
#define PASSWORD_h
#include <string>
using namespace std;
namespace Authenticate
{
namespace
{
bool isValid();
}
void inputPassword();
string getPassword();
}
#endif
password.cpp:
#include <iostream>
#include <string>
using namespace std;
namespace Authenticate
{
string password="";
namespace
{
bool isValid()
{
if(password.length() >= 8)
{
for(int i=0; i<password.length(); i++)
if(password[i] >= '0' && password[i] <= '9')
return true;
return false;
}
else
return false;
}
}
void inputPassword(){
do
{
cout << "Enter your password (at least 8 characters " <<
"and at leat one non-letter)" << endl;
cin >> password;
}
while(!isValid());
}
string getPassword()
{
return password;
}
}
Answer:
T_{f} = 90.07998 ° C
Explanation:
This is a calorimetry process where the heat given by the Te is absorbed by the air at room temperature (T₀ = 25ºC) with a specific heat of 1,009 J / kg ºC, we assume that the amount of Tea in the cup is V₀ = 100 ml. The bottle being thermally insulated does not intervene in the process
Qc = -Qb
M
(T₁ -
) = m
(T_{f}-T₀)
Where M is the mass of Tea that remains after taking out the cup, the density of Te is the density of water plus the solids dissolved in them, the approximate values are from 1020 to 1200 kg / m³, for this calculation we use 1100 kg / m³
ρ = m / V
V = 1000 -100 = 900 ml
V = 0.900 l (1 m3 / 1000 l) = 0.900 10⁻³ m³
V_air = 0.100 l = 0.1 10⁻³ m³
Tea Mass
M = ρ V_te
M = 1100 0.9 10⁻³
M = 0.990 kg
Air mass
m = ρ _air V_air
m = 1.225 0.1 10⁻³
m = 0.1225 10⁻³ kg
(m c_{e_air} + M c_{e_Te}) T_{f}. = M c_{e_Te} T1 - m c_{e_air} T₀
T_{f} = (M c_{e_Te} T₁ - m c_{e_air} T₀) / (m c_{e_air} + M c_{e_Te})
Let's calculate
T_{f} = (0.990 1100 90.08– 0.1225 10⁻³ 1.225 25) / (0.1225 10⁻³ 1.225 + 0.990 1100)
T_{f} = (98097.12 -3.75 10⁻³) / (0.15 10⁻³ +1089)
T_{f} = 98097.11 / 1089.0002
T_{f} = 90.07998 ° C
This temperature decrease is very small and cannot be measured