Answer:
Using python
num_boys = int(input("Enter number of boys :"))
num_girls = int(input("Enter number of girls :"))
budget = int(input("Enter the number of dollars spent per school year :"))
try:
dollarperstudent = budget/(num_boys+num_girls)
print("Dollar spent per student : "+str(dollarperstudent))#final result
except ZeroDivisionError:
print("unavailable")
Answer: 1.137*10^7 Btu/h.
Explanation:
Given data:
Efficiency of the plant = 4.5percent
Net power output of the plant = 150kw
Solution:
The required collection rate
QH = W/n
= 150/0.045 * 0.94782/ 1 /60 */60 Btu/h.
= 3333.333 *3412.152Btu/h.
= 11373840 Btu/h
= 1.137*10^7 Btu/h.
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;
}
The first thing you should do is develop a <u>budget</u> to determine what vehicle you can afford.
<h3>What is an automobile?</h3>
An automobile is also referred to as a vehicle, car or motorcar and it can be defined as a four-wheeled vehicle that is designed and developed to be propelled by an internal-combustion (gasoline) engine, especially for the purpose of transportation from one location to another.
<h3>What is a budget?</h3>
A budget can be defined as a financial plan that is typically used for the estimation of revenue and expenditures of an individual, business organization or government for a specified period of time, often one year.
In this context, we can reasonably infer and logically deduce that the first thing anyone should do is to develop a <u>budget</u> in order to determine what vehicle they can afford.
Read more on budget here: brainly.com/question/13964173
#SPJ1
Answer:
0.024 m = 24.07 mm
Explanation:
1) Notation
= tensile stress = 200 Mpa
= plane strain fracture toughness= 55 Mpa
= length of a surface crack (Variable of interest)
2) Definition and Formulas
The Tensile strength is the ability of a material to withstand a pulling force. It is customarily measured in units (F/A), like the pressure. Is an important concept in engineering, especially in the fields of materials and structural engineering.
By definition we have the following formula for the tensile stress:
(1)
We are interested on the minimum length of a surface that will lead to a fracture, so we need to solve for 
Multiplying both sides of equation (1) by 
(2)
Sequaring both sides of equation (2):
(3)
Dividing both sides by
we got:
(4)
Replacing the values into equation (4) we got:
![\lambda=\frac{1}{\pi}[\frac{55 Mpa\sqrt{m}}{1.0(200Mpa)}]^2 =0.02407m](https://tex.z-dn.net/?f=%5Clambda%3D%5Cfrac%7B1%7D%7B%5Cpi%7D%5B%5Cfrac%7B55%20Mpa%5Csqrt%7Bm%7D%7D%7B1.0%28200Mpa%29%7D%5D%5E2%20%3D0.02407m)
3) Final solution
So the minimum length of a surface crack that will lead to fracture, would be 24.07 mm or more.