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
lubasha [3.4K]
4 years ago
11

Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Assuming the item is pai

d for with a minimum amount of change and just single dollars, write an expression for the number of single dollars that would have to be paid. python
Engineering
1 answer:
Svet_ta [14]4 years ago
5 0

Answer:

  1. price = 380
  2. dollar = (price // 100) + 1
  3. print(dollar)

Explanation:

Presume the an item cost 380 cents and we set 380 to the variable price (Line 1). To estimate the number of single dollars to be paid, we can use // operator to divide price by 100 and we will get 3 (the remaining decimal point will be discarded). Then we add 3 by one. So the expression is

(price//100) + 1

*The reason we divide price by 100 is because 1 dollar = 100 cents

You might be interested in
Is there a way to get the answers to a NCCER book test?
sergeinik [125]

Answer:

go on google and type NCEER book answers

3 0
3 years ago
The 40-ft-long A-36 steel rails on a train track are laid with a small gap between them to allow for thermal expansion. Determin
vfiekz [6]

Answer:

Ф = 0.02838 ft

F  = 1,032 N

Explanation:

To find out gap delta,

As it is case of free thermal expansion,

First we start with, some assumptions we have to made to solve this problem.

1. Thermal Expansion Coefficient of Steel is ∝= 6.45 ×10^(-6)

2. Modulas of elasticity for A-36 steel is E= 200 GPa

3. Area of rail is assumed to be unit area.

The gape required can be given by,

Ф = ∝  × ΔT  × L  ... where Ф= Gap Delta in ft

                                          ΔT= Temperature rise in F

                                               = 90- (-20)

                                               =  110 F

Ф =  6.45 ×10^(-6) × 110 × 40

Ф =  28,380 × 10^(-6) ft

Ф = 0.02838 ft     .... total gape required for expansion of steel rails

Stress induced in rails is given by,

   σ     =  ∝  × ΔT  × E

          =  6.45 ×10^(-6)   × 110  × 200

  σ      =  1,41,900 Pa

Now, let's find axial force in rails,

Here,we have to consider  ΔT= 20 F.

As due to temperature change, axial force generated in rails can be find by,

F = A × ∝ × ΔT× E × L

F = 1 × 6.45 × 10^(-6) × 20 × 200 × 10^(-9) × 40

F = 25,800 × 40 × 10^(-3)

F = 10,32,000 × 10^(-3)

F= 1,032 N

Finally, due to temperature change, rail is subjected to axial force, axial stress.

8 0
3 years ago
A __________ is an added note showing additional or more specific information.
xxMikexx [17]

Answer:

awnsers should be added to know to show additional

8 0
3 years ago
Multiple Choice
ra1l [238]
I need more details to your question
4 0
3 years ago
Read 2 more answers
A traffic flow has density 61 veh/km when the speed is 59 veh/hr. If a flow has a jam density of 122 veh/km, what is the maximum
antoniya [11.8K]

Since this traffic flow has a jam density of 122 veh/km, the maximum flow is equal to 3,599 veh/hr.

<u>Given the following data:</u>

  • Density = 61 veh/km.
  • Speed = 59 km/hr.
  • Jam density = 122 veh/km.

<h3>How to calculate the maximum flow.</h3>

According to Greenshield Model, maximum flow is given by this formula:

q_{max}=\frac{V_f \times K_i}{4}

<u>Where:</u>

  • V_f is the free flow speed.
  • K_i is the Jam density.

In order to calculate the free flow speed, we would use this formula:

V_f =2 V\\\\V_f =2\times 59\\\\V_f=118\;km/hr

Substituting the parameters into the model, we have:

q_{max}=\frac{118 \times 122}{4}\\\\q_{max}=\frac{14396}{4}

Max flow = 3,599 veh/hr.

Read more on traffic flow here: brainly.com/question/15236911

6 0
2 years ago
Other questions:
  • What is 100 kPa in psia?
    11·1 answer
  • The army has cars and boats etc right
    7·1 answer
  • Consider a fully developed laminar flow in a circular pipe. The velocity at R/2 (midway between the wall surface and the centerl
    6·1 answer
  • A hot-water stream at 80°C enters a mixing chamber with a mass flow rate of 0.46 kg/s where it is mixed with a stream of cold wa
    14·1 answer
  • Air,in a piston cylinder assembly, is initially at 300 K and 200 kPa.It is then heated at constant pressure to 600 K. Determine
    12·2 answers
  • What is wrong with the following code?<br> 6<br> print (what is your name?)
    9·2 answers
  • Compared with space operations specialists, intelligence officers are which of the following?
    7·1 answer
  • Make a sketch of a simple mechanically expanded brake and indicate the forces ​ ​ acting on the leading shoe when the brake is a
    10·1 answer
  • How to comment on brainly.com and I'm only 8-years-old so keep it simple please
    9·1 answer
  • This might count as engineering, I'm not sure as this is IT
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!