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
Mariulka [41]
3 years ago
12

Example 12: Write an algorithm and draw a flowchart to calculate

Engineering
1 answer:
Ilya [14]3 years ago
7 0

Answer:

An algotherum is a finite set of sequential instructions to accomplish a task where instructions are written in a simple English language

You might be interested in
Un material determinado tiene un espesor de 30 cm y una conductividad térmica (K) de 0,04 w/m°C. En un instante dado la distribu
aksik [14]

Answer:

Para x=0:

\phi=1.2 W/m^{2}  

Para x=30 cm:

\phi=-2.4 W/m^{2}  

Explanation

Podemos utilizar la ley de Fourier par determinar el flujo de calor:

\phi=-k\frac{dT}{dx}(1)

Por lo tanto debemos encontrar la derivada de T(x) con respecto a x primero.

Usando la ley de potencia para la derivda, tenemos:

\frac{dT(x)}{dx}=300x-30

Remplezando esta derivada en (1):

\phi=-0.04(300x-30)

Para x=0:

\phi=0.04(30)

\phi=1.2 W/m^{2}  

Para x=30 cm:

\phi=-0.04(300*0.3-30)

\phi=-2.4 W/m^{2}    

Espero que te haya ayudado!

4 0
3 years ago
13. Write a function which is passed two strings. The function creates a new string from the two original strings by copying one
attashe74 [19]

Answer:

I am writing the code in C++. Let me know if you want the program in some other programming language.

#include <iostream>  // includes header file for input output functions

using namespace std;     //to identify objects like cin cout

string CopyStrings(string string1, string string2)  

{   string newString = "";    

   for (int loop = 0; loop < string1.length() ||  

                   loop < string2.length(); loop++)      {      

       if (loop < string1.length())  

           newString += string1[loop];          

       if (loop < string2.length())  

           newString += string2[loop];      }  

   return newString;   }  

int main()  

{   string stringA = "ace";  

   string stringB = "bdf";  

   cout << CopyStrings(stringA, stringB);   }

Output:

abcdef

Explanation:

The function CopyStrings() function takes two strings i.e. string1 and string2 as parameters to copy characters from both the string one character from each.

The newString variable stores the new string after copying characters from both strings string1 and string2.

Then the for loop starts which has a variable loop which is an index variable that traverses through both the strings stored in string1 and string2. The loop continues to execute until it moves through entire length of string1 and string2 which means it copies all the characters from both string1 and string2. length() is used here which returns length of the string1 and string2.

If statement in the for loop checks the character that loop (index) variable is pointing to is less than the string1 length which means it checks each character stored in string1. For example if string1 contains "ace" and loop variable is moving through the string and is currently at "a" then this condition is true. If the condition evaluates to true then the body of if statement is executed. The next statement stores that character a into the newString variable.

Next If statement checks character that loop variable is pointing to is less than the string2 length which means it checks each character stored in string2. For example if string2 contains "bdf" and loop variable is moving through the string and is currently at "b" then this condition is true. If the condition evaluates to true then the body of if statement is executed. The next statement stores that character b into the newString variable.

Then the second iteration starts which again first stores the next character i.e. c from string1 into newString and then stores next character i.e d from string2 into newString.

Then the third iteration starts which again first stores the next character i.e. e from string1 into newString and then stores next character i.e f from string2 into newString.

Then the loop breaks as the loop variable reaches end of both the string1 and string2.

return newString will return the copied string into the output screen which is abcdef.

The screenshot of code along with output is attached.

3 0
3 years ago
An unknown relative passes away and bequeaths upon you a small tract of land in Amherst. You decide to build a two-story storage
Ratling [72]

Answer: It does make sense, because I've been involved in these careers and have a long family line of them. And other questions?

Explanation:

7 0
2 years ago
Is an example of an electrical device.
Yuki888 [10]
I think that it is all of the above
5 0
3 years ago
Read 2 more answers
Why is concrete on its own not a good material to use
Inga [223]

Answer:

It has poor tensile strength despite having high compressive strength

Explanation:

Concrete exhibits high compressive strength when used. However, it has very low compressive strength. This is the reason why concrete is normally combined with steel to make a composite building material called reinforced concrete. The steel reinforces concrete hence increasing the tensile strength in RC buildings. The end composite is durable and fireproof. Generally, the main reason why concrete is not use on its own is due to its poor tensile strength.

7 0
3 years ago
Other questions:
  • A water pump delivers 6 hp of shaft power when operating. The pressure differential between the outlet and the inlet of the pump
    9·1 answer
  • a valueable preserved biological specimen is weighed by suspeding it from a spring scale. it weighs 0.45 N when it is suspendedi
    11·1 answer
  • An FCC iron-carbon alloy initially containing 0.20 wt% C is carburized at an elevated temperature and in an atmosphere wherein t
    6·1 answer
  • I need answers for this sheet please.
    15·1 answer
  • when a metal, such as lead, is oxidied (loses electrons) to form a positive ion (cation), how does he solubility change?
    14·1 answer
  • Different metabolic control systems have different characteristic time scales for a control response to be achieved. Match the t
    6·1 answer
  • Three bars each made of different materials are connected together and placed between two walls when the temperature is 12 oC. D
    9·1 answer
  • T
    11·1 answer
  • Please help ill mark as brainlest
    13·1 answer
  • You are coming to this intersection, and are planning on turningright. There is a vehicle close behind you. You should?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!