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
SashulF [63]
3 years ago
15

Where does Elizabeth want John to do and what does she want him to do there?​

Engineering
1 answer:
ollegr [7]3 years ago
8 0
What is the question?
You might be interested in
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
A turbojet aircraft flies with a velocity of 800 ft/s at an altitude where the air is at 10 psia and 20 F. The compressor has a
nika2105 [10]

Answer:

Pressure = 115.6 psia

Explanation:

Given:

v=800ft/s

Air temperature = 10 psia

Air pressure = 20F

Compression pressure ratio = 8

temperature at turbine inlet = 2200F

Conversion:

1 Btu =775.5 ft lbf, g_{c} = 32.2 lbm.ft/lbf.s², 1Btu/lbm=25037ft²/s²

Air standard assumptions:

c_{p}= 0.0240Btu/lbm.°R, R = 53.34ft.lbf/lbm.°R = 1717.5ft²/s².°R 0.0686Btu/lbm.°R

k= 1.4

Energy balance:

h_{1} + \frac{v_{1} ^{2} }{2} = h_{a} + \frac{v_{a} ^{2} }{2}\\

As enthalpy exerts more influence than the kinetic energy inside the engine, kinetic energy of the fluid inside the engine is negligible

hence v_{a} ^{2} = 0

h_{1} + \frac{v_{1} ^{2} }{2} = h_{a} \\h_{1} -h_{a} = - \frac{v_{1} ^{2} }{2} \\ c_{p} (T_{1} -T_{a})= - \frac{v_{1} ^{2} }{2} \\(T_{1} -T_{a}) = - \frac{v_{1} ^{2} }{2c_{p} }\\ T_{a}=T_{1} +  \frac{v_{1} ^{2} }{2c_{p} }

T_{1} = 20+460 = 480°R

T_{a}  =480+  \frac{(800)(800}{2(0.240)(25037}= 533.25°R

Pressure at the inlet of compressor at isentropic condition

P_{a } =P_{1}(\frac{T_{a} }{T_{1} }) ^{k/(k-1)}

P_{a} = (10)(\frac{533.25}{480}) ^{1.4/(1.4-1)}= 14.45 psia

P_{2}= 8P_{a} = 8(14.45) = 115.6 psia

4 0
3 years ago
Read 2 more answers
Rafel knows that lessons learned is a valuable aid to future projects. When should he and his team address
Arada [10]

Answer: Create lessons learned at the end of the project.

Explanation:

Lessons learned are the experiences that are gotten from a project which should be taken into account for the future projects. Lesson learned are created at the end of the project.

The main objective of the lessons learned is that they show both the positive experience and the negative experience of a project and this will help the future projects that will be undertaken.

5 0
2 years ago
All brake lights are dimmer than normal. Technician A says that bad bulbs could be the cause. Technician B says that high resist
yarga [219]

Answer:

All Brake lights are dimmer than normal because high resistance in the brake switch could be the cause according to Technician B.

Explanation:

According to Technician A

When the bulb is faulty then no current will flow through bulb and it will be open circuit.So no light will produce in bulb .

According to Technician B

When a high resistance inserted in series  circuit the voltage across each resistance is reduced and this cause the light glow dimly.

Formula of resistance in series circuit

Rt=r1+r2+r3......

5 0
3 years ago
can someone help me with this engineering mechanics homework, please? I tried to solve it, but I got so confused.​
marishachu [46]

Explanation:

Sum of forces in the x direction:

∑Fx = ma

Rx − 250 N = 0

Rx = 250 N

Sum of forces in the y direction:

∑Fy = ma

Ry − 120 N − 300 N = 0

Ry = 420 N

Sum of forces in the z direction:

∑Fz = ma

Rz − 50 N = 0

Rz = 50 N

Sum of moments about the x axis:

∑τx = Iα

Mx + (-50 N)(0.2 m) + (-120 N)(0.1 m) = 0

Mx = 22 Nm

Sum of moments about the y axis:

∑τy = Iα

My = 0 Nm

Sum of moments about the z axis:

∑τz = Iα

Mz + (250 N)(0.2 m) + (-120 N)(0.16 m) = 0

Mz = -30.8 Nm

6 0
3 years ago
Other questions:
  • An aluminum heat sink (k = 240 W/m-K) used to cool an array of electronic chips consists of a square channel of inner width w =
    6·2 answers
  • A 55-μF capacitor has energy ω (t) = 10 cos2 377t J and consider a positive v(t). Determine the current through the capacitor.
    12·1 answer
  • What is something that a robot or computer program might do that requires a decision, or conditional statement?
    9·1 answer
  • What is the steady-state value of the output of a system with transfer function G(s)= 6/(12s+3), subject to a unit-step input?
    5·1 answer
  • What is the relative % change in P if we double the absolute temperature of an ideal gas keeping mass and volume constant?
    14·1 answer
  • What's the best way to find the load capacity of a crane? Select the best option. Call the manufacturer Ask co-workers Look at t
    8·1 answer
  • A city emergency management agency and a construction company have formed a public-private partnership. The construction company
    15·1 answer
  • Suppose that we have a 1000 pF parallel-plate capacitor with air dielectric charged to 1000 V. The capacitors terminals are open
    13·1 answer
  • The controller determines if a(n) _________ exists by calculating the difference between the SP and the PV.
    6·1 answer
  • Aqueous cleaners are ________ parts cleaning agents.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!