Answer:
// Program is written in C++
// Comments are used to explain some lines
// Only the required function is written. The main method is excluded.
#include<bits/stdc++.h>
#include<iostream>
using namespace std;
int divSum(int num)
{
// The next line declares the final result of summation of divisors. The variable declared is also
//initialised to 0
int result = 0;
// find all numbers which divide 'num'
for (int i=2; i<=(num/2); i++)
{
// if 'i' is divisor of 'num'
if (num%i==0)
{
if (i==(num/i))
result += i; //add divisor to result
else
result += (i + num/i); //add divisor to result
}
}
cout<<result+1;
}
In this exercise, using the knowledge of computational language in C++, we have that this code will be written as:
The code is in the attached image.
We can write the C++ as:
#include<bits/stdc++.h>
#include<iostream>
using namespace std;
int divSum(int num)
{
int result = 0;
for (int i=2; i<=(num/2); i++)
{
if (num%i==0)
{
if (i==(num/i))
result += i; //add divisor to result
else
result += (i + num/i); //add divisor to result
}
}
cout<<result+1;
}
See more about C++ at brainly.com/question/19705654
Answer:
temperature of first extraction 330.8°C
temperature of second extraction 140.8°C
power output=3168Kw
Explanation:
Hello!
To solve this problem we must use the following steps.
1. We will call 1 the water vapor inlet, 2 the first extraction at 100kPa and 3 the second extraction at 200kPa
2. We use the continuity equation that states that the mass flow that enters must equal the two mass flows that leave
m1=m2+m3
As the problem says, 20% of the flow represents the first extraction for which 5 * 20% = 1kg / s
solving
5=1+m3
m3=4kg/s
3.
we find the enthalpies and temeperatures in each of the states, using thermodynamic tables
Through laboratory tests, thermodynamic tables were developed, these allow to know all the thermodynamic properties of a substance (entropy, enthalpy, pressure, specific volume, internal energy etc ..)
through prior knowledge of two other properties
4.we find the enthalpy and entropy of state 1 using pressure and temperature
h1=Enthalpy(Water;T=T1;P=P1)
h1=3457KJ/kg
s1=Entropy(Water;T=T1;P=P1)
s1=7.234KJ/kg
4.
remembering that it is a reversible process we find the enthalpy and the temperature in the first extraction with the pressure 1000 kPa and the entropy of state 1
h2=Enthalpy(Water;s=s1;P=P2)
h2=3116KJ/kg
T2=Temperature(Water;P=P2;s=s1)
T2=330.8°C
5.we find the enthalpy and the temperature in the second extraction with the pressure 200 kPav y the entropy of state 1
h3=Enthalpy(Water;s=s1;P=P3)
h3=2750KJ/kg
T3=Temperature(Water;P=P3;s=s1)
T3=140.8°C
6.
Finally, to find the power of the turbine, we must use the first law of thermodynamics that states that the energy that enters is the same that must come out.
For this case, the turbine uses a mass flow of 5kg / s until the first extraction, and then uses a mass flow of 4kg / s for the second extraction, taking into account the above we infer the following equation
W=m1(h1-h2)+m3(h2-h3)
W=5(3457-3116)+4(3116-2750)=3168Kw
Answer:
option B
Explanation:
given,
heating tap water from 16° C to 50° C
at the average rate of 0.2 kg/min
the COP of this heat pump is 2.8
power output = ?
the required power input is 0.169 kW or 0.17 kW
hence, the correct answer is option B
Answer:
The horizontal conductivity is 41.9 m/d.
The vertical conductivity is 37.2 m/d.
Explanation:
Given that,
Thickness of A = 8.0 m
Conductivity = 25.0 m/d
Thickness of B = 2.0 m
Conductivity = 142 m/d
Thickness of C = 34 m
Conductivity = 40 m/d
We need to calculate the horizontal conductivity
Using formula of horizontal conductivity
Put the value into the formula
We need to calculate the vertical conductivity
Using formula of vertical conductivity
Put the value into the formula
Hence, The horizontal conductivity is 41.9 m/d.
The vertical conductivity is 37.2 m/d.
Answer:
Explanation:
mole fraction of propane after passing through the separator is
mole fractions of ethane and methane
after passing through separator are:
Change in partial pressures then can be written as:
where
and
are mole fractions after and before passing through the separator
Hence,
Answer:
0.556 Watts
Explanation:
w = Weight of object = 762 N
s = Distance = 5 m
t = Time taken = 29 seconds
a = Acceleration
g = Acceleration due to gravity = 9.81 m/s²
Equation of motion
Mass of the body
Force required to move the body
Velocity of object
Power
∴ Amount of power required to move the object is 0.556 Watts
This is spot to do today
Answer:
See below
Explanation:
Enter-key also called the "Return key," it is the keyboard key that is pressed to signal the computer to input the line of data or the command that has just been typed.It Was the Return KeyThe Enter key was originally the "Return key" on a typewriter, which caused the carriage to return to the beginning of the next line on the paper. In a word processing or text editing application, pressing Enter ends a paragraph. A character code for return/end-of-line, which is different in Windows than it is in the Mac, Linux or Unix, is inserted into the text at that point.
Answer:
True
Explanation:
Once there are two yellow lines having inner broken lines on the two sides of a center traffic lane, what this is trying to tell you is that you can use those lanes to start a left hand turn, or a U-turn from the both directions of traffic. However you cannot use it for passing. This is sometimes misunderstood by road users and drivers.