Entropy change of hot and cold reservoir are -0.08333 kJ/k and 0.16666 kJ/k respectively.
<u>Explanation</u>:
Given:
Temperature at hot reservoir,
Temperature at cold reservoir,
Amount oh heat transferred,
Entropy change at hot reservoir,
Entropy change at cold reservoir,
Total entropy change,
is not less than zero.Hence,it fulfills increase of entropy principle.
Answer:
#include<iostream>
Using namespace std;
int main()
{
int n, qty;
double price, amount;
cout<<"Number of items ";
cin>>n;
cout<<"ITEM<<"\t"<<"QUANTITY"<<"\t"<<"PRICE"<<"\t"<<"ITEM TOTAL";
for(int i= 1; I<= n; i++)
{
cin>>qty;
cin>>price;
amount = qty * price;
cout<<i<<"\t "<<qty<<"\t"<<price<<"\t"<<amount;
}
}
Explanation
The above program is written in C++ programming language
5 variables are declared and used in the program
n is declared as an integer to represent the total number of items
qty is declared as integer to represent the total quantity of each item
price is declared as double to represent the amount of each individual item
amount is declared as double to represent the total amount of an item; it is gotten by qty * price
i is declared as integer to iterated between each items
The amount of each item is calculated within the iteration and also printed immediately
Answer:
True
Explanation:
Wastewater should never be discharged into storm sewers. Storm sewers are constructed to store rainwater.
Rainwater passes through storm sewers to the nearest underground water resource if the wastewater discharge into storm sewers, then they will also pollute the ground water, so usually the dirty water is not put in the storm sewers.
Answer:
Explanation:
From the question we are told that:
Internally pressurized
Tangential Stress
Axial stress
Generally the equation for maximum normal and shear stresses are experienced by the outer surface is mathematically given by
Therefore
Answer:
From the question, we have two variables
1. userNum1
2. userNum2
And we are to print "userNum1 is negative" if userNum1 is less than 0.
Then Assign userNum2 with 2 if userNum2 is greater than 10.
Otherwise, print "userNum2 is less or equal 10.".
// Program is written in C++ Programming Language
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main ()
{
// Declare variables
int userNum1, userNum2;
// Accept input for these variables
cin>>userNum1, userNum2;
// Condition 1
if(userNum1 < 0)
{
cout<<"userNum1 is negative"<<'\n';
}
// Condition 2
if(userNum2 > 10)
{
userNum2 = 2;
}
// If condition is less than 10
else
{
cout<<"userNum2 is less or equal to 10"<<\n;
}
return 0;
}
// End of Program.