using distance formula i tried this one for myself and just couldn't get it

Using Distance Formula I Tried This One For Myself And Just Couldn't Get It

Answers

Answer 1

Answer:

Hello, hope it helps :-)

Using Distance Formula I Tried This One For Myself And Just Couldn't Get It

Related Questions

Suppose a game show called Bayesian Boxes has the contestant sample one marble from a box and guess what type of box it is. When the contestant picks a box, the chance of each box type for this round is as follows: Type A: 75%, Type B: 20%, and Type C: 5% The chance of drawing a red marble from Type A is 2%, from Type B is 25%, and from Type C is 98%. The contestant selects a box and draws a marble. What is the chance of drawing a red m

Answers

Answer:

P(C/R) = 0.4298

Step-by-step explanation:

Missing word "arble, what is the chance it came from box Type C? (Give the decimal answer rounded to at least four places )"

Solution:

Given that P(A) = 75% = 0.75

P(B) = 20% = 0.20

P(C) = 0.05

The chance of drawing a Red marble fro,

P(R/A) = 2% = 0.02

P(R/B) = 25% = 0.25

P(R/C) = 98% = 0.98

If he select Box A than the probability of Red marble drawing

= P(A) * P(R/A)

= 0.75 * 0.02

= 0.015

If he select Box  B than the probability of Red marble drawing

= P(B) * P(R/B)

= 0.20 * 0.25

= 0.5

If he select Box C than the probability of Red marble drawing

= P(C) * P(R/C)

= 0.98 * 0.05

= 0.049

So total probability of drawing Red marble is

P(R) = 0.015 + 0.050 + 0.049

P(R) = 0.114

If the Contestant draw a Red marble. Probability that it comes from box type (C) using Boyes theorem is

P(C/R) = {P(C) * P(R/C)} / P(R)

P(C/R) = 0.049 / 0.114

P(C/R) = 0.429824

P(C/R) = 0.4298

Roman is considering buying shares of GHI stock. The stock currently sells for $60 per share. The stock changes in value at 8:00 am each day, either increasing in value by $10 or decreasing in value by $1. The stock will increase in value with 90% probability, and decrease in value with 10% probability. The stock follows a random walk. In three days, what is the probability that GHI is less than $70?

Answers

Answer:

The Probability that the GHI is less than $70 in three days is 1% or 0.01

Step-by-step explanation:

Here, we want to find the probability that the GHI is less than $70.

So what we do here is to find the scenarios that could make the $60 less than $70 is three days;

Scenario 1;

Two days decrease and one day increase

That will bring the value to 60 -1-1 + 10 = $68 which is less than 70

Scenario 2;

Three days decrease

That will bring the value to

60-1-1-1 = 57 which is less than 70

Any other possible scenario to make the value of the share less than 70? NO !

For the 1st case scenario;

Two days decrease and one day increase;

The scheduled probabilities will be as follows;

Kindly recall, probability of increase = 90% = 90/100 = 0.9

Probability of decrease = 10% = 10/100 = 0.1

So probability in scenario 1 will be;

P(Two days decrease and one day increase)

= 0.1 * 0.1 * 0.9 = 0.009

Kindly note this can happen in any order and since no order was specified, we do not need to consider other cases

Scenario ii

Three days decrease

That will be;

P(three days decrease) = 0.1 * 0.1 * 0.1 = 0.001

So the addition of both since we will be having either of the two and or means addition in probability will be ;

0.001 + 0.009 = 0.01 = 1%

13. The perimeter P (in yards) of a soccer field is represented by the formula P = 24 + 2w,

where & is the length (in yards) and w is the width (in yards).

a. Solve the formula for w.

P= 330 yd

b. Find the width of the field.

c. About what percent of the field

is inside the circle?

doc

10 yd

- 100 yd

Answers

Answer:

[tex]w = \frac{1}{2}(P - 24)[/tex]

[tex]w = 153\ yards[/tex]

Step-by-step explanation:

Given

[tex]P = 24 + 2w[/tex]

Require

Solving (a):

[tex]P = 24 + 2w[/tex]

Subtract 24 from both sides

[tex]P-24 = 24-24 + 2w[/tex]

[tex]P-24 = 2w[/tex]

Divide both sides by 2

