A series RL circuit is connected to a 240 V single-phase power line with a frequency of 60 Hz. An ammeter indicates a current flow of 10 A and a wattmeter indicates a true power of 1630 W. Calculate
a) The existing power factor of the circuit.
b) The amount of capacitance required to correct the power factor to 95%.
c) Draw the power triangle for the corrected power factor.

Answers

Answer 1

pf=cos(thira)

pf=kw/kvar

A Series RL Circuit Is Connected To A 240 V Single-phase Power Line With A Frequency Of 60 Hz. An Ammeter
A Series RL Circuit Is Connected To A 240 V Single-phase Power Line With A Frequency Of 60 Hz. An Ammeter
Answer 2

The power factor of the motor and the amount of capacitance is 195 μF. The amount of capacitance required to correct the power factor to 95%. Thus, option B is correct.

What is capacitor?

A capacitor has been defined as a device that stores the electric strength in an electric powered discipline by using the virtue of accumulating the electric costs on near surfaces insulated from each other. It's miles a passive digital thing with terminals.

The effect of the capacitor is referred to as capacitance. The capacitor is a part that has the capacity or “ability” to save strength inside the form of an electrical price producing a potential difference (Static Voltage) across its plates, similar to a small rechargeable battery.

Calculation:-

P = 18700

Q₂ = 29049.34

S = 29680

Q₂ = v²ωc

29049.34  = (560)² × ( 2π × 60 )

C = 1.95 × 10⁻⁴

C  = 195 μF

Therefore, The power factor of the motor and the amount of capacitance is 195 μF. The amount of capacitance required to correct the power factor to 95%. Thus, option B is correct.

Learn more about capacitance on:

https://brainly.com/question/28445252

#SPJ2


Related Questions

Do you think that individuals with the same disabilities have the same needs? If your answer is yes, how? /No, why?​

Answers

Disability is extremely diverse. While some health conditions associated with disability result in poor health and extensive health care needs, others do not. However, all people with disability have the same general health care needs as everyone else, and therefore need access to mainstream health care services.

A smaw station includes the arc welding machine, ____, electrode lead, workpiece lead, booth, workbench, stool, and ventilation.

Answers

Answer:

Electrode Holder

Explanation:

Shielded metal arc welding (SMAW), also known as manual metal arc welding, is a manual arc welding process that uses a consumable and protected electrode. As the electrode melts, a cover that protects the electrode melts and protects the weld area from oxygen and other atmospheric gases

Both copper and stainless steel are being considered as a wall material for a liquid cooled rocket nozzle. The cooled exterior of the wall is maintained at 150°C, while the combustion gases within the nozzle are at 2750°C. The gas side heat transfer coefficient is known to be hᵢ = 2×10⁴ W/m²-K, and the radius of the nozzle is much larger than the wall thickness. Thermal limitations dictate that the temperature of copper must not exceed 540°C, while that of the steel must not exceed 980°C. What is the maximum wall thickness that could be employed for each of the two materials? For Cu, ρ = 8933 kg/m³, k = 378 W/m-K and for stainless steel, ρ = 7900 kg/m³, k = 23.2 W/m-K

Answers

a. The maximum thickness of the copper nozzle is 3.3 mm

b. The maximum thickness of the steel nozzle is 0.054 mm

The question has to do with heat transfer

What is heat transfer?

Heat transfer is the movement of heat energy from one body to anotrher.

How to calculate the maximum wall thickness?

Since the rate of heat loss by the gas equal rate of heat gain by the metal.

Rate of heat loss by gas

