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]
3 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]3 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
PLS HELP ME
Oksana_A [137]

Answer:

The Euler buckling load of a 160-cm-long column will be 1.33 times the Euler buckling load of an equivalent 120-cm-long column.

Explanation:

160 - 120 = 40

120 = 100

40 = X

40 x 100 / 120 = X

4000 / 120 = X

33.333 = X

120 = 100

160 = X

160 x 100 /120 = X

16000 / 120 = X

133.333 = X

4 0
3 years ago
It is given that 50 kg/sec of air at 288.2k is iesntropically compressed from 1 to 12 atm. Assuming a calorically perfect gas, d
denis23 [38]

The exit temperature is 586.18K and  compressor input power is 14973.53kW

Data;

  • Mass = 50kg/s
  • T = 288.2K
  • P1 = 1atm
  • P2 = 12 atm

<h3>Exit Temperature </h3>

The exit temperature of the gas can be calculated isentropically as

\frac{T_2}{T_1} = (\frac{P_2}{P_1})^\frac{y-1}{y}\\ y = 1.4\\ C_p= 1.005 Kj/kg.K\\

Let's substitute the values into the formula

\frac{T_2}{T_1} = (\frac{P_2}{P_1})^\frac{y-1}{y} \\\frac{T_2}{288.2} = (\frac{12}{1})^\frac{1.4-1}{1.4} \\ T_2 = 586.18K

The exit temperature is 586.18K

<h3>The Compressor input power</h3>

The compressor input power is calculated as

P= mC_p(T_2-T_1)\\P = 50*1.005*(586.18-288.2)\\P= 14973.53kW

The compressor input power is 14973.53kW

Learn more on exit temperature and compressor input power here;

brainly.com/question/16699941

brainly.com/question/10121263

6 0
2 years ago
A light bar AD is suspended from a cable BE and supports a 20-kg block at C. The ends A and D of the bar are in contact with fri
babymother [125]

Answer:

Tension in cable BE= 196.2 N

Reactions A and D both are  73.575 N

Explanation:

The free body diagram is as attached sketch. At equilibrium, sum of forces along y axis will be 0 hence

T_{BE}-W=0 hence

T_{BE}=W=20*9.81=196.2 N

Therefore, tension in the cable, T_{BE}=196.2 N

Taking moments about point A, with clockwise moments as positive while anticlockwise moments as negative then

196.2\times 0.125- 196.2\times 0.2+ D_x\times 0.2=0

24.525-39.24+0.2D_x=0

D_x=73.575 N

Similarly,

A_x-D_y=0

A_x=73.575 N

Therefore, both reactions at A and D are 73.575 N

7 0
3 years ago
What are Tresca and Von Mises yield criteria?
elena-s [515]

Answer

For isotropic material plastic yielding depends upon magnitude of the principle stress not on the direction.

Tresca and Von Mises yield criteria are the yield model which is widely used.

The Tresca yield criterion stated that yielding will occur in a material only when the greatest maximum shear stress reaches a critical value.

max{|σ₁ - σ₂|,|σ₂ - σ₃|,|σ₃ - σ₁|} = σ_f

under plane stress condition

  |σ₁ - σ₂| = σ_f

The Von mises yielding criteria stated that the yielding will occur when elastic energy of distortion reaches critical value.

σ₁² - σ₁ σ₂ + σ₂² =  σ²_f

5 0
3 years ago
A gas tank is known to have a thickness of 0.5 inches and an internal pressure of 2.2 ksi. Assuming that the maximum allowable s
sergiy2304 [10]

Answer:

D_o=11.9inch

Explanation:

From the question we are told that:

Thickness T=0.5

Internal PressureP=2.2Ksi

Shear stress \sigma=12ksi

Elastic modulus \gamma= 35000

Generally the equation for shear stress is mathematically given by

 \sigma=\frac{P*r_1}{2*t}

Where

r_i=internal Radius

Therefore

 12=\frac{2.2*r_1}{2*0.5}

 r_i=5.45

Generally

 r_o=r_1+t

 r_o=5.45+0.5

 r_o=5.95

Generally the equation for outer diameter is mathematically given by

 D_o=2r_o

 D_o=11.9inch

Therefore

Assuming that the thin cylinder is subjected to integral Pressure

Outer Diameter is

 D_o=11.9inch

7 0
3 years ago
Other questions:
  • A fluid has a dynamic viscosity of 0.048 Pa.s and a specific gravity of 0.913. For the flow of such a fluid over a flat solid su
    10·1 answer
  • 2.14 (a) Using series/parallel resistance reductions, find the equivalent resistance between terminals A and B in the circuit of
    14·1 answer
  • What is the maximum number of 12-2 with ground nonmetallic-sheathed cables permitted in an 18-cubic-inch device box if two singl
    11·2 answers
  • Use the APWA 5600 methodology to compute the 1/25 design discharge for the following catchment. The catchment area consists of 1
    9·1 answer
  • Write a method called compFloat5 which accepts as input two doubles as an argument (parameter). Write the appropriate code to te
    9·1 answer
  • How do you calculate the dynamic lift in an aeroplane?
    5·1 answer
  • Read a 4 character number. Output the result in in the following format, Input 9873, Output 3 *** 7 ******* 8 ******** 9 *******
    8·1 answer
  • A weighted, frictionless piston-cylinder device initially contains 5.25 kg of R134a as saturated vapor at 500 kPa. The container
    7·1 answer
  • An 80-percent-efficient pump with a power input of 20 hp is pumping water from a lake to a nearby pool at a rate of 1.5 ft3/s th
    14·1 answer
  • Why won't Brainly let me make a account or log in? It's always telling me that it can't take my registration at this time or it
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!