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
Gemiola [76]
3 years ago
6

R Problem Old Faithful is a geyser located in Yellowstone Nation Park in Wyoming. It received the name "Old Faithful" by the Was

hburn-Langford-Doane expedition, who noted that the geyser seemed to erupt at regular intervals. In this problem, we will use data collected by park rangers to analyze whether the eruptions are as regular as originally thought. If you feel so inclined, you can watch Old Faithful in real time at the National Park Service website. The dataset is available on Canvas and has 2 columns and 272 rows. Observations are organized by row - the first column gives the length of the eruption (in minutes), while the second columin gives the waiting time (in minutes) since the previous eruption...Use the R function read.table to import the data set. If you don't know how it works, use help(read.table) to check the usage.
Mathematics
1 answer:
Tpy6a [65]3 years ago
8 0

Answer:

Step-by-step explanation:

The first 6 rows of the eruptions data :

eruptions waiting

1 3.600 79

2 1.800 54

3 3.333 74

4 2.283 62

5 4.533 85

6 2.883 55

R code :

1. You can directly access the "Faithful" data in R without importing the data. The dataset faithful is present in the R or you can load the datasets. or use install the datasets.load. package

If you have the data in a text file, make sure all the columns and rows are separated by commas

Step 1: open notepad

Step 2: enter data with no spaces but only commas

Step 3: save the file as ‘faithful.txt’ on your Desktop

# Get R help

?read.table

# Import the data

rain<-read.table("C:/Users/YOUR-NAME/Desktop/faithful.txt", header = TRUE,

                  sep = ",")

Check the data

data("faithful") #Loading Faithful data

head(faithful, 6) #Reading first 6 rows of the data

You might be interested in
Pls hurryyyyyy math test
Bezzdna [24]

Answer:

45 degrees

Step-by-step explanation:

4 0
2 years ago
So in my math homework lesson today we are learning “Solve One-Step Problems”. I don’t completely understand how to do it. I was
Sedaia [141]

Answer:

Step-by-step explanation:

So, in this problem, we're given the size of the of the file. We are also given the rate of change of the amount-downloaded function.

Notice how the transfer rate is in units of time (25.2 MB/s means 25.2 MB per second).

If we want to calculate how <em>long</em> it'll take to download the entire file, we have to divide the file size by the amount of the MB downloaded in one second. (This is assuming the download rate is constant, in the case it isn't constant, you would use calculus) This will find the total number of seconds needed to download the entire file.

We're essentially solving for t in the equation

400.6 = 25.2t

t = \frac{400.6}{25.2} = \frac{2003}{126} = 15.897

7 0
3 years ago
Find the equation of the sphere if one of its diameters has endpoints (4, 2, -9) and (6, 6, -3) which has been normalized so tha
Pavel [41]

Answer:

(x - 5)^2 + (y - 4)^2 + (z - 6)^2 = 14.

(Expand to obtain an equivalent expression for the sphere: x^2 - 10\,x + y^2 - 8\, y + z^2 - 12\, z + 63 = 0)

Step-by-step explanation:

Apply the Pythagorean Theorem to find the distance between these two endpoints:

\begin{aligned}&\text{Distance}\cr &= \sqrt{\left(x_2 - x_1\right)^2 + \left(y_2 - y_1\right)^2 + \left(z_2 - z_1\right)^2} \cr &= \sqrt{(6 - 4)^2 + (6 - 2)^2 + ((-3) - (-9))^2 \cr &= \sqrt{56}}\end{aligned}.

Since the two endpoints form a diameter of the sphere, the distance between them would be equal to the diameter of the sphere. The radius of a sphere is one-half of its diameter. In this case, that would be equal to:

\begin{aligned} r &= \frac{1}{2} \, \sqrt{56} \cr &= \sqrt{\left(\frac{1}{2}\right)^2 \times 56} \cr &= \sqrt{\frac{1}{4} \times 56} \cr &= \sqrt{14} \end{aligned}.

In a sphere, the midpoint of every diameter would be the center of the sphere. Each component of the midpoint of a segment (such as the diameter in this question) is equal to the arithmetic mean of that component of the two endpoints. In other words, the midpoint of a segment between \left(x_1, \, y_1, \, z_1\right) and \left(x_2, \, y_2, \, z_2\right) would be:

