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]
3 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]3 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
What is the weight density of a 2.24 in diameter titanium sphere that weights 0.82 lb?
nasty-shy [4]

Answer:

0.14\ lb/in^{3}

Explanation:

Density is defined as mass ler unit volume, expressed as

\rho=\frac {m}{v}

Where m is mass, \rho is density and v is the volume. For a sphere, volume is given as

v=\frac {4\pi r^{3}}{3}

Replacing this into the formula of density then

\rho=\frac {m}{\frac {4\pi r^{3}}{3}}

Given diameter of 2.24 in then the radius is 1.12 in. Substituting 0.82 lb for m then

\rho=\frac {0.82}{\frac {4\pi 1.12^{3}}{3}}=0.13932044952427\approx 0.14 lb/in^{3}

4 0
3 years ago
When moving cylinders always remove and make
Karolina [17]

Unless cylinders are firmly secured on a special carrier intended for this purpose, regulators shall be removed and valve protection caps put in place before cylinders are moved. A suitable cylinder truck, chain, or other steadying device shall be used to keep cylinders from being knocked over while in use.

5 0
3 years ago
Please answer the questions !
gizmo_the_mogwai [7]

Answer:

120

Explanation:

6 0
3 years ago
Casein, a dairy product used in making cheese, contains 25% moisture when wet. A dairy sells this product for $40/100 kg. If req
Nataly_w [17]

Based on the percent moisture content of the dried product, the mass of dried casein produced os 852.3 kg.

<h3>What is the mass of casein in wet casein?</h3>

The mass of casein in 1000 Kg of wet casein is 75% 1000 kg = 750 Kg

Mass of water 250 kg

The mass of casein is constant while the moisture content can be changed.

At 12% moisture content;

750 kg = 88%%

100 % = 100 ×750/88 = 852.27 kg

Therefore, the mass of dried casein produced os 852.3 kg.

Learn more about mass at: brainly.com/question/24658038

#SPJ1

3 0
2 years ago
An ideal vapor-compression refrigeration cycle operates at steady state with Refrigerant 134a as the working fluid. Saturated va
Ksju [112]

Explanation:

Note: Refer the diagram below

Obtaining data from property tables

State 1:

\left.\begin{array}{l}P_{1}=1.25 \text { bar } \\\text { Sat - vapour }\end{array}\right\} \begin{array}{l}h_{1}=234.45 \mathrm{kJ} / \mathrm{kg} \\S_{1}=0.9346 \mathrm{kJ} / \mathrm{kgk}\end{array}

State 2:

\left.\begin{array}{l}P_{2}=5 \text { bor } \\S_{2}=S_{1}\end{array}\right\} \quad h_{2}=262.78 \mathrm{kJ} / \mathrm{kg}

State 3:

\left.\begin{array}{l}P_{3}=5 \text { bar } \\\text { Sat }-4 q\end{array}\right\} h_{3}=71-33 \mathrm{kJ} / \mathrm{kg}

State 4:

Throttling process  h_{4}=h_{3}=71.33 \mathrm{kJ} / \mathrm{kg}

(a)

Magnitude of compressor power input

\dot{w}_{c}=\dot{m}\left(h_{2}-h_{1}\right)=\left(8 \cdot 5 \frac{\mathrm{kg}}{\min } \times \frac{1 \mathrm{min}}{\csc }\right)(262.78-234 \cdot 45)\frac{kj}{kg}

w_{c}=4 \cdot 013 \mathrm{kw}

(b)

Refrigerator capacity

Q_{i n}=\dot{m}\left(h_{1}-h_{4}\right)=\left(\frac{g \cdot s}{60} k_{0} / s\right) \times(234 \cdot 45-71 \cdot 33) \frac{k J}{k_{8}}

Q_{i n}=23 \cdot 108 \mathrm{kW}\\1 ton of retregiration =3.51 k \omega

\ Q_{in} =6 \cdot 583 \text { tons }

(c)

Cop:

\beta=\frac{\left(h_{1}-h_{4}\right)}{\left(h_{2}-h_{1}\right)}=\frac{Q_{i n}}{\omega_{c}}=\frac{23 \cdot 108}{4 \cdot 013}

\beta=5 \cdot 758

3 0
3 years ago
Other questions:
  • What are the challenges posed by strategic information systems, and how should they be addressed?
    10·1 answer
  • Determine the required dimensions of a column with a square cross section to carry an axial compressive load of 6500 lb if its l
    12·2 answers
  • A 1000 W iron utilizes a resistance wire which is 20 inches long and has a diameter of 0.08 inches. Determine the rate of heat g
    12·1 answer
  • What Degree Do You Need To Become a Solar Engineer?<br> (2 or more sentences please)
    13·1 answer
  • can someone help me with this engineering mechanics homework, please? I tried to solve it, but I got so confused.​
    5·1 answer
  • This is a blueprint drawing of the stage area at Millennium Park. The length of one square on the grid is equal to 5 feet. Accor
    14·1 answer
  • If a ball is dropped from a height its velocity will increase until it hits the ground, assuming that aerodynamic drag due to th
    6·1 answer
  • A square isothermal chip is of width w 5 mm on a side and is mounted in a substrate such that its side and back surfaces are wel
    11·1 answer
  • Multilane roads use what to divide lanes of traffic moving in the same direction.
    14·2 answers
  • The most important rating for batteries is the what
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!