17.06.2020

# Is it pok e mon or pok a mon

1

09.07.2023, solved by verified expert

Poke-e-mon.

Some people may pronounce it differently, but this is the original.

### Faq

Arts

Poke-e-mon.

Some people may pronounce it differently, but this is the original.

Mathematics

Variance Σ i=1 (1 - Pi) /Pi^2

Expected value= π(1/1 + 1/2 1/n) = π.Hn

Step-by-step explanation:

From the information given, we can get

E(T) = E(t1) + E(t2) +E(tn)

1/P1 + 1/P2 1/Pn

-π/r + π/ r-1 + π/1

π(1/1 + 1/2 1/n)

To find the variance,

Variance= var (x1 + x2 +xr)

E i=1 var (Xi)

Where,

x1, x2, x3 are all independent of each other.

In case of xi : var (xi) = E(xi^2) - E(xi^2)

Probability of the ith term of coupon that would be observed

Pi = (n - i - 1)/n

Therefore,

i-1 coupons out of a total of n coupons.

To calculate Exi, probability Pi

The expected number of coupons required should be = 1

In probability, 1 - Pi expected number of coupons required E (Xi +1)

E(Xi) = Pi + (1- Pi) E(xi + 1)

E(Xi) = 1/Pi

Due to the above,

E(Xi)^2= Pi + (1- Pi) E(xi + 1)^2

E(Xi)^2= Pi + (1- Pi) E(xi^2 + 1 + 2xi)

E(Xi)^2= 2/Pi^2 - 1/Pi

Var (Xi) = 2/Pi^2 - 1/Pi - 1/Pi^2

= (1 - Pi) /Pi^2

Variance Σ i=1 (1 - Pi) /Pi^2

Computers and Technology

import random

class Pokemon:

"""Blueprint for turn based Pokemon battle"""

def __init__(self, attack_choice):

self.__attack_choice = attack_choice

def attack(self):

if self.__attack_choice == 1:

attack_points = random.randint(18,25)

return attack_points

elif self.__attack_choice == 2:

attack_points = random.randint(10,35)

return attack_points

else:

print("That is not a selection. You lost your turn!")

def heal(self):

heal_points = random.randint(18,25)

return heal_points

user_health = 100

mew_health = 100

battle_continue = True

while battle_continue == True:

print("\nATTACK CHOICES\n1. Close range attack\n2. Far range attack\n3. Heal")

attack_choice = eval(input("\nSelect an attack: "))

# Mew selects an attack, but focuses on attacking if health is full.

if mew_health == 100:

mew_choice = random.randint(1,2)

else:

mew_choice = random.randint(1,3)

mew = Pokemon(mew_choice)

user_pokemon = Pokemon(attack_choice)

# Attacks by user and Mew are done simultaneously.

if attack_choice == 1 or attack_choice == 2:

damage_to_mew = user_pokemon.attack()

heal_self = 0

print("You dealt",damage_to_mew,"damage.")

if mew_choice == 1 or mew_choice ==2:

damage_to_user = mew.attack()

heal_mew = 0

print("Mew dealt", damage_to_user, "damage.")

if attack_choice == 3:

heal_self = user_pokemon.heal()

damage_to_mew = 0

print("You healed",heal_self,"health points.")

if mew_choice == 3:

heal_mew = mew.heal()

damage_to_user = 0

print("Mew healed", heal_mew, "health points.")

user_health = user_health - damage_to_user + heal_self

mew_health = mew_health - damage_to_mew + heal_mew

# Pokemon health points are limited by a min of 0 and a max of 100.

if user_health > 100:

user_health = 100

elif user_health <= 0:

user_health = 0

battle_continue = False

if mew_health > 100:

mew_health = 100

elif mew_health <= 0:

mew_health = 0

battle_continue = False

print("Mew's current health is", mew_health)

print("Mew's final health is", mew_health)

if user_health < mew_health:

print("\nYou lost! Better luck next time!")

else:

print("\nYou won against Mew!")

Explanation:

Computers and Technology

import random

class Pokemon:

"""Blueprint for turn based Pokemon battle"""

def __init__(self, attack_choice):

self.__attack_choice = attack_choice

def attack(self):

if self.__attack_choice == 1:

attack_points = random.randint(18,25)

return attack_points

elif self.__attack_choice == 2:

attack_points = random.randint(10,35)

return attack_points

else:

print("That is not a selection. You lost your turn!")

def heal(self):

heal_points = random.randint(18,25)