\displaystyle \left(\frac{x_1 + x_2}{2},\, \frac{y_1 + y_2}{2}, \, \frac{z_1 + z_2}{2}\right).

In this case, the midpoint of the diameter, which is the same as the center of the sphere, would be at:

\begin{aligned}&\left(\frac{x_1 + x_2}{2},\, \frac{y_1 + y_2}{2}, \, \frac{z_1 + z_2}{2}\right) \cr &= \left(\frac{4 + 6}{2},\, \frac{2 + 6}{2}, \, \frac{(-9) + (-3)}{2}\right) \cr &= (5,\, 4\, -6)\end{aligned}.

The equation for a sphere of radius r and center \left(x_0,\, y_0,\, z_0\right) would be:

\left(x - x_0\right)^2 + \left(y - y_0\right)^2 + \left(z - z_0\right)^2 = r^2.

In this case, the equation would be:

\left(x - 5\right)^2 + \left(y - 4\right)^2 + \left(z - (-6)\right)^2 = \left(\sqrt{56}\right)^2.

Simplify to obtain:

\left(x - 5\right)^2 + \left(y - 4\right)^2 + \left(z + 6\right)^2 = 56.

Expand the squares and simplify to obtain:

x^2 - 10\,x + y^2 - 8\, y + z^2 - 12\, z + 63 = 0.

8 0
3 years ago
Which of the following points does Not lie on the graph of y =3x
nalin [4]

Answer:

(2,6)

Step-by-step explanation:

<u><em>The options of the questions are</em></u>

(0,1) (1,3) (2,6) (3,27)

and the given function is    y=3^x

we know that

If a ordered pair lie on the graph of the given equation, then the ordered pair must satisfy the given equation

<u><em>Verify each ordered pair</em></u>

case 1) (0,1)

substitute the value of x and the value of y in the linear equation and then compare the results

1=3^0

1=1 ----> is true

so

The ordered pair lie on the graph of the given equation

case 2) (1,3)

substitute the value of x and the value of y in the linear equation and then compare the results

3=3^1

3=3 ----> is  true

so

The ordered pair lie on the graph of the given equation

case 3) (2,6)

substitute the value of x and the value of y in the linear equation and then compare the results

6=3^2

6=9 ----> is  not true

so

The ordered pair not lie on the graph of the given equation

case 4) (3,27)

substitute the value of x and the value of y in the linear equation and then compare the results

27=3^3

27=27 ----> is  true

so

The ordered pair lie on the graph of the given equation

8 0
2 years ago
Please help me !!!!!! I need help
kvv77 [185]

Answer:

  y +8 = -4(x -8)

Step-by-step explanation:

You recognize that the given equation is in slope-intercept form:

  y = mx + b

with m = 1/4 and b = 5.

A perpendicular line will have a slope that is the negative reciprocal of this value of m, so the desired slope is ...

  -1/m = -1/(1/4) = -4

The point-slope form of the equation for a line is ...

  y -k = m(x -h) . . . . . for slope m through point (h, k)

Using m=-4 and (h, k) = (8, -8), the point-slope form of the equation for the line you want is ...

  y +8 = -4(x -8)

3 0
2 years ago
Other questions:
  • During a long road trip, you drive 420 miles on a 12-gallon tank of gas. What is your gas mileage (in miles per gallon)?
    7·1 answer
  • PLZZZZZZZZZZZZZZZZZZZZZZZZZ HELP WILL GIVE BRAINLIEST
    10·2 answers
  • The tail of a Boeing 747 is 63 2/3 feet. How many inches tall is the tail? Please show your work
    9·2 answers
  • PLZ I NEED HELP BUT PLZ EXPLAIN WHEN YOU ANSWER
    5·2 answers
  • PLEASE HELP!! WILL GIVE BRAINLIEST FOR BEST ANSWER!! Please solve #21.
    14·2 answers
  • In a basketball game, Derick scored 3 points less than twice the number of points Logan scored. Logan scored 8 points. How many
    8·2 answers
  • Of all the children who attended the party,40% were boys.40% of the boys and 60% attending the party eat ice cram what percent o
    15·1 answer
  • A teacher changed to grading from 50 points + 5 for each correct answer to 50 points + 7 for each correct answer. What would cha
    6·1 answer
  • Which expression is equivalent 24 + 30
    7·1 answer
  • How to solve this equation
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!