[tex]\frac{1}{2}(P - 24) = \frac{2w}{2}[/tex]

[tex]\frac{1}{2}(P - 24) = w[/tex]

[tex]w = \frac{1}{2}(P - 24)[/tex]

Solving (b):

Substitute 330 for P un the expression in (1)

[tex]w = \frac{1}{2}(330 - 24)[/tex]

Evaluate the bracket

[tex]w = \frac{1}{2}(306)[/tex]

[tex]w = 153\ yards[/tex]

Question c; seem irrelevant

If the average of 2, 7and X is 12 what is the value of X

Answers

Answer:

2+7+X=12

2+7-12=-X

X=3

A bus makes a stop at 2:30, letting off 13 people and letting on 5. The bus makes another stop ten minutes later to let off 4 more people. How does the number of people on the bus after the second stop compare to the number of people on the bus before the 2:30 stop?

Answers

Answer:14

Step-by-step explanation:

13+5-4=14 No 1 more person got on.

I don’t know how to make a rule:(

Answers

Answer:

*assuming you know the concept of proportionality*

since L is directly proportional to T, an increase in L will result in an increase in T

so the solution of the first part is increases

in part 2, y is inversely proportional to x

which means that an increase in y will result in a decrease in x and vice-versa

So the answer of the second part is decreases

in part 3, since x is directly proportional to y, an increase in x will result in an increase in y

help!! 2x - 8 + 3x - 12 = 60

Answers

Answer:

x=16

Step-by-step explanation:

Step 1: Simplify both sides of the equation.

2x−8+3x−12=60

2x+−8+3x+−12=60

(2x+3x)+(−8+−12)=60(Combine Like Terms)

5x+−20=60

5x−20=60

Step 2: Add 20 to both sides.

5x−20+20=60+20

5x=80

Step 3: Divide both sides by 5.

5x

5

=80

5

x=16

can I be the brainest please

M = { }
N = {6,7,8,9,10}
M n N =​

Answers

M n N is a null set (∅). They do not have any of the same elements.

Evaluaters rs + 14s when r = 6 and s 1/4​

Answers

Answer:

5

Step-by-step explanation:

Plug is 6 for r and 0.25 for s

6(0.25)+14(0.25)

distribute

1.5+3.5=5

Hope this helps

what is the answer to -2/3 mutiply by (4/5)

Answers

Answer:

-8/15

Step-by-step explanation:

-2 *4 = -8

5 * 3 = 15

So,  -2/3 * 4/5 = -8/15

Answer:

-[tex]\frac{8}{15}[/tex]

Step-by-step explanation:

Hope this helps. Have a great day. Plz give brainliest.

PLEASE HELPPPPPPPPPP The ratio of picnic tables to garbage cans
in a new national park should be 8:3.
The park design shows plans for picnic
tables in a small campground and a
large campground. How many garbage
cans should there be in each campground?


Answers

so, here’s the work. Try to change it a bit so it doesn’t look like you copied lol

The product of two consecutive negative even integers is 24. What is the smaller of the two numbers?
A. -6
B. -5
C. -4
D. -2
E. 4

Answers

Answer:

The smaller one is -6, the bigger one is -4.

Step-by-step explanation:

Answer:

A. -6

Step-by-step explanation:

Obtain an expression that looks like this: 25+ 4 А B. X(S) = + s(s +6) S +6 S
A= ___________
B =____________

Answers

Answer:

[tex]A = \frac{2}{3}[/tex]

[tex]B = \frac{4}{3}[/tex]

Step-by-step explanation:

Given

[tex]X(s) = \frac{2s + 4}{s(s +6)}= \frac{A}{s} + \frac{B}{s + 6}[/tex]

Required

Find A and B

The expression can be rewritten as

[tex]\frac{2s + 4}{s(s +6)}= \frac{A}{s} + \frac{B}{s + 6}[/tex]

Take LCM of the right hand side

[tex]\frac{2s + 4}{s(s +6)}= \frac{A(s + 6 )+ Bs}{s(s +6)}[/tex]

Cancel out the denominators

[tex]2s + 4 = A(s + 6) + Bs[/tex]

Open Bracket

[tex]2s + 4 = As + 6A+Bs[/tex]

Reorder

[tex]2s + 4 = As +Bs+ 6A[/tex]

By direct comparison:

[tex]2s = As + Bs[/tex]

[tex]4 = 6A[/tex]

Solving [tex]2s = As + Bs[/tex]

Divide through by s

[tex]2 = A + B[/tex]

Solve for A in [tex]4 = 6A[/tex]

[tex]\frac{4}{6} = A[/tex]

[tex]A = \frac{4}{6}[/tex]

[tex]A = \frac{2}{3}[/tex]

Substitute [tex]\frac{2}{3}[/tex] for A in [tex]2 = A + B[/tex]

[tex]2 = \frac{2}{3} + B[/tex]

[tex]B = 2 - \frac{2}{3}[/tex]

LCM

[tex]B = \frac{6 - 2}{3}[/tex]

[tex]B = \frac{4}{3}[/tex]

B.s. is parallel to xy what is the value of x

Answers

Answer:

A. 85

Step-by-step explanation:

can someone please help me with this geometry question?

Answers

Answer:

I think it would have to be C because 20-13=7

There are five digits in the number 35,024

Answers

Yes, yes there are, (3,5,0,2,4)
Yes, there are 5 digits in the number 35,024.

whats the answer to -|2+5| =

Answers

Answer: -7

Step-by-step explanation:

Is the square root of 85 a rational number

Answers


Since 85 is not a perfect square, it is an irrational number. This means that the answer to "the square root of 85?" will have an infinite number of decimals.

1. Find two functions f(x) and g(x) such that f[g(x)] = x but g[f(x)] does not equal x.2. State the vertical, horizontal asymptotes and zeros of the rational function, f(x) = {x^2+3x+2}/{x^2+5x+4}.Why is there no zero at x = –1?3. Give an example and explain why a polynomial can have fewer x-intercepts than its number of roots.

Answers

Answer:

1. [tex]f(x)=x^{2}[/tex] and [tex]g(x)=-\sqrt{x}[/tex]

2. Vertical Asymptote: x=-4

    Horizontal Asymptote: y=1

    Zeros: (-2,0)

    Because the graph will have a hole at x=-1. This is, the graph is not defined for that particular x-value.

3.  [tex]f(x)=x^{2}+4[/tex]

It has two complex roots, so there is no place in the graph where it crosses the x-axis.

Step-by-step explanation:

1. If we find the composite function f[g(x)] with the functions:

[tex]f(x)=x^{2}[/tex] and g(x)=-x, we will get the following:

[tex]f[g(x)]=(-\sqrt{x})^{2}[/tex]

which simplifies to

f[g(x)]=x

on the other hand, if we find g[f(x)] we will get the following:

[tex]g[f(x)]=-\sqrt{x^2}[/tex]

which simplifies to:

g[f(x)]=-x

2.

Before finding the asymptotes, it's a good idea to factor both the numerator and denominator of the function, so we get:

[tex]f(x)=\frac{x^{2}+3x+2}{x^{2}+5x+4}[/tex]

[tex]f(x)=\frac{(x+2)(x+1)}{(x+4)(x+1)}[/tex]

we can now see that this function can be simplified. It is important to simplify this function so we don't confuse vertical asymptotes with holes in the graph, so when simplifying we get the following:

[tex]f(x)=\frac{x+2}{x+4}[/tex]

now we can set the denominator equal to zero.

x+4=0

and solve for x:

x=-4 this is our vertical asymptote.

For the horizontal asymptote, there is a rule that tells us that if the polynomials on the numerator and denominator have the same degree (the same greatest power), then the horizontal asymptote is found by dividing the lead coefficient of the polynomial on the numerator by the lead coefficient on the denominator. In this case the lead coefficients are 1 and 1 so the horizontal asymptote is:

[tex]y=\frac{1}{1}[/tex]

so the horizontal asymptote is at:

y=1.

The zeros of the function are located at the x-values that will turn the numerator of the simplified fraction equal to zero, so we get:

x+2=0

x=-2

so the only zero will be located at (-2,0)

x=-1 is not a zero because the original function is not defined for x=-1, there is a hole in the graph at this x-value.

Take a look at the graph of the function (See attached picture)

3.

This will happen when there are no real zeros. Take for example the function:

[tex]f(x)=x^{2}+4[/tex]

In this case this problem has 2 non-real zeros:

[tex]x^{2}+4=0[/tex]

[tex]x^{2}=-4[/tex]

[tex]x=\sqrt{-4}[/tex]

so:

x=2i   or   x=-2i

since they are complex numbers they cannot be graphed on a coordinate axis, so the graph will not cross the x-axis. See attached picture.

Solve for x in the equation x^2- 10x+ 25=35

Answers

Answer:

[tex]x = 5 + \sqrt{35} \: \: \:or \: \: \: x = 5 - \sqrt{35} \\[/tex]

Step-by-step explanation:

x² - 10x + 25 = 35

Move 35 to the left side of the equation

That's

x² - 10x + 25 - 35 = 0

x ² - 10x - 10 = 0

Using the quadratic formula solve the equation

That's

[tex]x = \frac{ - b\pm \sqrt{ {b}^{2} - 4ac } }{2a} [/tex]

From the question

a = 1 , b = - 10 , c = - 10

Substitute the values into the above formula and solve

That's

[tex]x = \frac{ - - 10\pm \sqrt{( { - 10})^{2} - 4(1)( - 10) } }{2(1)} \\ = \frac{10\pm \sqrt{100 + 40} }{2} \\ = \frac{10\pm \sqrt{140} }{2} \\ = \frac{10\pm2 \sqrt{35} }{2} \\ = \frac{10}{2} \pm \frac{2 \sqrt{35} }{2} \\ = 5\pm \sqrt{35} [/tex]

We have the final answer as

[tex]x = 5 + \sqrt{35} \: \: \:or \: \: \: x = 5 - \sqrt{35} \\ [/tex]

Hope this helps you

It cost Brody $9.80 to send 196 text messages. How many text messages did he send if he spent $4.20? *

Answers

Answer:

84 text messages

Step-by-step explanation:

Set up a proportion and solve:

dollars / texts = dollars / texts

9.8 / 196 + 4.2 / x

9.8 * x = 4.2 * 196

9.8x = 823.2

9.8x / 9.8 = 823.2 / 9.8

x = 84

Brody would have sent 84 messages if he spent $4.20.

What is a Ratio?

A ratio indicates the number of times one number contains another.

Given that, the cost of sending 196 text messages is $9.80.

Therefore,

$9.80 = 196 messages

$1 = 196/9.80 messages

$4.20 = (196/9.80)×4.20 messages

$4.20 = 84 messages

Hence, Brody would have sent 84 messages, if he spent $4.20.

To learn more about ratios, click here:

https://brainly.com/question/13419413

#SPJ3

Garrett must inspect a bridge that goes over a river. He begins 18 feet above water level to inspect the lighting, descends 32 feet to inspect the base of the bridge underwater, then descends another 4 feet to check on the concrete anchoring the base. Which best represents Garrett’s position with respect to the water level?

Answers

Answer:

–18 feet

Step-by-step explanation:

Answer:

-18

Step-by-step explanation:

6/5(8k+2)=-36solve equation

Answers

Answer:

k=-4

Step-by-step explanation:

[tex]\frac{6}{5} (8*-4+2) = -36[/tex]

Answer:

k = -4

Step-by-step explanation:

6/5 (8k + 2) = -36

5 x 6/5 (8k + 2) = -36 x 5

6(8k + 2) = -180

48k + 12 = -180

48k = -180 - 12

48k = -192

48k/48 = -192/48

k = -4

PLEASE HELP!! I WILL AWARD BRAINLIEST AND 50 POINTS!!!!!!!!!!!!!!!!!!!!!! For the given picture: a) List all of the triangles that are already drawn in the picture without changing it. b) For each triangle, list the exterior angle(s) that are already drawn in the picture without changing it. c) For each of the exterior angles in part (b), identify its remote interior angles in the corresponding triangle(s).

