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
Please help will give brainliest please answer all 3
larisa [96]

Answer: For #1 I'm going to go with A because that has to do with biology

For #2 I'm going to go with B oceans because that has to do with plant life (and life in general).

For #3 I'll say marine/maritime engineer (you can just say marine)

Hope it helps!

8 0
4 years ago
How can you kill someone but not kill some one but end up killing them?
sattari [20]

dkrktiroro49r9494949rototototofklfkfkrororor

5 0
3 years ago
Read 2 more answers
Air flows through a device such that the stagnation pressure is 0.4 MPa, the stagnation temperature is 400°C, and the velocity i
RoseWind [281]

To solve this problem it is necessary to apply the concepts related to temperature stagnation and adiabatic pressure in a system.

The stagnation temperature can be defined as

T_0 = T+\frac{V^2}{2c_p}

Where

T = Static temperature

V = Velocity of Fluid

c_p = Specific Heat

Re-arrange to find the static temperature we have that

T = T_0 - \frac{V^2}{2c_p}

T = 673.15-(\frac{528}{2*1.005})(\frac{1}{1000})

T = 672.88K

Now the pressure of helium by using the Adiabatic pressure temperature is

P = P_0 (\frac{T}{T_0})^{k/(k-1)}

Where,

P_0= Stagnation pressure of the fluid

k = Specific heat ratio

Replacing we have that

P = 0.4 (\frac{672.88}{673.15})^{1.4/(1.4-1)}

P = 0.399Mpa

Therefore the static temperature of air at given conditions is 72.88K and the static pressure is 0.399Mpa

<em>Note: I took the exactly temperature of 400 ° C the equivalent of 673.15K. The approach given in the 600K statement could be inaccurate.</em>

3 0
3 years ago
why would it be inappropriate to dimension to a feature on a surface that is not perpendicular to the line of sight?
bazaltina [42]
If you are drawing and dimensioning with a computer program the dimension will be inaccurate... If it is mechanical drawing then the fabricator would not have enough information to accurately measure the component. ie a circle turned a few degrees away from perp. would appear to be an ellipse. and may actually dimension that way
4 0
3 years ago
Complete the given statement with the most appropriate word.
siniylev [52]

Answer:

A. approachable

Explanation:

4 0
3 years ago
Other questions:
  • An air-standard dual cycle has a compression ratio of 9.1 and displacement of Vd = 2.2 L. At the beginning of compression, p1 =
    12·1 answer
  • A eutectic alloy is which of the following (two correct answers): (a) the composition in an alloy system at which the two elemen
    7·1 answer
  • Air (cp = 1.005 kJ/kg·°C) is to be preheated by hot exhaust gases in a cross-flow heat exchanger before it enters the furnace. A
    11·1 answer
  • Interpret the assembly program below: MOV R3,R0;
    12·1 answer
  • You are out of gas in the desert and you accidently dropped your phone battery down an Abandoned oil well. You have a charged ca
    14·1 answer
  • The use of alcohol can cause
    6·2 answers
  • The ABC Corporation manufactures and sells two products: T1 and T2. 20XX budget for the company is given below:
    11·1 answer
  • Which of these drum brake systems uses servo action in both directions?
    9·1 answer
  • EverFi future smart pie chart
    11·1 answer
  • Your driver license will be _____ if you race another driver on a public road, commit a felony using a motor vehicle, or are fou
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!