Engineering, 24.04.2020 17:24 vivian2020
The first thing we'll need to do is design and implement an items class! We can then instantiate it to create the item objects that are part of the receipt. The item class should have three attributes. __name - A string with the item name. __price - A float with the item price in dollars. __taxable - A Boolean that is true if the item is taxed. The item class should have the following methods. __init__ - The constructor. Takes data for all three attributes as parameters. These parameters should be in same type as their associated attributes. __str__ - returns the item as a string. getPrice - return the price of the item. getTax - Takes the tax rate as a floating point parameter. Returns the tax charged on t
Answers: 3
Engineering, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
The first thing we'll need to do is design and implement an items class! We can then instantiate it...
Computers and Technology, 24.11.2021 01:00
Mathematics, 24.11.2021 01:00
Mathematics, 24.11.2021 01:00
Mathematics, 24.11.2021 01:00
Mathematics, 24.11.2021 01:00
Geography, 24.11.2021 01:00
Physics, 24.11.2021 01:00
History, 24.11.2021 01:00
Chemistry, 24.11.2021 01:00
Business, 24.11.2021 01:00
Social Studies, 24.11.2021 01:00
Mathematics, 24.11.2021 01:00
Geography, 24.11.2021 01:00