Answers

Answer:

There are 4 triangles. For the exterior and remote interior, I’m naming the angles with three letters.  If your teacher just wants one, it would be the middle one.  (I assume they’ll want all three, since the letters just name points, not angles.)

1) A) Name of triangle: ABO

B) Exterior AngleS: EAO, BOC and AOD

C) Remote Interior Angles: For EAO, it’s ABO and AOB.  For BOC, it’s BAO and ABO. For AOD, it’s BAO and ABO

2) A) Name of triangle: ABC

B) Exterior Angles:EAC

C) Remote Interior Angles: ABO and BCO

3) A) Name of triangle: DOC

B) Exterior Angles: ODH, DOA, COB, and OCG

C) Remote Interior Angles: For ODH, it’s DOC and COD.  For DOA, it’s ODC and DCO. For COB, it’s ODC and DCO.  For OCG, it has CDO and DOC

4) A) Name Of triangle: COB

B) Exterior Angles: AOB, DOC, and OBF

C) Remote Interior Angles: For AOB, it’s OBC and OCB. For DOC, it’s OBC and OCB.  For OBF, it’s BOC and OCB

Step-by-step explanation:

There are 4 triangles. For the exterior and remote interior, I’m naming the angles with three letters.  If your teacher just wants one, it would be the middle one.  (I assume they’ll want all three, since the letters just name points, not angles.)

