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
Analyze the example of this band saw wheel and axle. The diameter of the wheel is 14 inches. The diameter of the axle that drive
Kazeer [188]

The answer for the ideal mechanical advantage and actual mechanical advantage for the different scenarios are;

A) Ideal Mechanical Advantage = 18.67

B) Actual Mechanical Advantage = 4.1067

We are given;

Input distance; The diameter of the wheel; d_w = 14 inches

Output distance; The diameter of the axle that drives the wheel; d_a = 3/4 inches

The force needed to cut a one-inch-thick softwood board; F = 1.75 pounds

The efficiency of the band saw; η = 22% = 0.22

A) Formula for Mechanical advantage is;

M.A = Force output/Force input = (Input distance)/(Output distance)

Thus;

Ideal mechanical advantage = 14/(3/4)

Ideal mechanical advantage = 18.67

B) Now, we are given that efficiency of the band saw is η = 22% = 0.22.

Thus using the mechanical advantage formula above;

Actual mechanical advantage = 0.22 × Expected output

Actual mechanical advantage = 0.22 × 18.67

Actual mechanical advantage ≈ 4.1067

Read more about Mechanical Advantage at; brainly.com/question/18345299

5 0
2 years ago
A gas mixture containing 3 moles CO2, 5 moles H2 and 1 mole water is undergoing the following reactions CO2+3H2 →cH3OH + H2O Dev
Ilya [14]
Aaaaaaaaaaaaaaaaaaaaaa
7 0
2 years ago
The waffle slab is: a) the two-way concrete joist framing system. b) a one-way floor and roof framing system. c) the one-way con
GREYUIT [131]

Answer:

a) the two-way concrete joist framing system

Explanation:

A waffle slab is also known as ribbed slab, it is a slab which as waffle like appearance with holes beneath. It is adopted in construction projects that has long length, length more than 12m. The waffle slab is rigid, therefore it is used in building that needs minimal vibration.

4 0
3 years ago
Compute the solution to x + 2x + 2x = 0 for Xo = 0 mm, vo = 1 mm/s and write down the closed-form expression for the response.
Nutka1998 [239]

Answer:

β = \frac{c}{\sqrt{km} } =  0.7071 ≈ 1 ( damping condition )

closed-form expression for the response is attached below

Explanation:

Given :  x + 2x + 2x = 0   for Xo = 0 mm and Vo = 1 mm/s

computing a solution :

M = 1,

c = 2,

k = 2,

Wn = \sqrt{\frac{k}{m} }  = \sqrt{2}  

next we determine the damping condition using the damping formula

β = \frac{c}{\sqrt{km} } =  0.7071 ≈ 1

from the condition above it can be said that the damping condition indicates underdamping

attached below is the closed form expression for the response

6 0
2 years ago
The angle of twist can be computed using the material’s shear modulus if and only if: (a)- The shear stress is still in the elas
ollegr [7]

Answer:

The angle of twist can be computed using the material’s shear modulus if and only if the shear stress is still in the elastic region

Explanation:

The shear modulus (G) is the ratio of shear stress to shear strain. Like the modulus of elasticity, the shear modulus is governed by Hooke’s Law: the relationship between shear stress and shear strain is proportional up to the proportional limit of the material. The angle of twist can be computed using the material’s shear modulus if and only if the shear stress is still in the elastic region.

3 0
3 years ago
Other questions:
  • Chapter 15 – Fasteners: Determine the tensile load capacity of a 5/16 – 18 UNC thread and a 5/16 – 24 UNF thread made of the sam
    8·2 answers
  • Question 5
    7·2 answers
  • A. For a 200g load acting vertically downwards at point B’, determine the axial load in members A’B’, B’C’, B’D’, C’D’ and C’E’.
    8·1 answer
  • Which part does NOT rotate when the engine is running and the clutch pedal is depressed?
    7·1 answer
  • Question 3. Assign boston_under_10 and manila_under_10 to the percentage of rides that are less than 10 minutes in their respect
    14·1 answer
  • The air loss rate for a straight truck or bus with the engine off and the brakes
    11·1 answer
  • Determine the minimum required wire radius assuming a factor of safety of 3 and a yield strength of 1500 MPa.
    15·1 answer
  • if when you put your shirt in your pants, your shirt is tucked, does that mean when your shirt is over your pants, your pants ar
    6·2 answers
  • Technician A says when the brakes are applied in a vacuum booster, the vacuum control valve is closed. Technician B says the vac
    7·1 answer
  • I know this answer i just want too see if people know it too
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!