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
zysi [14]
3 years ago
9

6.8.1: Function pass by pointer: Transforming coordinates. Define a function CoordTransform() that transforms its first two inpu

t parameters xVal and yVal into two output parameters xValNew and yValNew. The function returns void. The transformation is new = (old + 1) * 2. Ex: If xVal = 3 and yVal = 4, then xValNew is 8 and yValNew is 10.
Engineering
1 answer:
Black_prince [1.1K]3 years ago
6 0

Answer:

The code is in the Explanation

Explanation:

#include <iostream>

using namespace std;

int main() {

int xValNew = 0;

int yValNew = 0;

CoordTransform(3, 4, xValNew, yValNew);

cout << "(3, 4) becomes " << "(" << xValNew << ", " << yValNew << ")" << endl;

return 0;}

You might be interested in
Calculate the density of the FCC nickel lattice with an interstitial hydrogen in the centered position of the unit cell. You may
Anastaziya [24]

Answer:

\rho=8907.94\ Kg/m^3

Explanation:

Given that

a=3.524 A

At.Wt. ,M= 58.7 g/mole,

 For FCC

 Z = 4

4r=\sqrt2\ a

The density given as

\rho=\dfrac{ZM}{N_Aa^3}

\rho=\dfrac{4\times 58.7\times 10^{-3} }{ 6.023\times 10^{23}\times (3.524\times 10^{-10})^3}

\rho=8907.94\ Kg/m^3

So the density is \rho=8907.94\ Kg/m^3

4 0
3 years ago
As soldiers get bigger and packs get heavier, a parachutist and load can weigh as much as 490 lbf. The standard 28-ft parachute
vovangra [49]

Answer:

hmmmmm...

Explanation:

8 0
3 years ago
Quinn’s relatives relayed a story about putting on a headset and seeing a digital world that they could walk around in and explo
Kryger [21]

Answer:

I know it is C)Virtual reality

Explanation:

Look at the clues

story about putting on a headset ( virtual reality head set!)

seeing a digital world (A virtual reality world)

they could walk around in (Fake walking you are basically jogging in place)

explore in order to see what ancient Benin looked like (Looking at a real place only digitally)

as if they were really there ( they think they are actually there)

The only reason I know all of this is because I have done virtual reality multiple times and I LOVED it SUPER fun ( I was doing archery) :) Hope this helps!

6 0
3 years ago
Read 2 more answers
Helium is used as the working fluid in a Brayton cycle with regeneration. The pressure ratio of the cycle is 8, the compressor i
Temka [501]

Answer:

Explanation:

Find the temperature at exit of compressor

T_2=300 \times 8^{\frac{1.667-1}{1.667} }\\=689.3k

Find the work done by the compressor

\frac{W}{m} =c_p(T_2-T_1)\\\\=5.19(689.3-300)\\=2020.4kJ/kg

Find the actual workdone by the compressor

\frac{W}{m} =n_c(\frac{W}{m} )\\\\=1 \times 2020.4kJ/kg

Find the temperature at exit of the turbine

T_4=\frac{1800}{8^{\frac{1.667-1}{1.667} }} \\\\=787.3k

Find the actual workdone by the turbine

1 \times 5.19 (1800-783.3)\\=5276.6kJ/kg

Find the temperature of the regeneration

\epsilon = \frac{T_5-T_2}{T_4-T_2} \\\\0.75=\frac{T_5-689.3}{783.3-689.3} \\\\T_5=759.8k

Find the heat supplied

Q_i_n=c_p(T_3-T_5)\\\\=5.19(1800-759.8)\\\\=5388.2kJ/kg

Find the thermal efficiency

n_t_h=\frac{W_t-W_c}{Q_i_n} \\\\=\frac{5276.6-2020.4}{5388.2} \\\\n_t_h=60.4

60.4%

Find the mass flow rate

m=\frac{W_net}{P} \\\\\frac{60 \times 10^3}{5276.6-2020.4} \\\\=18.42

Find the actual workdone by the compressor

\frac{W_c}{m} =\frac{(\frac{W}{m} )}{n_c} \\\\=\frac{2020.4}{0.8} \\\\=2525.5kg

Find the actual workdone by the turbine

\frac{W_t}{m} =n_t(\frac{W}{m} )\\\\=0.8 \times5.19(1800-783.3)\\\\=4221.2kJ/kg

Find the temperature of the compressor exit

\frac{W_t}{m} =c_p(T_2_a-T_1)\\2525.5=5.18(T_2_a-300)\\T_2_a=787.5k

Find the temperature at the turbine exit

4221.2=5.18(1800-T_4_a)\\\\T_4_a=985k

Find the temperature of regeneration

\epsilon =\frac{T_5-T_2}{T_4-T_2}\\\\0.75=\frac{T_5-787.5}{985-787.5}\\\\T_5=935.5k

6 0
3 years ago
Read 2 more answers
A vineyard owner is planting several new rows of grapevines, and needs to know how many grapevines to plant in each row. She has
boyakko [2]

Answer:

Finally, display the number of grapevines that will fit in the row

Explanation:

A vineyard owner is planting several new rows of grapevines, and needs to know how many grapevines to plant in each row. She has determined that after measuring the length of a future row, she can use the following formula to calculate the number of vines that will fit in the row, along with the trellis end-post assemblies that will need to be constructed at each end of the row:

V=R-2E/S

The terms in the formula are:

V is the number of grapevines that will fit in the row.

R is the length of the row, in feet.

E is the amount of space, in feet, used by an end-post assembly.

S is the space between vines, in feet.

Write a program that makes the calculation for the vineyard owner. The program should ask the user to input the following:

• The length of the row, in feet

• The amount of space used by an end-post assembly, in feet

• The amount of space between the vines, in feet

Once the input data has been entered, the program should calculate and display the number of grapevines that will fit in the row.

• Declare the variables amountSpace, vinesSpace, and grapevines of double type.

• Prompt and read the length of the row, in feet, the amount of space, in feet, and the space between vines, in feet.

• Calculate the number of grapevines that will fit in the row using the below formula:

grapvines=(rowLength-2*amountSpace)/vinesSpace;

• Finally, display the number of grapevines that will fit in the row.

8 0
3 years ago
Other questions:
  • For the speed equation along centerline of a diffuser, calculate the fluid acceleration along the diffuser centerline as a funct
    5·2 answers
  • The 150-lb man sits in the center of the boat, which has a uniform width and a weight per linear foot of 3 lb&gt;ft. Determine t
    9·1 answer
  • Argon is compressed in a polytropic process with n=1.2 from 120 kPa and 10 °C to 800 kPa in a piston cylinder device. Determine:
    11·1 answer
  • lsggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
    5·2 answers
  • An FCC iron–carbon alloy initially containing 0.35 wt% C is exposed to an oxygen-rich and virtually carbon-free atmosphere at 14
    11·1 answer
  • An assembly line in a modern business compared to 1 from Henry Ford's time is more likely to rely on which of the following unsk
    13·1 answer
  • As the porosity of a refractory ceramic brick increases:
    13·1 answer
  • Determine size of a standard square key made of 1045 hot rolled steel for a 2 inch DIA shaft transmitting 100 HP at 500 rpm with
    12·1 answer
  • Mahamad Siddiqui sent false emails and letters of recommendation on behalf of individuals without their permission to nominate h
    12·1 answer
  • What is the definition of a sheet metal tab?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!