1) A) Name of triangle: ABO

B) Exterior AngleS: EAO, BOC and AOD

C) Remote Interior Angles: For EAO, it’s ABO and AOB.  For BOC, it’s BAO and ABO. For AOD, it’s BAO and ABO

2) A) Name of triangle: ABC

B) Exterior Angles:EAC

C) Remote Interior Angles: ABO and BCO

3) A) Name of triangle: DOC

B) Exterior Angles: ODH, DOA, COB, and OCG

C) Remote Interior Angles: For ODH, it’s DOC and COD.  For DOA, it’s ODC and DCO. For COB, it’s ODC and DCO.  For OCG, it has CDO and DOC

4) A) Name Of triangle: COB

B) Exterior Angles: AOB, DOC, and OBF

C) Remote Interior Angles: For AOB, it’s OBC and OCB. For DOC, it’s OBC and OCB.  For OBF, it’s BOC and OCB

10 times as many as 1 hundred is _____ hundreds are _____thousands.

Answers

10 hundreds or 1 thousand.  

Further explanation

This question is related to place values.

10 times as many as a number is 10 multiplies the number.

Hence, 10 times as many as 1 hundred is

\boxed{ \ 10 \times 1 \ hundred \rightarrow \boxed{ \ 10 \ hundreds \ } \ }

