Answer:
#include <iostream>
#include <string>
using namespace std;
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++)
{
if (tolower(str[i]) != tolower(str[length - 1 - i]))
return false;
}
return true;
}
int main()
{
string s[6] = {"madam", "abba", "22", "67876", "444244", "trymeuemyrt"};
int i;
for(i=0; i<6; i++)
{
//Testing function
if(isPalindrome(s[i]))
{
cout << "\n " << s[i] << " is a palindrome... \n";
}
else
{
cout << "\n " << s[i] << " is not a palindrome... \n";
}
}
return 0;
}
Answer:
False
Explanation:
The government decides the productions.
Answer:
The radius of a wind turbine is 691.1 ft
The power generation potential (PGP) scales with speed at the rate of 7.73 kW.s/m
Explanation:
Given;
power generation potential (PGP) = 1000 kW
Wind speed = 5 mph = 2.2352 m/s
Density of air = 0.0796 lbm/ft³ = 1.275 kg/m³
Radius of the wind turbine r = ?
Wind energy per unit mass of air, e = E/m = 0.5 v² = (0.5)(2.2352)²
Wind energy per unit mass of air = 2.517 J/kg
PGP = mass flow rate * energy per unit mass
PGP = ρ*A*V*e

r = 210.64 m = 691.1 ft
Thus, the radius of a wind turbine is 691.1 ft
PGP = CVᵃ
For best design of wind turbine Betz limit (c) is taken between (0.35 - 0.45)
Let C = 0.4
PGP = Cvᵃ
take log of both sides
ln(PGP) = a*ln(CV)
a = ln(PGP)/ln(CV)
a = ln(1000)/ln(0.4 *2.2352) = 7.73
The power generation potential (PGP) scales with speed at the rate of 7.73 kW.s/m
Answer:
D. Both pull-in and hold-in windings are energized.
Explanation:
The instant the ignition switch is turned to the start position, "Both pull-in and hold-in windings are energized." This is because the moment the ignition switch is turned to the start position, voltage passes through to the S terminal of the solenoid.
The hold-in winding is attached to the case of the solenoid. Similarly, the pull-in winding is also attached to the starter motor. Thereby, the current will move across both windings by getting energized to generate a strong magnetic field.
Answer:
hello your question is incomplete attached below is the missing part of the question
Consider an inverter operating a power supply voltage VDD. Assume that matched condition for this inverter. Make the necessary assumptions to get to an answer for the following questions.
answer : Nd ∝ rt
Explanation:
Determine how the delay and active power per device will change as the doping density of N- and P-MOSFET increases
Pactive ( active power ) = Efs * F
Pactive =
also note that ; Pactive ∝ Nd2 (
tD = K .
since K = constant
Hence : Nd ∝ rt