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
Answer:
The answers are in solutions.
Step-by-step explanation:
- Four businessmen invested a sum of Rs. 250,000 in the ratio of 3:5:7:10 to start a new business.
(i) The amount invested by each businessman is;
<u>1^st businessman invested:</u>
<u />
Rs. 30,000
<u>2^nd businessman invested:</u>
<u />
<u /> = Rs. 50,000
<u>3^rd businessman invested:</u>
<u />
<u /> = Rs. 70,000
<u>4^th businessman invested:</u>
<u />
= Rs. 100,000
- If they gained Rs. 50,000
(ii) The profit each one of them got is;
<u>1^st businessman got:</u>
<u />
<u /> = Rs. 6,000
<u>2^nd businessman got:</u>
<u />
<u /> = Rs. 10,000
<u>3^rd businessman got:</u>
<u />
<u /> = Rs. 14,000
<u>4^th businessman got:</u>
= Rs. 20,000
Answer:
b
Step-by-step explanation:
Volume = Length x Length x Length
Volume :
(x + 2) (x + 2) (x + 2)
= (x² + 4x + 4)(x + 2)
= x³ + 2x² + 4x² + 8x + 4x + 8
= x³ + 6x² + 12x + 8
Answer: x³ + 6x² + 12x + 8