Furthermore, 10 hundreds have the same meaning as 1 multiplies 10 hundreds which can produce 1 thousand.

\boxed{ \ 1 \times 10 \ hundred \rightarrow \boxed{ \ 1 \ thousand \ } \ }

Quick steps

Part-1

\boxed{ \ 10 \times 1 \ hundred = X \ hundred \ }

\boxed{ \ 10 \ hundred = X \ hundred \ }

Thus, \boxed{\boxed{ \ X = 10 \ }}  

Part-2

\boxed{ \ 10 \times 1 \ hundred = Y \ thousand \ }

\boxed{ \ 10 \times 100 = Y \ thousand \ }

\boxed{ \ 1,000 = Y \ thousand \ }

\boxed{ \ 1 \ thousand = Y \ thousand \ }

Thus, \boxed{\boxed{ \ Y = 1 \ }}  

- - - - - - -  

Conclusions

10 times as many as 1 hundred is _10_ hundreds or _1_ thousand.  

Learn more  

9 ten thousands divided by 10 (in unit form) brainly.com/question/4786449

How do you write 770,070 in expanded form? brainly.com/question/4725342  

100 is ¹/₁₀ of what? brainly.com/question/96535  

Keywords: 10 times as many as 1 hundreds, hundreds, thousands, place value, operations, multiply, equal, blank, quick steps

Evaluate each expression 9+2(4)

Answers

Answer:

your answer is 17


Sound travels at speed of 330 m/s. If a firecracker exploded 3675 m away from you, how long does it take the sound of the explosion to reach you?

Answers

Divide the 3675 to the 330 simple

PLZ HELP ASAP!! The volume of prism A is 630 in^3. What is the volume of prism B if it is the same height as prism A and every cross sectional area of prism A is equal to every cross sectional area of prism B at the same level ?

Answers

Answer:

[tex]Volume_B = 630in^3[/tex]

Step-by-step explanation:

Given

[tex]Volume_A = 630in^3[/tex]