return heal_points

user_health = 100

mew_health = 100

battle_continue = True

while battle_continue == True:

print("\nATTACK CHOICES\n1. Close range attack\n2. Far range attack\n3. Heal")

attack_choice = eval(input("\nSelect an attack: "))

# Mew selects an attack, but focuses on attacking if health is full.

if mew_health == 100:

mew_choice = random.randint(1,2)

else:

mew_choice = random.randint(1,3)

mew = Pokemon(mew_choice)

user_pokemon = Pokemon(attack_choice)

# Attacks by user and Mew are done simultaneously.

if attack_choice == 1 or attack_choice == 2:

damage_to_mew = user_pokemon.attack()

heal_self = 0

print("You dealt",damage_to_mew,"damage.")

if mew_choice == 1 or mew_choice ==2:

damage_to_user = mew.attack()

heal_mew = 0

print("Mew dealt", damage_to_user, "damage.")

if attack_choice == 3:

heal_self = user_pokemon.heal()

damage_to_mew = 0

print("You healed",heal_self,"health points.")

if mew_choice == 3:

heal_mew = mew.heal()

damage_to_user = 0

print("Mew healed", heal_mew, "health points.")

user_health = user_health - damage_to_user + heal_self

mew_health = mew_health - damage_to_mew + heal_mew

# Pokemon health points are limited by a min of 0 and a max of 100.

if user_health > 100:

user_health = 100

elif user_health <= 0:

user_health = 0

battle_continue = False

if mew_health > 100:

mew_health = 100

elif mew_health <= 0:

mew_health = 0

battle_continue = False

print("Mew's current health is", mew_health)

print("Mew's final health is", mew_health)

if user_health < mew_health:

print("\nYou lost! Better luck next time!")

else:

print("\nYou won against Mew!")

Explanation:

Mathematics

25 weeks

Step-by-step explanation:

Tony:

Marco

Required

Determine number of weeks where both will be equal.

Represent weeks with w.

For Tony, the expression is:

For Marco, the expression is:

To determine yhe number of weeks, we equate both expressions.

Collect Like Terms

Solve for w

French

Bonjour

Some more precision ►

1- On s'est parlé il y a trois mois.

You did it correct ==>  we talk to each other for th 1st time 3 months "ago"

-

2- Mon film préféré est sorti depuis 5 ans.

you answer is incorrect  ==> My favorite movie has been released since 5 years.

-

3- Après s'être cassé le bras, il n'a pas pu jouer pendant six mois.

you're right => he couldn't play "during" 6 month.

-

EXPLANATION

il y a = ago. Indicate a precise moment of the past for a completed action

pendant = during. The complete duration of the action and completed by the time one speaks

depuis = since. indicates the moment of the beginning of an action which still last when we're talking

-

hope this helps ☺☺☺

Mathematics

25 weeks

Step-by-step explanation:

Tony:

Marco

Required

Determine number of weeks where both will be equal.

Represent weeks with w.

For Tony, the expression is:

For Marco, the expression is:

To determine yhe number of weeks, we equate both expressions.

Collect Like Terms

Solve for w

Mathematics

Let denote the number of encounters required to see a new Pokemon after having encountered of them. Then .

If Gary has already seen Pokemon, that leaves still to be encountered, and the next new encounter has a probability of of occurring. Then is geometric, with PMF

Then the expectation and variance of are

is the total number of encounters needed to record all Pokemon, so

By linearity of expectation,

The are independent, so the variance is

The expected count of water-type Pokemon

= 20% x 40 cards

= 8

Explanation:

Since the percentage of water-type Pokemon is 42%, the expected count of water-type Pokemon will be 40% of the cards.

French

Bonjour

Some more precision ►

1- On s'est parlé il y a trois mois.

You did it correct ==>  we talk to each other for th 1st time 3 months "ago"

-

2- Mon film préféré est sorti depuis 5 ans.

you answer is incorrect  ==> My favorite movie has been released since 5 years.

-

3- Après s'être cassé le bras, il n'a pas pu jouer pendant six mois.

you're right => he couldn't play "during" 6 month.

-

EXPLANATION

il y a = ago. Indicate a precise moment of the past for a completed action

pendant = during. The complete duration of the action and completed by the time one speaks

depuis = since. indicates the moment of the beginning of an action which still last when we're talking

-

hope this helps ☺☺☺

What is Studen
Studen helps you with homework in two ways:

## Try asking the Studen AI a question.

It will provide an instant answer!

FREE