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
svetoff [14.1K]
4 years ago
14

Type a C statement that declares and initializes variable taxRate to the value 0.085. Make sure to include a prefix 0 before typ

ing the .085
Engineering
1 answer:
Blizzard [7]4 years ago
7 0

Answer:

float taxRate = 0.085f

Explanation:

Variable initialisation in C (or any other programming language) is a way of declaring variable and assigning some values to the variable declared.

To initialise a variable in C, the data type, variable name and value are needed.

The following syntax must be obeyed when initialising a variable:

Data-type variable-name = value

Data-type represents which type of value is going to be stored in the variable.

Variable name, also known as identifier represents valid variable name (name of the allocated memory blocks for the variable).

Value represents the value or content of the declared variable.

You might be interested in
A plate (A-C) is connected to steelflat bars by pinsat A and B. Member A-E consists of two 6mm by 25mm parallel flat bars. At C,
juin [17]

Answer:

stress_ac = 5.333 MPa

shear stress_c = 1.763 MPa

Explanation:

Given:

- The missing figure is in the attachment.

- The dimensions of member AC = ( 6 x 25 ) mm x 2

- The diameter of the pin d = 19 mm

- Load at point A is P = 2 kN

Find:

-  Find the axial stress in AE and the shear stress in pin C.

Solution:

- The stress in member AE can be calculated using component of force P along the member AE  as follows:

                                    stress_ac = P*cos(Q) / A_ae

Where, Angle Q: A_E_B   and A_ac: cross sectional area of member AE.

                                    cos(Q) = 4 / 5   ..... From figure ( trigonometry )

                                    A_ae = 0.006*0.025*2 = 3*10^-4 m^2

Hence,

                                    stress_ae = 2*(4/5) / 3*10^-4

                                    stress_ae = 5.333 MPa

- The force at pin C can be evaluated by taking moments about C equal zero:

                                   (M)_c = P*6 - F_eb*3

                                      0 = P*6 - F_eb*3

                                      F_eb = 0.5*P

- Sum of horizontal forces for member AC is zero:

                                      P - F_eb - F_c = 0

                                      F_c = 0.5*P

- The shear stress of double shear bolt is given by an expression:

                                     shear stress = shear force / 2*A_pin

Where, The area of the pin C is:

                                     A_pin = pi*d^2 / 4

                                     A_pin = pi*0.019^2 / 4 = 2.8353*10^-4 m^2

Hence,

                                     shear stress = 0.5*P / 2*A_pin

                                     shear stress = 0.5*2 / 2*2.8353*10^-4

                                    shear stress = 1.763 MPa

7 0
3 years ago
Differnence between boat and ship​
Blababa [14]

Answer:

a ship is a large vessel intended for oceangoing or at least deep-water transport, and a boat is anything else." Basically, a ship can carry a boat, but a boat cannot carry a ship

5 0
3 years ago
Read 2 more answers
1) I love to swim. 2) A few years ago, my new year's resolution was to become a faster swimmer. 3) First, I started eating bette
bezimeni [28]
Do you think you could help me on my latest question
5 0
3 years ago
If a master cylinder piston applies pressure to a brak piston that has twice as much square area what will be the force from the
sp2606 [1]

Explanation:

Pressure = force/area

Pressure stays the same.

If the area is doubled the force is doubled.

5 0
3 years ago
Answer the following questions briefly<br> 1.Write the definitions of *Comminution and *Calcination
VikaD [51]

Answer:

Comminution is defined as the reduction of solid materials from one average particle size to a smaller average particle size through various methods which include crushing, grinding, cutting, vibrating etc,

Calcination is also defined as a thermal treatment process in the absence or limited supply of air or oxygen applied to ores and other solid materials to bring about a thermal(heat) decomposition.

8 0
3 years ago
Other questions:
  • When a mesh in a circuit contains an independent or dependent current source, this leads to a special case of mesh-current analy
    14·1 answer
  • Do you think for security reasons everything that happens on the internet should be analyzed by the public security services ?
    12·1 answer
  • 3. Which of the following is an example of qualitative data?
    14·1 answer
  • Write an application that solicits and inputs three integers from the user and then displays the sum, average, product, smallest
    6·1 answer
  • 8. When supplying heated air for a building, one often chooses to mix in some fresh outside air with air that has been heated fr
    11·1 answer
  • Which of the following refers to a full-scale version of a product used to validate performance?
    10·2 answers
  • Air expands through a turbine operating at steady state. At the inlet p1 = 150 lbf/in^2, T1 = 1400R and at the exit p2 = 14.8 lb
    10·1 answer
  • B) Calculate the FS against uplift and calculate effoctive stress at the base level for water
    11·1 answer
  • A coral reef is in danger of being destroyed by a seaside construction project. Which of the following best relates to how an en
    15·1 answer
  • "Transformer is used to change the voltage".
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!