answer.
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
Sever21 [200]
2 years ago
3

Make sure the file HouseSign.py is selected and open. You need to assign variables for the following: A variable for the cost of

the sign assigned to 0.00 (charge). A variable for the number of characters assigned to 8 (numChars). A variable for the color of the characters assigned to "gold" (color). A variable for the wood type assigned to "oak" (woodType). Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you. Execute the program by clicking the Run button at the bottom of the screen. Your output should be: The charge for this sign is $82.0. g
Engineering
1 answer:
miv72 [106K]2 years ago
5 0

Answer:

The code script is explained below

Explanation:

Code :

# assigning variables to given values

numChar = 8

charge = 0.00

color = 'gold'

woodType = 'oak'

# check if number of characters is greater than 5, add $4 for every extra character

if numChar > 5: charge += (numChar - 5) * 4

# if wood is of oak add charge by 20

if woodType is 'oak': charge += 20

# if coloring is gold then add charge by 15

if color is 'gold': charge += 15

# add charge by 35 as minimum charge

charge += 35

#orint the charge to screen

print("The charge for this sign is $%.1f" %charge)

You might be interested in
Universal Containers has a junction object called "Job Production Facility". With 2 master-detail relationships to the Job and P
alexdok [17]

Answer:

C. The user will not be able to see the junction object records or the field values.

Explanation:

For the profile of the user to give access permission such as create and read to the job without granting access permission to the production facility object, the value of the field or records of the junction object will not be seen by the user. This is one of the necessary criteria or principle for the universal container with a junction object.

3 0
2 years ago
Explain why the fundamental software engineering principles of process, dependability, requirements management, and reuse are re
Svet_ta [14]

Answer:

1. Costs and frequency of change.

2. The most important ‘non-functional’ requirements. Different systems have different priorities for non-functional requirements.

3. The software lifetime and delivery schedule.

Explanation:

The process of requirement gathering is required in both generic and customized software.

• A document to define the development process is required in all type of software application.

• Updating is required in each type of software. For doing so, new version of each type of software is released.

• Maintenance is an important part of software development. It is required in each type of application development.

• Software has some minimum requirements to execute. So, platform dependability is considered in all software development.

5 0
2 years ago
Read 2 more answers
A 227 pound compressor is supported by four legs that contact the floor of a machine shop. At the bottom of each leg there is a
Ganezh [65]

Answer:

1.312 in

Explanation:

Data provided in the question:

Weight of the compressor, W = 227 pound

Number of legs = 4

Maximum pressure = 42 psi

Now,

Let F be the force taken by the legs

Therefore,

W = 4F

or

227 pound = 4F

or

F = 56.75 pounds

Also,

Force = Pressure × Area

or

56.75 pounds = 42 psi × πr²                      [ r is the diameter of one leg]

or

r² = 0.4301

or

r = 0.656

therefore,

diameter = 2r = 2 × 0.656

= 1.312 in

6 0
2 years ago
A dielectric material, such as Teflon®, is placed between the plates of a parallel-plate capacitor without altering the structur
Lina20 [59]

Answer: The electric field decreases because of the insertion of the Teflon.

Explanation:

If the charge on the capacitor is held fixed, the electric field as a consequence of this charge distribution (directed from the positive charged plate to the negative charged one remains unchanged.

However, as the Teflon is a dielectric material, even though doesn't allow the free movement of the electrons as an answer to an applied electric field, it allows that the electrons be displaced from the equilibrium position, leaving a local negative-charged zone close to the posiitive plate of the capacitor, and an equal but opposite charged layer close to the negative plate.

In this way, a internal electric field is created, that opposes to the external one due to the capacitor, which overall effect is diminishing the total electric field, reducing the voltage between the plates, and  increasing the capacitance proportionally to the dielectric constant of the Teflon.  

8 0
2 years ago
A cylindrical part of diameter d is loaded by an axial force P. This causes a stress of P/A, where A = πd2/4. If the load is kno
Afina-wow [57]

Answer:

1.505

Explanation:

cylindrical part of diameter d is loaded by an axial force P. This causes a stress of P/A, where A = πd2/4. If the load is known with an uncertainty of ±11 percent, the diameter is known within ±4 percent (tolerances), and the stress that causes failure (strength) is known within ±20 percent, determine the minimum design factor that will guarantee that the part will not fail.

stress is force per unit area

stress=P/A

A = πd^2/4.

uncertainty of axial force P= +/-.11

s=+/-.20, strength

d=+/-.04 diameter

fail load/max allowed

minimum design=fail load/max allowed

minimum design =s/(P/A)

sA/P

A=(\pi.96d^2)/4, so Amin=

0.96^{2} (because the diameter  at minimum is (1-0.04=0.96)

minimum design=Pmax/(sminxAmin)

1.11/(.80*.96^2)=

1.505

8 0
2 years ago
Other questions:
  • A 1020 CD steel shaft is to transmit 15 kW while rotating at 1750 rpm. Determine the minimum diameter for the shaft to provide a
    10·1 answer
  • a. Replacing standard incandescent lightbulbs with energy-efficient compact fluorescent lightbulbs can save a lot of energy. Cal
    9·1 answer
  • An electrical utility delivers 6.25E10 kWh of power to its customers in a year. What is the average power required during the ye
    15·1 answer
  • The rigid bar CDE is attached to a pin support at E and rests on the 30 mm diameter brass cylinder BD. A 22 mm diameter steel ro
    8·1 answer
  • A 0.9% solution of NaCl is considered isotonic to mammalian cells. what molar concentration is this?
    10·1 answer
  • Flow and Pressure Drop of Gases in Packed Bed. Air at 394.3 K flows through a packed bed of cylinders having a diameter of 0.012
    8·1 answer
  • Python Homework
    12·1 answer
  • Technician A says that the most efficient method of EVAP system leak detection is introducing smoke under low pressure from a ma
    7·1 answer
  • Write cout statements with stream manipulators that perform the following:
    8·1 answer
  • Technician A says that weld-through primer can be removed from the immediate weld area to improve weld quality. Technician B say
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!