Answer:
I am writing a function in C++
Explanation:
<h2>C++ program</h2>
#include <iostream>
using namespace std;
int pyramid(int height) // function pyramid with parameter height
{int distance; //variable for spaces
for(int i = 1, j = 0; i <= height; ++i, j= 0) //handle the rows
{
for(distance= 1; distance<= height-i; ++distance)
// handles the spaces & columns
{ cout <<" "; } //prints spaces between stars
while(j!= 2*i-1) //handles shape and spaces
{ cout << "* "; // printing stars
++j; }
cout << '\n'; } } // for the next line
int main()
{
int height; //declare height variable
cout <<"Enter height of pyramid "; //asks user to enter height of pyramid
cin>>height; //stores value of height
pyramid(height); //calls pyramid function
}
Answer:A and B are correct. one must take care to avoid violation of ethical codes regarding conflicts of interest and dual or multiple relationships
Explanation:
A conflict of interest (COI) is a situation in which a person or organization is involved in multiple interests, financial or otherwise, and serving one interest could involve working against another.
Y = a (b)^t/p
y is total money
a is original amount
b is growth / decay factor
t is time
p is the frequency of every growth or decay
15131.76 = 11613 x 1.08^x
15131.76 / 11613 = 1.08^x
1.303… = 1.08^x
log1.303…. = xlog1.08
x = 3.43902165741 years
Answer: ALL CAREFULLY ANSWERED CORRECTLY.
Explanation:
1) A loaf of Bread PHYSICAL SYSTEM
✓ How can the environment affect the edibility of the bread
✓ What are the constituents that makes up the bread
✓ What process is involved in these constituents mixing to form the loaf.
2) The law of thermodynamics makes us to understand that when heat/energy passes through a system, the systems internal energy changes with respect to the conservation of energy law. That is energy lost = energy gained. Typically, ice would melt in a cup of hot tea because of the thermal energy in the molecules of the hot tea. When you heat a material, you are adding thermal kinetic energy to its molecules and usually raising its temperature. The temperature of the ice raises due to the kinetic energy added to it and it melts to water.
3) The theory of systems view the world as a complex system of interconnected parts. If we consider the society; (financial systems, political systems, etc) we will agree that they individually have their own components and it's the summation of this components that makes the system, this implies that system thinking could be applicable in this kinda of systems as long as they are made up of components.
4) Technology has boosted every sector of our lives and it has the capacity to do more. Restricting it's importance to entertainment alone would be an underusing of its potentials. Engineering students infact should not need any drive to be encouraged about maximizing all it can do in shaping our world.
5) ~ Nature shows its splendid soul
~Never ceases to leave us in amazement
~And we are in love
Answer: The exit temperature of the gas in deg C is
.
Explanation:
The given data is as follows.
= 1000 J/kg K, R = 500 J/kg K = 0.5 kJ/kg K (as 1 kJ = 1000 J)
= 100 kPa,
We know that for an ideal gas the mass flow rate will be calculated as follows.
or, m =
=
= 10 kg/s
Now, according to the steady flow energy equation:
= 5 K
= 5 K + 300 K
= 305 K
= (305 K - 273 K)
=
Therefore, we can conclude that the exit temperature of the gas in deg C is
.