1answer.
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
quester [9]
2 years ago
12

PLEASE FIX THIS LUA SCRIPT

Engineering
2 answers:
yKpoI14uk [10]2 years ago
6 0

Answer: not sure

Explanation: brainly please

zavuch27 [327]2 years ago
5 0

Answer:

When declaring variables, you said “workspace.MeanEnemy”. What you should have done was “game.Workspace.MeanEnemy”. Same for the variable right under it. Other than that, seems to be all good!

Hope This Helped!

You might be interested in
Using only the sequential operations described in Section 2.2.2, write an algorithm that gets two values: the price for item A a
suter [353]

Answer:

total_cost = cost + tax

Explanation:

Step1) Let the 2 variable for take input from user e.g price and quantity

var price ;

var quantity ;

var cost ;

var tax ;

var total_cost ;

Step2) take input from user quantity of item 'A'

step3) cost = price * quantity

Step4) tax = 0.08 * cost

Step5) total_cost = cost + tax

Step6) print the total_cost

7 0
3 years ago
The number of weaving errors in a twenty-foot by ten-foot roll of carpet has a mean of 0.8 What is the probability of observing
Viktor [21]

Answer:

0.14% probability of observing more than 4 errors in the carpet

Explanation:

When we only have the mean, we use the Poisson distribution.

In a Poisson distribution, the probability that X represents the number of successes of a random variable is given by the following formula:

P(X = x) = \frac{e^{-\mu}*\mu^{x}}{(x)!}

In which

x is the number of sucesses

e = 2.71828 is the Euler number

\mu is the mean in the given interval.

The number of weaving errors in a twenty-foot by ten-foot roll of carpet has a mean of 0.8.

This means that \mu = 0.8

What is the probability of observing more than 4 errors in the carpet

Either we observe 4 or less errors, or we observe more than 4. The sum of the probabilities of these outcomes is 1. So

P(X \leq 4) + P(X > 4) = 1

We want P(X > 4). Then

P(X > 4) = 1 - P(X \leq 4)

In which

P(X \leq 4) = P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) + P(X = 4)

P(X = x) = \frac{e^{-\mu}*\mu^{x}}{(x)!}

P(X = 0) = \frac{e^{-0.8}*(0.8)^{0}}{(0)!} = 0.4493

P(X = 1) = \frac{e^{-0.8}*(0.8)^{1}}{(1)!} = 0.3595

P(X = 2) = \frac{e^{-0.8}*(0.8)^{2}}{(2)!} = 0.1438

P(X = 3) = \frac{e^{-0.8}*(0.8)^{3}}{(3)!} = 0.0383

P(X = 4) = \frac{e^{-0.8}*(0.8)^{4}}{(4)!} = 0.0077

P(X \leq 4) = P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) + P(X = 4) = 0.4493 + 0.3595 + 0.1438 + 0.0383 + 0.0077 = 0.9986

P(X > 4) = 1 - P(X \leq 4) = 1 - 0.9986 = 0.0014

0.14% probability of observing more than 4 errors in the carpet

5 0
3 years ago
This question allows you to practice proving a language is non-regular via the Pumping Lemma. Using the Pumping Lemma (Theorem 1
Ulleksa [173]

Answer:

<em>L is not a regular language with formal proofs  </em>

Explanation:

<em>(a) To prove that L is not a regular language, we will use a proof by contradiction. the assumption entails  that L is a regular language. Then by the Pumping Lemma for Regular Languages, </em>

<em>there exists a pumping length p for L such that for any string s ∈ L where |s| ≥ p, </em>

<em>s = xyz subject to the following conditions: </em>

<em>(a) |y| > 0 </em>

<em>(b) |xy| ≤ p, and </em>

<em>(c) ∀i > 0, xyi </em>

<em>z ∈ L</em>

<em />

<em>(b) To determine that L is not a regular language, we mke use of proof by contradiction.  lets assume, that L is regular. Then by the Pumping Lemma for Regular Languages, it states also,</em>

<em>The pumping length, p for L such that for any string s ∈ L where |s| ≥ p, s = xyz subject  to the condtions as follows : </em>

<em>(a) |y| > 0 </em>

<em>(b) |xy| ≤ p, and </em>

<em>(c) ∀i > 0, xyi </em>

<em>z ∈ L. </em>

<em>Choose s = 0p10p </em>

<em>. Clearly, |s| ≥ p and s ∈ L. By condition (b) above, it follows is shown. by the first condition x and y are zeros.</em>

<em>for some  k > 0. Per (c), we can take i = 0 and the resulting string will still be in L. Thus,  xy0 </em>

<em>z should be in L. xy0 </em>

<em>z = xz = 0(p−k)10p </em>

<em>It is shown that is is  not in L. This is a  contraption with the pumping lemma.  our assumption that L is regular is  incorrect, and L is not a regular language</em>

6 0
3 years ago
The following median grain size data were obtained during isothermal liquid phase sintering of an 82W-8Mo-8Ni-2Fe alloy. What is
Morgarella [4.7K]

Answer:

The probable grain-coarsening mechanism is : Ideal grain growth mechanism

( d^{2}- d_{0} ^{2} = kt )

Explanation:

The plot attached below shows the time dependence of the growth of grain.

The probable grain-coarsening mechanism is : Ideal grain growth mechanism

the ideal growth follows this principle = d^{2} - d^{2} _{0}  = kt

d = final grain size

d_{0} = initial grain size

k = constant ( temperature dependent )

t = 0

8 0
3 years ago
A circular ceramic plate that can be modeled as a blackbody is being heated by an electrical heater. The plate is 30 cm in diame
MakcuM [25]

Answer:

Heater power = 425 watts

Explanation:

Detailed explanation and calculation is shown in the image below

6 0
3 years ago
Other questions:
  • What is the rms current flowing through a light bulb that uses an average power of 60.0 60.0 W when it is plugged into a wall re
    12·1 answer
  • 4. A 1 m3 rigid tank has propane at 100 kPa, 300 K and connected by a valve to another tank of 0.5 M3 with propane at 250 kPa, 4
    11·1 answer
  • Write a static method named fixSpacing that accepts a Scanner representing a file as a parameter and writes that file's text to
    5·1 answer
  • A polymeric extruder is turned on and immediately begins producing a product at a rate of 10 kg/min. An operator realizes 20 min
    12·1 answer
  • An 80 kg man descends to the ground from an aeroplane using a parachute. If the drag coefficient of the parachute is 0.5 and the
    12·1 answer
  • How do you connect several springs to increase the equivalent stiffness? What is one example from industry or other real-life si
    7·1 answer
  • Consider a metal single crystal oriented such that the normal to the slip plane and the slip direction are at angles of 43.1 deg
    6·1 answer
  • Determine the slopes and deflections at points B and C for the beam shown below by the moment-area method. E=constant=70Gpa I=50
    10·1 answer
  • 3. If nothing can ever be at absolute zero, why does the concept exist?
    10·1 answer
  • Which of the given strategies is specifically a competitive advantage sustainment strategy?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!