The rate of heat loss by gas is P = -hA(T - T') where

h = heat transfer coefficient of gas = 2 × 10⁴ W/m²-K, A = surface area of nozzle, T = maximum temperature of metal and T = Temperature of gas = 2750°C

Rate of heat gain by metal

The rate of heat gain by metal is given by P' = kA(T - T")/t where

k = thermal coefficient of metal, A = surface area of nozzle, T = maximum temperature of metal, T" = temperature of exterior wall of nozzle = 150°C and t = thickness of nozzle.

Maximum thickness of nozzle.

Since P = P', we have that

-hA(T - T') =  kA(T - T")/t

Making t subject of the formula, we have

t = -k(T - T")/h(T - T')

a. Maximum thickness for copper nozzle

Given that for copper

T = 540°C and k = 378 W/m-K

Substituting the values of the variables into t, we have

t = -k(T - T")/h(T - T')

t = -378 W/m-K(540°C - 150°C)/[2 × 10⁴ W/m²-K(540°C - 2750°C)]

t = -378 W/m-K(390°C)/[2 × 10⁴ W/m²-K(-2210°C)]

t = 147420 W/m/4420 × 10⁴ W/m²

t = 147420 W/m/44200000 W/m²

t = 0.0033 m

t = 3.3 mm

So, the maximum thickness of the copper nozzle is 10.71 cm

b. Maximum thickness for steel nozzle

Given that for steel

T = 980°C and k = 23.2 W/m-K

Substituting the values of the variables into t, we have

t = -k(T - T")/h(T - T')

t = -23.2 W/m-K(980°C - 150°C)/[2 × 10⁴ W/m²-K(980°C - 2750°C)]

t = -23.2 W/m-K(830°C)/[2 × 10⁴ W/m²-K(-1770°C)]

t = 19256 W/m/3540 × 10⁴ W/m²

t = 19256 W/m/35400000 W/m²

t = 0.0000544 m

t = 0.0544 mm

t ≅ 0.054 mm

So, the maximum thickness of the steel nozzle is 0.054 mm

Learn more about heat transfer here:

https://brainly.com/question/27673846

#SPJ1

Exam Lesson Name: The Trades of Plumbing and Pipet
Exam number: 286115RR
Exam Guidelines
Exam Instructions
Question 4 of 20:
Select the best answer for the question.
4. Before starting construction work on a building, you should apply for which of the following?
OA. A contractor's license
OB. A permit
OC. A bond
OD. An inspector's approval
Mark for review (Will be highlighted on the review page)

Answers

Answer: ………………..

Explanation:???????????????

When an inside corner is being welded in the horizontal position, undercutting can be decreased or prevented by?

Answers

Answer:

By using a forward-inclined half-moon torch position, stopping momentarily at each end of the weld pool

Explanation:

By using a forward-inclined half-moon torch position, stopping momentarily at each end of the weld pool

Adjusting welding parameters, using appropriate electrode size, and maintaining proper torch angle can prevent undercutting in horizontal

welding of an inside corner.

We have,

When an inside corner is being welded in the horizontal position, undercutting can be decreased or prevented by adjusting the welding parameters, such as:

- Controlling Welding Parameters:

Adjusting the welding parameters is crucial in preventing undercutting.

It involves regulating the welding current, voltage, and travel speed.

- Selecting Appropriate Electrode Size:

Choosing the right electrode size is essential to control the heat generated during the welding process.

Smaller electrode diameters generally provide lower heat input, which can help prevent undercutting.

- Maintaining Proper Torch Angle and Manipulation Techniques:

Keeping the correct torch angle during welding is crucial to control the weld pool and metal deposition.

- reducing the welding current and travel speed

- using the appropriate electrode size

- maintaining proper torch angle and manipulation techniques.

Thus,

Adjusting welding parameters, using appropriate electrode size, and maintaining proper torch angle can prevent undercutting in horizontal welding of an inside corner.

Learn more about welding parameters here:

https://brainly.com/question/29654991

#SPJ7

: A freeway exit ramp has a single lane and consist of entirely of a horizontal curve with a central angle of 90 degree and a length of 626 ft. If the distance cleared from the centre line for sight distance is 19.4ft, what design speed was used? Assumptions: t= 2.5sec, f=0.4

Answers

The design speed was used for the freeway exit ramp is 11 mph.

Design speed used in the exit ramp

The design speed used in the exit ramp is calculated as follows;

f = v²/15R - 0.01e

where;

v is designated speed

v = ωr

v = (θ/t) r

θ = 90⁰ = 1.57 rad

v = (1.57 x 19.4)/2.5 s

v = 12.18 ft/s = 8.3 mph

Design speed

f = v²/15R - 0.01e

let the maximum superelevation, e = 1%

f = (8.3)²/(15 x 19.4) - 0.01

f = 0.22

0.22 is less than value of f which is 0.4

next iteration, try 10 mph

f = (10)²/(15 x 19.4) - 0.01

f = 0.33

0.33 is less than 0.4

next iteration, try 11 mph

f = (11)²/(15 x 19.4) - 0.01

f = 0.4

Thus, the design speed was used for the freeway exit ramp is 11 mph.

Learn more about design speed here: https://brainly.com/question/22279858

#SPJ1

If welding is being done in the vertical position, the torch should have a travel angle of?

Answers

Answer:

Between 35°– 45°

Explanation:

In the vertical position, Point the flame in the direction of travel. Keep the flame tip at the correct height above the base metal. An angle of 35°–45° should be maintained between the torch tip and the base metal. This angle may be varied up or down to heat or cool the weld pool if it is too narrow or too wide

What is voltage drop?

Answers

Answer:

Explanation:

It is the voltage a voltmeter would read when connected across something that has resistance.

___________0_________O______O_______

|                                                                               |

|                                              |                                |

|_____________________|  |_____________ |

                                              |

The diagram above is supposed to represent 3 lightbulbs connected in series. The vertical lines in the middle are supposed to be a battery which powers the three light bulbs. If you put a voltmeter across one of the lightbulbs, it will read a voltage that is 1/3 of the voltage of the battery.

Answer

That reading you get across the one light bulb is The Voltage Drop.

                                             

A resistor, an inductor, and a capacitor are connected in series to an ac source. What is the condition for resonance to occur?.

Answers

Answer:if power factor =1 is possible for that.

Explanation:when pf is unity. means 1.

You are coming to this intersection, and are planning on turningright. There is a vehicle close behind you. You should?

Answers

Answer:

Put on your right turn signal

The torque developed by the motor in N-m and lb-ft

Answers

Explanation:

HP to torque (Nm) Calculation:

Torque T(Nm) in Newton meter (Nm) is equal to the 746 times of power P(HP) in horsepower divided by the 0.105 times of the motor speed N(rpm) in RPM. In another short word, 7127 times of horsepower divided by the motor speed is equal to motor torque.

d) The lack of development of nations around the globe is ascribed t o
dishonest or fraudul ent conduct by those in power. With the knowledge you have acquired in this course, you are required t o discuss, situating your
response in the country of your origin, at least five effects of dishonest or
fraudulent conduct by those in power.

Answers

One of the solutions that can help to reduce fraudulent conduct by those in power is to hold them accountable.

What is Development?

This refers to the process through which an area or region experiences growth and improvement in terms of infrastructure and general well-being.

Hence, we can see that some of the effects of dishonest or fraudulent conduct by those in power are:

CorruptionInstabilityLack of infrastructurePovertyUnderdevelopment, etc

Read more about development here:

https://brainly.com/question/11352260

#SPJ1

Question 5 of 10
Multiple Choice
How much cubic inch space is required inside a box for 4 #6 XHHN current carrying conductors?
OA. 12 cubic inches
OB. 10 cubic inches
OC. 20 cubic inches
OD. 8 cubic inches

Answers

The cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors will be D. 8 cubic inches.

What is a conductor?

It should be noted that a conductor simply means a substance or material that simply allows electricity to pass through it.

From the information given, the cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors is yo be computed.

This will be:

= (4 × 6)/3

= 24/3

= 8

In conclusion, the cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors will be 8 cubic inches.

Learn more about conductor on:

brainly.com/question/11845176

#SPJ1

The weave bead width should be ____ the diameter of the electrode being used. The same as no wider than 2–3 times 4 times no wider than 6 times

Answers

Answer:

the answer to this is 6 times.

Business support systems ____.

Answers

Answer:

These are the components telecommunication service providers use to run certain operations towards customers.

hope it helps. pls like and follow

Business support systems "provide job-related information support to users at all levels of a company". The correct option is 'a'.

Business support systems (BSS) encompass a combination of functionalities mentioned in the provided options. Let's discuss each option briefly:

a. Provide job-related information support to users at all levels of a company:

This statement aligns with the concept of Decision Support Systems (DSS), which are a type of BSS that aid users in making informed decisions by providing relevant information and analysis. DSS supports various levels of management by assisting them in evaluating alternatives, analyzing data, and generating reports to support decision-making processes.

b. Simulate human reasoning by combining a knowledge base and inference rules that determine how the knowledge is applied:

This description pertains to Expert Systems, which are an advanced form of BSS. Expert Systems utilize a knowledge base and inference rules to imitate human expertise and provide intelligent solutions to complex problems. They are particularly useful in domains where specialized knowledge is required.

c. Process data generated by day-to-day business operations:

This statement refers to Transaction Processing Systems (TPS), which are an essential component of BSS. TPS handles routine, day-to-day transactions and processes data generated during regular business operations, such as sales, inventory, and payroll.

d. Include e-mail, voice mail, fax, video conferencing, word processing, automated calendars, database management, spreadsheets, and integrated mobile computing systems:

These technologies are examples of Office Automation Systems (OAS), another category of BSS. OAS streamline office tasks and improve communication and collaboration among employees through various software tools and applications.

Therefore, business support systems encompass a range of applications and technologies that provide job-related information support.

To learn more about Business support systems;

https://brainly.com/question/31807690

#SPJ3

The complete question:

Business support systems ____.

a. provide job-related information support to users at all levels of a company

b. simulate human reasoning by combining a knowledge base and inference rules that determine how the knowledge is applied

c. process data generated by day-to-day business operations

d. include e-mail, voice mail, fax, video conferencing, word processing, automated calendars, database management, spreadsheets, and integrated mobile computing systems

During shielded metal arc welding, a welder can receive a burn comparable to sunburn if proper protective clothing is not worn.

a. true
b. false

Answers

Answer:

A. True

Explanation:

The statement is true

Question 2: (a) In your own words, clearly distinguish and differentiate between Ethics in Engineering and Ethics in Computing ( 9 Marks) (b) Draw a table of comparison to illustrate your answer in (a) and provide in each case five practical examples in the fields outlined above.

Answers

Engineering ethics is not without abstraction, but in contrast with computing, it is animated by a robust and active movement concerned with the seamless identification of ethics with practice.

What is engineering?

This is a branch of science and technology concerned with the design, building, and use of engines, machines, and structures that uses scientific principles.

Comparing ethics in engineering and ethics in computing:

Engineering ethics are a set of rules and guidelines. While computing ethics deals with procedures, values and practices.In engineering ethics, engineers must adhere to these rules as a moral obligation to their profession While in computing ethics, the ethics govern the process of consuming computer technology.Following these ethics for the two professions will NOT cause damage, but disobeying them causes damage.

Some practical examples in the computing field:

Avoid using the computer to harm other people such as creating a bomb or destroying other people's work.Users also should not use a computer for stealing activities like breaking into a bank or company.Make sure a copy of the software had been paid for by the users before it is used.

Some practical examples in the engineering field:

Integrity for oneself.Respect for one another.Pursuit of excellence and accountability.

Hence, Engineering ethics is the field of system of moral principles that apply to the practice of engineering and following them is important to the profession.

Read more about engineering here:

https://brainly.com/question/17169621

#SPJ1

A hollow aluminum shaft with an outside diameter of 63 mm and a wall thickness of 5 mm has an allowable shear stress of 72 mpa. Determine the maximum torque t that may be applied to the shaft.

Answers

Answer:

maximum torque of metal

Explanation:

When required to drill holes on a roof that has no power supply the best drill for the job would be__________.

Answers

When required to drill holes on a roof that has no power supply the best drill for the job would be a cordless drill.

What is power supply?

It should be noted that a power supply is an electrical device which supplies electric power to an electrical load.

In this case, the main purpose of a power supply is simply to be able to convert electric current from the source to the correct current, and frequency.

In this case, the power supply unit converts the main AC to a low-voltage regulated DC power. Therefore, When required to drill holes on a roof that has no power supply the best drill for the job would be a cordless drill.

Learn more about power supply on:

https://brainly.com/question/14510836

#SPJ1

Dampness or moisture introduces ____ into the weld, which causes cracking when some metals are welded.

Answers

Answer: Dampness or moisture introduces hydrogen into the weld, which causes cracking when some metals are welded.

Explanation:

This moisture (hydrogen) is a major cause of weld cracking and porosity.

Two techniques that allow the io to play a useful advisory role even without direct experience in human subject protection areas are:_____.

Answers

The two techniques that allow the io to play a useful advisory role even without direct experience in human subject protection areas are periodically reviewing institutional policy and reviewing federal regulatory agency determination letters.

What is advisory?

It should be noted that the role of an advisory board is to provide current knowledge, critical thinking as well as to increase the confidence of the decision-makers that represent the company.

Also, human subjects protections implies the collective term for the federal, state, and university ethical considerations which protect the rights and welfare of human beings.

Therefore, the two techniques that allow the io to play a useful advisory role even without direct experience in human subject protection areas are periodically reviewing institutional policy and reviewing federal regulatory agency determination letters.

Learn more about advisory on:

https://brainly.com/question/17378788

#SPJ1

Question 5 of 10
How much cubic inch space is required inside a box for 4 #6 XHHN current carrying conductors?

Answers

The maximum cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors is 10 cubic inches.

What is current carrying conductor?

A current-carrying conductor is a conductor that experience a force when it is in a magnetic field, due to the interaction between the magnetic field & the field (magnetic) produced by moving charges in the wire.

The HHN stands for High Heat-resistant Nylon-coated.

The maximum cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors is calculated as follows;

cubic inch space = 4 x 2.5 in³

cubic inch space = 10 in³

Thus, the maximum cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors is 10 cubic inches.

Learn more about current carrying conductors here: https://brainly.com/question/9719792

#SPJ1

A pilot reports that when the hydraulic pump is running, the pressure is normal. However, when the pump is stopped, no hydraulic pressure is available. This is a indication of a

Answers

A pilot reports that when the hydraulic pump is running, the pressure is normal. However, when the pump is stopped, no hydraulic pressure is available. This is an indication of a leaking accumulator air valve

This is further explained below.

What is an accumulator air valve?

Generally, An accumulator of the bladder type is a metal tank that houses a rubber bladder that is filled with compressed gas. This form of the accumulator is also sometimes referred to as a hydro-pneumatic accumulator. In addition, the discharge port has a poppet valve, and the gas valve that is used to precharge the bladder has its own separate valve.

In conclusion, When the hydraulic pump is operating normally, according to the report of a pilot, the pressure is normal. On the other hand, there is no hydraulic pressure available when the pump is turned off. The presence of this symptom is evidence of a leaky accumulator air valve.

Read more about accumulator air valves

https://brainly.com/question/27753463

#SPJ1

What is the name of this piece?

Answers

Answer: block o’ metal

Explanation:

1. A 100kVA, 5000/200V transformer is tested. The data is provided below. (100 pts) Open Circuit VOC=200V, IOC=5A, POC=120W Short Circuit VSC=80V, ISC=10A, PSC=400W (a) What is the high-voltage side equivalent circuit? (30 pts)

Answers

Answer:open circuit

short circuit

voc

Explanation:

You have three gear wheels a, b and c connected to each other,if you turn the first gear wheel "a" clockwise what will happen to b and c

Answers

In the case above,  It will take more time for a tooth of wheel B and C to make a full turn (slower) than it will for a tooth of wheel A.

What are gear wheels?

A gear wheel is known to be a kind of a wheel that is known to be made up of a teeth and/or cogs that is known to function with those of other aspect of the wheel or part.

Note that in the above case, lets use a scenario that  Wheel P has 5 teeth. Wheel M has 3 teeth and wheel N has 1 teeth.  If wheel P makes a full turn, wheel M turn will be slower as  well as wheel N which will take more time.

Therefore, In the case above,  It will take more time for a tooth of wheel B and C to make a full turn than it will for a tooth of wheel A.

Learn more about Gear wheels from

https://brainly.com/question/17080981

#SPJ1

How do you fix this?





from random import randint

class Character:

def __init__(self):

self.name = ""

self.health = 1

self.health_max = 1

def do_damage(self, enemy):

damage = min(

max(randint(0, self.health) - randint(0, enemy.health), 0),

enemy.health)

enemy.health = enemy.health - damage

if damage == 0:

print("%s evades %s's attack." % (enemy.name, self.name))

else:

print("%s hurts %s!" % (self.name, enemy.name))

return enemy.health <= 0

class Enemy(Character):

def __init__(self, player):

Character.__init__(self)

self.name = 'a goblin'

self.health = randint(1, player.health)

class Player(Character):

def __init__(self):

Character.__init__(self)

self.state = 'normal'

self.health = 10

self.health_max = 10

def quit(self):

print(

"%s can't find the way back home, and dies of starvation.\nR.I.P." % self.name)

self.health = 0

def help(self): print(Commands.keys())

def status(self): print("%s's health: %d/%d" %

(self.name, self.health, self.health_max))

def tired(self):

print("%s feels tired." % self.name)

self.health = max(1, self.health - 1)

def rest(self):

if self.state != 'normal':

print("%s can't rest now!" % self.name)

self.enemy_attacks()

else:

print("%s rests." % self.name)

if randint(0, 1):

self.enemy = Enemy(self)

print("%s is rudely awakened by %s!" %

(self.name, self.enemy.name))

self.state = 'fight'

self.enemy_attacks()

else:

if self.health < self.health_max:

self.health = self.health + 1

else:

print("%s slept too much." % self.name)

self.health = self.health - 1

def explore(self):


if self.state != 'normal':

print("%s is too busy right now!" % self.name)

self.enemy_attacks()

else:

print("%s explores a twisty passage." % self.name)

if randint(0, 1):

self.enemy = Enemy(self)

print("%s encounters %s!" % (self.name, self.enemy.name))

self.state = 'fight'

else:

if randint(0, 1):

self.tired()
else:

if randint(0, 1):

self.fall()



def flee(self):

if self.state != 'fight':

print("%s runs in circles for a while." % self.name)

self.tired()

else:

if randint(1, self.health + 5) > randint(1, self.enemy.health):

print("%s flees from %s." % (self.name, self.enemy.name))

self.enemy = None

self.state = 'normal'

else:

print("%s couldn't escape from %s!" %

(self.name, self.enemy.name))

self.enemy_attacks()

def attack(self):

if self.state != 'fight':

print("%s swats the air, without notable results." % self.name)

self.tired()

else:

if self.do_damage(self.enemy):

print("%s executes %s!" % (self.name, self.enemy.name))

self.enemy = None

self.state = 'normal'

if randint(0, self.health) < 10:

self.health = self.health + 1

self.health_max = self.health_max + 1

print("%s feels stronger!" % self.name)

else:

self.enemy_attacks()

def enemy_attacks(self):

if self.enemy.do_damage(self):

print("%s was slaughtered by %s!!!\nR.I.P." %

(self.name, self.enemy.name))
def fall(self):

print(

"%s fell down a pit and dies.\nR.I.P." % self.name)

self.health = 0


Commands = {

'quit': Player.quit,

'help': Player.help,

'status': Player.status,

'rest': Player.rest,

'explore': Player.explore,

'flee': Player.flee,

'attack': Player.attack,

}

p = Player()

p.name = input("What is your character's name? ")

print("(type help to get a list of actions)\n")

print("%s enters a dark cave, searching for adventure." % p.name)

while(p.health > 0):

line = input("> ")

args = line.split()

if len(args) > 0:

commandFound = False

for c in Commands.keys():

if args[0] == c[:len(args[0])]:

Commands[c](p)

commandFound = True

break

if not commandFound:

print("%s doesn't understand the suggestion." % p.name)

Answers

Using the knowledge in computational language in python it is possible to write a code that was fixed;

Writting in python:

from random import randint

class Character:

   def __init__(self):

       self.name = ""

       self.health = 1

       self.health_max = 1

   def do_damage(self, enemy):

       damage = min(

           max(randint(0, self.health) - randint(0, enemy.health), 0),

           enemy.health)

       enemy.health = enemy.health - damage

       if damage == 0:

           print("%s evades %s's attack." % (enemy.name, self.name))

       else:

           print("%s hurts %s!" % (self.name, enemy.name))

       return enemy.health <= 0

class Enemy(Character):

   def __init__(self, player):

       Character.__init__(self)

       self.name = 'a goblin'

       self.health = randint(1, player.health)

class Player(Character):

   def __init__(self):

       Character.__init__(self)

       self.state = 'normal'

       self.health = 10

       self.health_max = 10

   def quit(self):

       print(

           "%s can't find the way back home, and dies of starvation.\nR.I.P." % self.name)

       self.health = 0

   def help(self): print(Commands.keys())

   def status(self): print("%s's health: %d/%d" %

                           (self.name, self.health, self.health_max))

   def tired(self):

       print("%s feels tired." % self.name)

       self.health = max(1, self.health - 1)

   def rest(self):

       if self.state != 'normal':

           print("%s can't rest now!" % self.name)

           self.enemy_attacks()

       else:

           print("%s rests." % self.name)

           if randint(0, 1):

               self.enemy = Enemy(self)

               print("%s is rudely awakened by %s!" %

                     (self.name, self.enemy.name))

               self.state = 'fight'

               self.enemy_attacks()

           else:

               if self.health < self.health_max:

                   self.health = self.health + 1

               else:

                   print("%s slept too much." % self.name)

                   self.health = self.health - 1

   def explore(self):

       if self.state != 'normal':

           print("%s is too busy right now!" % self.name)

           self.enemy_attacks()

       else:

           print("%s explores a twisty passage." % self.name)

           if randint(0, 1):

               self.enemy = Enemy(self)

               print("%s encounters %s!" % (self.name, self.enemy.name))

               self.state = 'fight'

           else:

               if randint(0, 1):

                   self.tired()

   def flee(self):

       if self.state != 'fight':

           print("%s runs in circles for a while." % self.name)

           self.tired()

       else:

           if randint(1, self.health + 5) > randint(1, self.enemy.health):

               print("%s flees from %s." % (self.name, self.enemy.name))

               self.enemy = None

               self.state = 'normal'

           else:

               print("%s couldn't escape from %s!" %

                     (self.name, self.enemy.name))

               self.enemy_attacks()

   def attack(self):

       if self.state != 'fight':

           print("%s swats the air, without notable results." % self.name)

           self.tired()

       else:

           if self.do_damage(self.enemy):

               print("%s executes %s!" % (self.name, self.enemy.name))

               self.enemy = None

               self.state = 'normal'

               if randint(0, self.health) < 10:

                   self.health = self.health + 1

                   self.health_max = self.health_max + 1

                   print("%s feels stronger!" % self.name)

           else:

               self.enemy_attacks()

   def enemy_attacks(self):

       if self.enemy.do_damage(self):

           print("%s was slaughtered by %s!!!\nR.I.P." %

                 (self.name, self.enemy.name))

Commands = {

   'quit': Player.quit,

   'help': Player.help,

   'status': Player.status,

   'rest': Player.rest,

   'explore': Player.explore,

   'flee': Player.flee,

   'attack': Player.attack,

}

p = Player()

p.name = input("What is your character's name? ")

print("(type help to get a list of actions)\n")

print("%s enters a dark cave, searching for adventure." % p.name)

while(p.health > 0):

   line = input("> ")

   args = line.split()

   if len(args) > 0:

       commandFound = False

       for c in Commands.keys():

           if args[0] == c[:len(args[0])]:

               Commands[c](p)

               commandFound = True

               break

       if not commandFound:

           print("%s doesn't understand the suggestion." % p.name)

See more about python at brainly.com/question/12975450

#SPJ1

Esma and hasan are putting the finishing touches on their model for a tiny chip-based energy source to power their lighting system. what phase of the engineering design process should they complete next? confirm with research build a prototype test their work get the product priced

Answers

The phase of the engineering design process which should be completed next is to test their work and is denoted as option C.

What is Engineering design?

These are the series of steps and techniques which are done by individuals in the making of functional product and services.This employs the use of scientific methods and also ensures an easier living for different individuals.

The first stage involves identifying the problem and then building a prototype through the use of different materials. This is then tested before the final finishing work is done to ensure the parts are properly placed before they are moved for evaluation by other people.

Read more about Engineering design here https://brainly.com/question/411733

#SPJ1

What term is used to describe when a room becomes so hot that everything in it ignites simultaneously?.

Answers

In five minutes a room can get so hot that everything in it ignites at once: this is called flashover.

When a room becomes so hot that everything in it ignites simultaneously it is termed a flashover.

What is a flashover?

In a confined space, a flashover occurs when the majority of the directly exposed flammable material ignites almost simultaneously. Certain organic compounds go through thermal decomposition when heated and emit combustible gases as a result.

Every flammable surface exposed to thermal radiation in a compartment or confined space ignites quickly and simultaneously during a flashover, a thermally driven event. For typical combustibles, flashover typically happens when the upper section of the compartment achieves a temperature of about 1,100 °F.

Flashover circumstances are more likely to occur in buildings with hidden compartments, lower ceiling heights, room partitions, and energy-efficient or hurricane windows.

Therefore, the sudden ignition of everything in the room is called a flashover.

To know more about flashover follow

https://brainly.com/question/19262414

#SPJ2

The household refrigerator fresh-food compartment is a good example of ____ refrigeration

Answers

Medium - temperature
Other Questions
Number lineWhich of these numbers represents the difference between -3 and -2 greatest common factor of 24,36, and 96 how many decimal places does 22.22105 have What event convinced Brahe that neither the heliocentric nor geocentric models were correct?The lunar eclipse of 1605No answer text provided.The solar eclipse of 1690The conjunction of Jupiter and Saturn y=2x + 9 3x + 2y = 4 Thomas and Matthew are saving up money to buy a video game together. Thomas has saved $30. Matthew has saved $35. How much money have they saved up together in total? To have a happy life,it is more important to have time to do what you want rather than to have a lot of money to spend.do you agree? Help please, also provide work How can these sentences be combined to include a dependent clause? the lifeguard was on duty. she pulled a toddler out of the pool. while the lifeguard was on duty, she pulled a toddler out of the pool. while the lifeguard was on duty, she pulled a toddler out of the pool. the lifeguard was on duty, and she pulled a toddler out of the pool. the lifeguard was on duty, and she pulled a toddler out of the pool. the lifeguard was on duty; she pulled a toddler out of the pool. the lifeguard was on duty; she pulled a toddler out of the pool. while on duty the lifeguard pulled a toddler out of the pool. Possible treatment for diabetes are inhibitors of glycogen phosphorylase that mimic the natural inhibitory activity of ________ in non-diabetic persons Patrick is being recorded using an eeg. the readings show a large proportion of synchronous activity, which would indicate that patrick is The most common unit of comparison for land in urban areas is price per _______. In which location are you most likely to find organic remains that have not decomposed? Fatima purchased a new mattress when it was on sale. The sale price was 20% less than the regular price. If the sale price was $358, what was the original price? (Round your answer to the nearest dollar). (3x) (4x) = A. x B. 7x C. 12x D. 12x E. none of these A user may enter some text and the number of times (up to a maximum of 10) to repeat it. Display the text repeated that many times with no space in between. For example, if the user types in Hey and 3, the display would be HeyHeyHey. If the user provides no text or provides a number greater than 10, display only an error message. What two effects do impurities have on the melting point of an organic compound and why? The large jovian satellites have sizes comparable to mercury. why do they have an icy composition compared to mercury's rocky composition? Carmen has taken out a loan for $800 to buy a car. she plans to pay back the loan at a rate of $40 per month. ramona has borrowed $500 to buy a car, which she plans to pay back at a rate of $20 per month. how long will it take ramona to pay back her loan? a. 25 months b. 20 months c. 15 months d. 10 months please select the best answer from the choices provided a b c d What are ways that political action committees (pacs) can engage in the electoral process?