Answer:
42m/s
Explanation:
Frequency (f) =14Hz and wavelength (λ )=3m
Frequency and wavelength can be related to speed:
speeds(V)=f*λ=14*3=42m/s.
Plan, design, and implement solar energy projects
Answer:
Permanent felony conviction on your criminal record.
Financial restitution if DUI involves an accident, property damage or personal injury
Up to 50 hours community service or fee of $10 per hour of service.
Minimum fine of upto $1000 or $2000, that is if your blood alcohol level was 0.15% or more than this, or you were driving with a minor in the vehicle.
Imprisonment of upto 9 months, if the blood alcohol level was over 0.15% or idf the DUI resulted in ana accident or crash, jail time is increased to one year.
Mandatory imprisonment for not less than 10 days if your second DUI conviction occurs within 5 years of the date of the prior DUI conviction.
180 days to one year probation.
Maximum of 5 years driver's license revocation.
Up to 30 days impoundment of vehicle.
Ignition interlock device.
Criminal record stating adjudication of guilt.
Explanation:
all 4 apply all these are saftey hazards and must be taken as such anything in a work enviorment should be taken seriously and such as hazard
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;
}
}