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
Which of the following answers regarding Mealy and Moore Machines are true?
Rom4ik [11]

Answer:

suck bro ☺️☺️ lol

5 0
3 years ago
Can i join three 12 volts batteriesto give me 24 volts output​
bulgar [2K]

Answer:

YES

Explanation:

If we connect batteries in series then the output voltage is the sum of the individual voltage of each battery i.e if you connect three 12 volts batteries in series then their output voltage will be 12+12+12=36 volts, but the current rating of the batteries in series will be same of the individual battery rating in 'mah'.

But when we connect the batteries in parallel their voltage is not added  but their current rating in mah is addition of their individual rating.

So, If you want 24 volts from three 12 volts battery then you can connect two of them in series and the other one in parallel with them this will give 24 volts and the current will be addition of the two series batteries and the third which is in parallel with them. You can use this configuration if current value is not a big factor.

8 0
3 years ago
If an object has the same number of positive and negative charges, its electrical charge is
N76 [4]

When an object has the same number of positive and negative charges, its electrical charge will become neutral.

What is an electric charge?

When the matter is put in an electromagnetic field, it has an electric charge, which causes it to experience a force. A positive or negative electric charge can exist.

Now when the two equal magnitude charges with opposite natures come together they become neutral.

To know more about charges follow

brainly.com/question/24391667

#SPJ4

7 0
2 years ago
The hot and cold inlet temperatures to a concentric tube heat exchanger are Th,i = 200°C, Tc,i = 100°C, respectively. The outlet
alexgriva [62]

Answer:Counter,

0.799,

1.921

Explanation:

Given data

T_{h_i}=200^{\circ}C

T_{h_o}=120^{\circ}C

T_{c_i}=100^{\circ}C

T_{c_o}=125^{\circ}C

Since outlet temperature of cold liquid is greater than hot fluid outlet temperature therefore it is counter flow heat exchanger

Equating Heat exchange

m_hc_{ph}\left [ T_{h_i}-T_{h_o}\right ]=m_cc_{pc}\left [ T_{c_o}-T_{c_i}\right ]

\frac{m_hc_{ph}}{m_cc_{pc}}=\frac{125-100}{200-120}=\frac{25}{80}=C\left ( capacity rate ratio\right )

we can see that heat capacity of hot fluid is minimum

Also from energy balance

Q=UA\Delta T_m=\left ( mc_p\right )_{h}\left ( T_{h_i}-T_{h_o}\right )

NTU=\frac{UA}{\left ( mc_p\right )_{h}}=\frac{\left ( T_{h_i}-T_{h_o}\right )}{T_m}

T_m=\frac{\left ( 200-125\right )-\left ( 120-100\right )}{\ln \frac{75}{20}}

T_m=41.63^{\circ}C

NTU=1.921

And\ effectiveness \epsilon =\frac{1-exp\left ( -NTU\left ( 1-c\right )\right )}{1-c\left ( -NTU\left ( 1-c\right )\right )}

\epsilon =\frac{1-exp\left ( -1.921\left ( 1-0.3125\right )\right )}{1-0.3125exp\left ( -1.921\left ( 1-0.3125\right )\right )}

\epsilon =\frac{1-exp\left ( -1.32068\right )}{1-0.3125exp\left ( -1.32068\right )}

\epsilon =\frac{1-0.2669}{1-0.0834}

\epsilon =0.799

5 0
3 years ago
Kam
jolli1 [7]
I think D i’m not sure
7 0
3 years ago
Other questions:
  • Not a characteristic property of ceramic material (a) high temperature stability (b) high mechanical strength (c) low elongation
    7·2 answers
  • A motor vehicle has a mass of 1.8 tonnes and its wheelbase is 3 m. The centre of gravity of the vehicle is situated in the centr
    14·1 answer
  • Give two methods on how powder is produced in powder metallurgy.
    5·2 answers
  • You will be observing laminar-turbulent transition for room temperature (about 20°C) water flowing in a 0.602"" ID pipe (Schedul
    8·1 answer
  • Barry wants to convert mechanical energy into electric energy. What can he use?
    5·2 answers
  • Water of dynamic viscosity 1.12E-3 N*s/m2 flows in a pipe of 30 mm diameter. Calculate the largest flowrate for which laminar fl
    13·1 answer
  • A torsional pendulum consists of a 5 kg uniform disk with a diameter of 50 cm attached at its center to a rod 1.5 m in length. T
    13·1 answer
  • Which of the following sentences uses the word malleable correctly?
    7·2 answers
  • What is the purpose of making a jello pool
    6·1 answer
  • Three-dimensional measuring references all of these EXCEPT:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!