Required

Determine [tex]Volume_B[/tex]

Volume is calculated as thus:

[tex]Volume = Height * Area[/tex]

From the question, we understand that both prisms have the same height and area;

This implies that

[tex]Volume_B = Volume_A[/tex]

Substitute [tex]630in^3[/tex] for [tex]Volume_A[/tex]

[tex]Volume_B = 630in^3[/tex]

Answer:

e.  630 in³

Step-by-step explanation:

ratio and proportion of volume with the same height:

vol A = 630

h = 21

Vol A = Vol B

   h            h

630 = Vol B

   21         21

Vol B = 630 (21)

               21

Vol B = 630 in³

HELP ASAP!!! help wanted fast

Answers

I think the answer will be C

1) (−12) + 7 what is the answer to this problem

Answers

The answer to the problem is -5
-5 if you add you go closer to positive if you subtract you go farther negative
Other Questions
Which of the following is an example of a price?a) liquidityb) operating costsc) value ITS EASY PLS HELP !!! Read this excerpt from the US Constitution. Which portion of the text reflects the Enlightenment idea of popular sovereignty?We the People of the United States, in order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for thecommon defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish thisConstitution for the United States of America.Article. 1.Section 1.All legislative powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House ofRepresentatives.Amendment1Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom ofspeech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances. A and b find volume and the total surface Korea was invaded by Japan in the late 1500s from the south and in the early 1600s by ______ from the north What did Owen do wrong? Describe two ways that electrons form chemical bonds between atoms.HELPPP PLEASEEEE A weather station records the morning low temperature as 6.1F and the afternoon high temperature as 10.5F.Which expression represents the total temperature change, in degrees Fahrenheit, from the morning low to the afternoon high? What is the correct meaning of the word pacify.?Maia's singing seemed to pacify. her baby sister What is the name of a feature that can be used to insert specialcharacters or symbols?O Automatic CorrectO Automatic SymbolO Automatic SubstitutionO Automatic Character Dana is tying 18 bows onto gift baskets each bow uses 4 feet of ribbon does Dana need to make all the bows y'all know this???? How many zeros are in the standard form of 107? Write this number in standard form. 2. Which statement summarizes the central idea of the paragraph that begins, These hidden costs were hard to..."?A Factory conditions in Bangladesh were both dangerous and inhumane.B. Bangladeshi women were paid a higher-than-minimum wage to sew.C. Foreign governments often structure their factories to be especially safe for workers.D. Workers often die in poorly constructed factories. HELP pLzZZ IT IS DUE IN a FEW MINUTES AND I CANT FIGURE IT OUT!!!!!What is the unit rate. of 5/8 mile in 1/4 hour A circular pool has a diameter of 16 meters. What is the area and circumference of the pool? Circumference: 50.24 meters; Area: 200.96 square meters Circumference: 50.24 meters; Area: 803.84 square meters Circumference: 100.48 meters; Area: 200.96 square meters Circumference: 100.48 meters; Area: 803.84 square meters Mara is building a set of shelves supported by a diagonal brace, as shown in the diagram. Answer the questions to decide whether all three shelves are parallel. 1. If 2 measures 120, what is the measure of 1? Explain how you found the measure of 1. (The image) Write your answer in the space below. 2. Think of the top and middle shelves as two lines cut by a transversal. What type of angles are 1 and 5? Write your answer in the space below. 3. Use the relationship between 1 and 5 to decide whether the top and middle shelves are parallel. Write your answer in the space below. 4. Is the bottom shelf parallel to the top shelf? Explain. Write your answer in the space below. 5. Is the bottom shelf parallel to the middle shelf? Explain. Write your answer in the space below. Which of the following are not key ideas of transcendentalism?A.) nonstructured religionB.) materialismC.) nonconformityD.) communion with nature What do comets and astroids have in common Which of the following best explains the Mongolian khans difficulty with bringing Vietnam under the Pax Mongolica?The policy of defense and fortification to prepare villages and cities for times of warThe policy of nonviolent resistance and diplomatic negotiation, supported by Hindu religious leadersThe policy of establishing strong trade ties with the Yuan dynasty to deter a conquering forceThe policy of forced labor to quickly establish a conscripted army when facing attack