1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
saul85 [17]
3 years ago
11

function summedValue = SummationWithLoop(userNum) % Summation of all values from 1 to userNum summedValue = 0; i = 1; % Write a

while loop that assigns summedValue with the % sum of all values from 1 to userNum end
Engineering
1 answer:
Alexeev081 [22]3 years ago
8 0

Answer:

function summedValue = SummationWithLoop(userNum)

% Summation of all values from 1 to userNum

  summedValue = 0;

  i = 0;

  % use a while loop that assigns summedValue with the

  % sum of all values from 1 to userNum

  while(i <= userNum)

      summedValue = summedValue + i;

      i = i + 1;

  end

end

You might be interested in
It is not a practical proposition to take direct measurements in nanoscale, but we can estimate variations in position and momen
Volgvan

Answer:

Answer is c Heisenberg's uncertainty principle

Explanation:

According to Heisenberg's uncertainty principle there is always an inherent uncertainty in measuring the position and momentum of a particle simultaneously.

Mathematically

\Delta x\times \Delta \overrightarrow{p}\geq \frac{h}{4\pi }

here 'h' is planck's constant

7 0
3 years ago
Convert A'B'C'D' + A'B'C'D + A'B'CD' + A'BC'D + AB'C'D' + AB'C'D+ AB'CD' to SOP form
bazaltina [42]

Answer:

thats really hard how could you answerthis hhhhhhh

6 0
2 years ago
Read 2 more answers
The simple majority decision rule may generate results that are
Arisa [49]

Answer:

Efficient when the marginal benefits of project = marginal costs of project.

Explanation:

Majority Decision Rule:

Majority decision rule is based on the notion of equality. An alternative is selected which has majority of votes. The simple majority decision rule may generate efficient results if the marginal benefits of a project are equal or greater than the marginal costs of the project.

5 0
3 years ago
Consider a 2-shell-passes and 8-tube-passes shell-and-tube heat exchanger. What is the primary reason for using many tube passes
Maru [420]

Answer:

See explanation

Explanation:

Solution:-

- The shell and tube heat exchanger are designated by the order of tube and shell passes.

- A single tube pass: The fluid enters from inlet, exchange of heat, the fluid exits.

- A multiple tube pass: The fluid enters from inlet, exchange of heat, U bend of the fluid, exchange of heat, .... ( nth order of pass ), and then exits.

- By increasing the number of passes we have increased the "retention time" of a specific volume of tube fluid; hence, providing sufficient time for the fluid to exchange heat with the shell fluid.

- By making more U-turns we are allowing greater length for the fluid flow to develop with " constriction and turns " into turbulence. This turbulence usually at the final passes allows mixing of fluid and increases the heat transfer coefficient by:

                                U ∝ v^( 0.8 )    .... ( turbulence )

- The higher the velocity of the fluids the greater the heat transfer coefficient. The increase in the heat transfer coefficient will allow less heat energy carried by either of the fluids to be wasted ; hence, reduced losses.

Thereby, increases the thermal efficiency of the heat exchanger ( higher NTU units ).

5 0
3 years ago
Reduce the force F ij = + (2 5 ) kN to point A(2m,3m) that acts on point B( 3m,5m) - .
Alexxx [7]

Given :

Force, \vec{F}= (2\hat{i} + 5\hat{j})\ kN.

Force is acting at point A( 2 m, 3 m ) and B( 3 m, 5 m )

To Find :

The work done by force F .

Solution :

Displacement vector between point A and B is :

\vec{d} = (3-2)\hat{i} + (5-3)\hat{j}\\\\\vec{d} = \hat{i} + 2\hat{j}

Now, we know work done is given by :

W = \vec{F}.\vec{d}\\\\W= (2\hat{i} + 5\hat{j}).(\hat{i}+\hat{2j})\\\\W = (2\times 1) +( 5\times 2) \ kJ\\\\W = 12 \ kJ

W = 12000 J

Therefore, work done by force is 12000 J .

6 0
3 years ago
Other questions:
  • What is the zone that has just been added to the exchange zone where athletes may now hand off the baton
    5·1 answer
  • What is compression ratio of an Otto cycle? How does it affect the thermal efficiency of the cycle?
    14·1 answer
  • If the outside diameter of a pipe is 2 m, the length of a piece of insulation wrapped around it would be a)- 628 cm b)- 12.56 m.
    15·1 answer
  • If 100 J of heat is added to a system so that the final temperature of the system is 400 K, what is the change in entropy of the
    5·1 answer
  • Determine the reactor volume (assume a CSTR activated sludge aerobic reactor at steady state) required to treat 5 MGD of domesti
    5·1 answer
  • Which of the following is a purpose of sports biomechanics?
    14·1 answer
  • What is a chipping hammer used for? <br><br> State three things.
    7·2 answers
  • There are three different types of slings. What determines which type you use?
    13·1 answer
  • Describe two other safe driver skills a driver should use when driving in this road condition
    7·1 answer
  • Contrast moral and immoral creativity and innovation<br>​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!