How many different committees can be formed from 7 teachers and 30 students if the committee consists of three teachers and four students

Answers

Answer 1

Answer:

959175

Step-by-step explanation:

a) Teachers' committee:

\(C^3_7=\frac{7!}{3!4!}=35;\)

b) Students' committee:

\(C^4_{30}=\frac{30!}{4!(30-4)!}=\frac{27*28*29*30}{2*3*4}=35*27*29=27405;\)

c) Teachers & Students:

\(C^3_7*C^4_{30}=35*27405=959175.\)


Related Questions

What should be subtracted from minus 3 / 4 so has to get 5 / 6 ?

Answers

Answer:

Step-by-step explanation:

Step 1:First Make 3/4 and 5/6 into like fractions.Find the L.C.M of 4 and  

            6,which is 12.

            3*3/4*3=9/12

             5*2/6*2=10/12

Step 2:Subtract 9/12 from 10/12,which is 1/12.

           

                       

What is -2(5x -12)>54

Answers

Answer:

x < - 3 i guess I'm not sure

Answer:

x=13.6

Step-by-step explanation:

-2(5x-12)>54

5x-12>54+2

5x-12>56

5x>56+12

5x>68

x>68/5

x>13.6

Calculate and interpret the residual for the flower that had 2 tablespoons of sugar and looked fresh for 204 hours.

Answers

The Residual is -8.4 hours and the interpretation of the given residual is that the carnation stayed fresh for 8.4 hours less than expected based on how much sugar it received.

How to find the residual of a scatter plot?

A residual plot is a type of scatter plot where the horizontal axis represents the independent variable, or input variable of the data, and the vertical axis represents the residual values.

Now, looking at the given residual plot and using a calculator online, we can say that the equation of the least squares regression line is;

y^ = 180.8 + 15.2x

Now, for 2 tablespoons of sugar , we have x = 2. Thus;

y^ = 180.8 + 15.2(2)

y^ = 212.4 hours

Residual for 204 hours is;

Residual = 204 - 212.4 = -8.4 hours

Thus, the interpretation of the given residual is that the carnation stayed fresh for 8.4 hours less than expected based on how much sugar it received.

Read more about residual of a scatter plot at; https://brainly.com/question/9319773

#SPJ1

Complete question is;

Does adding sugar to the water in a vase help flowers stay fresh? To find out, two statistics students went to a flower shop and randomly selected 12 carnations. When they got home, the students prepared 12 identical vases with exactly the same amount of water in each vase. They put one tablespoon of sugarin 3 vases, two tablespoons of sugar in 3 vases, and three tablespoons of sugar in 3 vases.In the remaining 3 vases, they put no sugar. After the vases were prepared, the students randomly assigned 1 carnation to each vase and observed how many hours each flower continued to look fresh.

Calculate and interpret the residual for the flower that had 2 tablespoons of sugar and looked fresh for 204 hours.

Calculate and interpret the residual for the flower that had 2 tablespoons of sugar and looked fresh

17.82+6.4 giving brailyest

Answers

Answer:

The answer is 24.22

Step-by-step explanation:

17.82 + 6.4 = 24.22

Step-by-step explanation:

the answer is going to be 24.22

eight children share two pies equally. how many pies will each child get?

Answers

Answer:

Each child will get 1/4 of a pie

Step-by-step explanation:

Imagine you are the pastry chef at your favorite restaurant. The manager has just told you that you have a large crowd coming in for lunch tomorrow and you need to prepare. This project includes a recipe for cupcakes for dessert. You are expecting 108 people, but the recipe does not serve that many people, so you will need to adjust the ingredients so there will be enough. For example, if a recipe serves 8 people and you need to feed 32 people, what would you need to do? You would have to make 4 times as much as the original recipe makes, which means that you would need to multiply the amount of each ingredient by 4, since 8*4 = 32.

Imagine you are the pastry chef at your favorite restaurant. The manager has just told you that you have

Answers

Answer:

3

Step-by-step explanation:

The recipe serves 36 people. You need to serve 108 people.

In the example,

original serving (8) * multiplier (4) = new serving (32)

Here,

original serving = 36 and new serving = 108

36 * multiplier = 108

divide both sides by 36 to isolate the multiplier

108/36 = multiplier = 3

PLEASE HELP!! I’m begging

PLEASE HELP!! Im begging

Answers

Answer:

AL

Step-by-step explanation:

AL would be the angle bisector because it divides the triangle into equal halfs.

Determine the value of x.

Determine the value of x.

Answers

Answer:

2\(\sqrt{2}\)

Step-by-step explanation:

A 45-90-45 triangle will have two equivalent side lengths and the hypotenuse. The hypotenuse is 4 and one of the side lengths is x. Since one of the side lengths is x, the other side length is x as well. Using the Pythagorean theorem, you can create this equation:

x^2 + x^2 = 4^2

or

2x^2 = 16

Now do the algebra:

2x^2 = 16

x^2 = 8

x = \sqrt{8\\}

which can be simplified as 2\(\sqrt{2}\)

A sample of 15 recent college graduates found that starting salaries for attorneys in New York City had a mean of $102,342 and a standard deviation of $21,756. What does mu represent

Answers

Answer:

Population mean= mu = μ= $102,342

Step-by-step explanation:

Here

Sample size= n= 15

Population mean= mu = μ= $102,342

Population standard deviation = sigma = σ =$21,756

The population mean is given by mu = μ

Both the means , the sample mean and the population mean give the same measure but there is difference in their calculations and usage.

The population mean mu is calculated by using the population size N but the sample mean x bar is calculated using sample size.

In the given question the sample size is given of the students whereas the mean salaries for attorneys in New York City  gives the population mean because the attorneys in New York City contains all the attorneys given in the city. It is not a sample.

The population gives all the members of the group. So here none is missing.

PLS HELP WITH THESE MATH QUESTIONS

PLS HELP WITH THESE MATH QUESTIONS

Answers

Answer:

The answer for Question #1 is 3x + 40
The answer for Question #2 is X + 2
The answer for Question #3 is 2x + 4x +8x

Step-by-step explanation:

Answer:

1. 3x + 40

2. x + 2

3. A: 2x + 4x + 8x, D: x (2 + 4 + 8)

Step-by-step explanation:

1. 5 (x + 8) - 2x

= 5x + 40 - 2x

= 3x + 40

2. 2 (3x + 1) - 5x

= 6x + 2 - 5x

= x + 2

3. Imagine if x = 2.

A. 2x + 4x + 8x

2 (2) + 4 (2) + 8 (2)

= 4 + 8 + 16

= 28

D. x (2 + 4 + 8)

= 2 (2 + 4 + 8)

= 2 (14)

= 28

Therefore, answer choices A and D are the correct answer.

I need help plzzzzzzzz

I need help plzzzzzzzz

Answers

Answer:

B and 7

Step-by-step explanation:

because 9 minus 2 is 7

B 7 because is add not subtract

Solve for x:
7x - 3x + 11 = 27

Answers

7x-3x=27-11
4x=16
16/4=x
x=4

Answer:

-10

Step-by-step explanation:

eight hundred twenty nine and six tenths as a decimal

Answers

Answer: 829.6

Any other questions ask :)

Which of these equations represents the graph below?


y = 2x + 3



y = 3x - 2



y = 3x + 2



y=2x - 3

Which of these equations represents the graph below?y = 2x + 3y = 3x - 2y = 3x + 2y=2x - 3

Answers

y=2x-3

Explanation: y=mx+b
b is where the slope going over the y axis which is -3. mx is the slope which is rise over run, the line rises 2 and goes over 1 making it y=2x-3

You have filled your car with a full tank of gas, and could travel 455 miles. For every 13 miles you drive, you use 1 gallon of gas (13 miles per gallon).

Please write an equation in slope-intercept form to model this situation. Please use d for the miles you can still travel, and g for the gallons of gas you use.

Answers

The equation in slope-intercept form to model this situation is g = (1/13) * d - 35.

We can start by using the given information to find the slope of the equation, which represents the rate at which gas is consumed:

1 gallon of gas is used for every 13 miles driven

So the slope of the equation will be:

slope = 1 gallon / 13 miles = 1/13

Now we can use the point-slope form of a linear equation to find the equation that models this situation. We know that when the tank is full, we can travel 455 miles, which means that we have not used any gas yet:

Starting point: (0, 455)

Using the slope we found earlier, we can write the equation in point-slope form:

g - 0 = (1/13) * (d - 455)

Simplifying this equation by distributing the 1/13 on the right side, we get:

g = (1/13) * d - (1/13) * 455

Simplifying further, we get:

g = (1/13) * d - 35

So the equation in slope-intercept form to model this situation is:

g = (1/13) * d - 35

where g is the gallons of gas used and d is the miles you can still travel.

Know more about  linear equation   here:

https://brainly.com/question/28732353

#SPJ11

What is the M.A.D. (mean absolute deviation) of the following data set?
8 9 9 7 8 6 9 8

Answers

The mean absolute deviation is 0.75

How to determine the mean absolute deviation

To calculate the mean absolute deviation (M.A.D.), you need to find the average of the absolute differences between each data point and the mean of the data set

From the information given, we have that the data set is;

8 9 9 7 8 6 9 8

Let's calculate the mean, we get;

Mean = (8 + 9 + 9 + 7 + 8 + 6 + 9 + 8) / 8

Mean = 64 / 8

Divide the values

Mean = 8

Let's determine the absolute difference, we get;

Absolute differences=

|8 - 8| = 0

|9 - 8| = 1

|9 - 8| = 1

|7 - 8| = 1

|8 - 8| = 0

|6 - 8| = 2

|9 - 8| = 1

|8 - 8| = 0

Find the mean of the absolute differences:

Average of absolute differences = (0 + 1 + 1 + 1 + 0 + 2 + 1 + 0) / 8

Absolute difference = 6 / 8 = 0.75

Learn more about mean absolute deviation at: https://brainly.com/question/447169

#SPJ1

What is the actual distance between these two cities in kilometers?

What is the actual distance between these two cities in kilometers?

Answers

\(70km\)

1) Whenever we have problems that deal with the real distance and distance on the map, we can write out the following formula:

\(\begin{gathered} Scale=\frac{distance\: on\: the \: map}{real\: distance} \\ S=\frac{3.5}{R} \end{gathered}\)

So, let's call the Real distance "R". Note that in this question, 1 centimeter represents 20 kilometers

2) So, in order to plug that as the scale we need to convert kilometers to centimeters:

\(\begin{gathered} 1km--100000cm \\ 20km---x \\ x=2000000cm \end{gathered}\)

3) Finally, we can plug that into the formula and cross multiply the ratios this way:

\(\begin{gathered} \frac{3.5}{r}=\frac{1}{2000000} \\ r=2000000\times3.5 \\ r=7000000cm \end{gathered}\)

Converting it back to kilometers we can write:

\(\frac{7000000}{100000}=70km\)

Please solve this
∫ (log(1 + x ^ 2))/((x + 1) ^ 2) dx

Answers

The final result of the integral is:

∫ (log(1 + x²) / (x + 1)²) dx = log(x + 1) - 2 (log(x + 1) / x) - 2Li(x) + C,

where Li(x) is the logarithmic integral function and C is the constant of integration.

We have,

To solve the integral ∫ (log(1 + x²) / (x + 1)²) dx, we can use the method of substitution.

Let's substitute u = x + 1, which implies du = dx. Making this substitution, the integral becomes:

∫ (log(1 + (u-1)²) / u²) du.

Expanding the numerator, we have:

∫ (log(1 + u² - 2u + 1) / u²) du

= ∫ (log(u² - 2u + 2) / u²) du.

Now, let's split the logarithm using the properties of logarithms:

∫ (log(u² - 2u + 2) - log(u²)) / u² du

= ∫ (log(u² - 2u + 2) / u²) du - ∫ (log(u²) / u²) du.

We can simplify the second integral:

∫ (log(u²) / u²) du = ∫ (2 log(u) / u²) du.

Using the power rule for integration, we can integrate both terms:

∫ (log(u² - 2u + 2) / u²) du = log(u² - 2u + 2) / u - 2 ∫ (log(u) / u³) du.

Now, let's focus on the second integral:

∫ (log(u) / u³) du.

This integral does not have a simple closed-form solution in terms of elementary functions.

It can be expressed in terms of a special function called the logarithmic integral, denoted as Li(x).

Therefore,

The final result of the integral is:

∫ (log(1 + x²) / (x + 1)²) dx = log(x + 1) - 2 (log(x + 1) / x) - 2Li(x) + C,

where Li(x) is the logarithmic integral function and C is the constant of integration.

Learn more about integrations here:

https://brainly.com/question/30217024

#SPJ1

Calcula el 23 % de 175

Answers

Answer:40.25

Step-by-step explanation:

23% of 175

23/100 x 175

(23 x 175)/100

4025/100=40.25

Help help help help help

Help help help help help

Answers

65=0.13•x. x=500. :)

Answer:

500

Step-by-step explanation:

65 is 13% of 500

500 x .13= 65

Ruth has 12 feet of ribbon.
She uses 7 feet of it for a craft project and gives 28 inches of it to her sister.
How many inches of ribbon does she have left?
Enter your answer in the box.

Answers

Answer:

See I don't know the answer but I did another one like this if it doesn't help you can report it no problem

Step-by-step explanation:

There are 2 different ways you can solve this problem and you'll get the same answer.

To help you visualize what you have to do, it might be easiest to translate your problem to a unit that easier to use.

Since you only have a ribbon 5 feet long, but you must cut it into 6 pieces, you know it won't even be 1 foot long.

One way to solve the problem would be to translate your 5-foot ribbon into a ribbon divided into inches.

1 foot = 12 inches

To find out how many inches long your ribbon is, you'll need to multiply the number of feet by 12.

Once you know that, then you can more easily divide it by 6. This will tell you how many inches each ribbon is.

Careful! the answer is to be put into feet so once you know how many inches long the ribbon is, you must then divide by 12 to get the correct answer in feet. Don't forget to round to the nearest tenth.

Another way to solve the problem is to simply divide the 5 feet by the number 6 and then round your number to the nearest tenth. It may be harder to visualize the answer this way, but you will get the same answer as if you translated your ribbon into inches and then divided by 12.

Good luck! I hope this helps!

can i get brainliest please
Ruth has 12 feet of ribbon.She uses 7 feet of it for a craft project and gives 28 inches of it to her

Is the theoretical probability that the coin lands head up all three times is the same value as the theoretical probability that the coin lands tails up all three times? Explain.

Answers

Yes, the theoretical probability of getting three heads in a row is the same as the theoretical probability of getting three tails in a row. This is because each flip of a fair coin is an independent event and has an equal chance of landing on either heads or tails.

What is  theoretical probability about?

The probability of getting heads on a single coin flip is 0.5 (or 1/2), and the same is true for getting tails on a single coin flip. The probability of getting three heads in a row is calculated by multiplying the probability of getting heads on each of the three flips together, which is"

(1/2) x (1/2) x (1/2) = 1/8.

Similarly, the probability of getting three tails in a row is also:

(1/2) x (1/2) x (1/2) = 1/8.

Therefore, the theoretical probability of getting three heads in a row is the same as the theoretical probability of getting three tails in a row, both of which are 1/8.

Learn more about theoretical probability  from

https://brainly.com/question/22962752

#SPJ1

solve for absolute value: 3(r+1)+2>-7

Answers

Answer:

\(\huge\boxed{\bf\:r > -4 }\)

Step-by-step explanation:

\(3(r+1)+2 > -7\)

Use the distributive property to solve 3 (r + 1).

\(3r+3+2 > -7 \\3r + 5 > -7\)

Now, bring 5 to the right hand side of the inequality .

\(3r > -7-5 \\3r > -12\)

Divide both sides of the inequality by 3.

\(r > \frac{-12}{3} \\\boxed{\bf\:r > -4 }\)

\(\rule{150pt}{2pt}\)

Calculate.
12C4
Note: Cr=
n
n!
r!(n−r)!

Answers

Answer:

495

Step-by-step explanation:

using the definition

n\(C_{r}\) = \(\frac{n!}{r!(n-r)!}\)

where n! = n(n - 1)(n - 2) ... × 3 × 2 × 1

then

12\(C_{4}\)

= \(\frac{12!}{4!(12-4)!}\)

= \(\frac{12!}{4!(8!)}\)

cancel 8! on numerator/ denominator

= \(\frac{12(11)(10)(9)}{4!}\)

= \(\frac{11880}{4(3)(2)(1)}\)

= \(\frac{11880}{24}\)

= 495

helen got a$7 reduction in the price of a pair of jeans that are normally $32 what is the approximate percent decrease in the price​

Answers

Answer:

The percent decrease is approximately 21%.

Step-by-step explanation:

sarah walks 1/4 mile every 1/2 hour​

Answers

Answer:

To find ratio mph (miles PER hour), we can write the information given as a fraction. (The miles will go on top and the number of hours will go on the bottom).

1/2=.5 miles

1/4-.25 miles

So we have .5miles/.25 hours

From here, we can do 2 things: divide to get 2miles/hour or you can see that you can reduce the fraction (.5/2=.25 and .25/.25=1). So again we get 2/1 miles per hour OR 2 mph

Hope that helps,

Gracie

What is the slope of the line?

What is the slope of the line?

Answers

Answer:

It could be 0, is the question multiple choice?

a horizontal line always has a slope of 0, now, for the sake of a silly proof, let's do some rigamarole to get it.

to get the equation of any straight line, we simply need two points off of it, let's use those two in the picture below

\((\stackrel{x_1}{-3}~,~\stackrel{y_1}{7})\qquad (\stackrel{x_2}{7}~,~\stackrel{y_2}{7}) \\\\\\ \stackrel{slope}{m}\implies \cfrac{\stackrel{\textit{\large rise}} {\stackrel{y_2}{7}-\stackrel{y1}{7}}}{\underset{\textit{\large run}} {\underset{x_2}{7}-\underset{x_1}{(-3)}}} \implies \cfrac{0}{7 +3} \implies \cfrac{ 0 }{ 10 } \implies \stackrel{ }{\text{\LARGE 0}}\)

What is the slope of the line?

There are 10 friends who are trying to play and beat the video game, Breath of the Wild. There are 76 side quests in this game. Some of them think that side quests are important, and some do not. The number of side quests completed by the ten friends are as follows:

25, 28, 29, 30, 34, 35, 35, 37, 38

Required:
Find the 5 Number Summary.

Answers

Answer:

2; 28.5 ; 34 ; 36 ; 38

Step-by-step explanation:

Given the data:

X = 25, 28, 29, 30, 34, 35, 35, 37, 38

n = 9

Values have been arranged in ascending order ;

The 5 number summary :

Maximum value : highest data value in the list = 38

Minimum value : Lowest data value in the list = 25

The lower quartile ; Q1 = 1/4(n+1)th term

Q1 = 1/4(10) th term = 2.5th term

Q1 = (2nd + 3rd) / 2 = (28+29)/2 = 28.5

Q2 = 1/2(n+1)th term

Q2 = 1/2(10) th term = 5th term

Q2 = 34

Q3 = 3/4(n+1)th term

Q3 = 3/4(10) th term = 7.5th term

Q3 = (7th + 8th) / 2 = (35+37)/2 = 36

Maximum value = 38 (highest data value in the list)

Use calculus to find the area A of the triangle with the given vertices. (0, 6), (2, −3), (3, 4)

Answers

The area of the triangle with the given vertices is 11.5 square units.

Define the area of triangle by vertices?

The area of a triangle can be calculated using the coordinates of its vertices using the following formula.

To find the area of a triangle with vertices (x₁, y₁), (x₂, y₂), and (x₃, y₃), we can use the following formula:

A = (x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂))/2

Using this formula with the given vertices (0, 6), (2, −3), and (3, 4), we get:

A = (0(-3 − 4) + 2(4 − 6) + 3(6 − (-3)))/2

A = (0 - 4 + 27)/2

A = 23/2

A = 11.5

Therefore, the area of the triangle with the given vertices is 11.5 square units.

To know more about vertices, visit:
https://brainly.com/question/24877689
#SPJ1

A standard deck of cards has 26 red cards and 26 black cards. A card is chosen from a standard deck of cards. It is then replaced, and a second card is chosen from the deck.

What is P(at least one card is red)?

1 over 52
one fourth
one half
three fourths

Answers

The required probability of getting at least one red card is \(\frac{3}{4}\).

What is Probability?

A probability is a numerical representation of the likelihood or chance that a specific occurrence will take place. Both proportions ranging from 0 to 1 and percentages ranging from 0% to 100% can be used to describe probabilities.

According to question:

The probability of getting at least one red card can be found by calculating the probability of getting two black cards and then subtracting that from 1 (since the sum of the probabilities of all possible outcomes must be 1).

The probability of getting a black card on the first draw is 26/52 = 1/2, and the probability of getting a black card on the second draw (assuming the first card was replaced) is also 1/2. Therefore, the probability of getting two black cards is:

\($\frac{26}{52} \cdot \frac{26}{52} = \frac{1}{4}$$\)

So the probability of getting at least one red card is:

\($1 - \frac{1}{4} = \frac{3}{4}$$\)

Therefore, the probability of getting at least one red card is \(\frac{3}{4}\).

To know more about Probability visit:

brainly.com/question/15124899

#SPJ1

Answer:

3/4 i took the test

Step-by-step explanation:

Other Questions
How does the extraction of energy resources change their distributions? eory.According to cell theory, which of the following aremade of cells? Check all that apply.O flowersrocksbloodwaterbacteriasugarskinRETRY is the equation y = x2 - 8 linear or nonlinear? show work or explain Identify a firm with a strong and clear Brand message. Search for a message from that firm that is INCONSISTENT with their previous Brand message. Then answer the following questions:Identify a firm with a strong Brand and Brand message.Explain the existing firm Brand message.Ensure that you give an example of that Brand message from the firms communications.Identify a communication from the firm that was inconsistent with their current Brand message?Ensure that you explain the communication with enough detail for a reader to understand the communication.Describe why the communication was not consistent with the Firms existing Brand message? Infer What is the theme of this story? Explain how Gordimer develops this theme through the storys setting. Support your response with evidence from the text The price for a taxi cab in a small city is $4.00 per mile, x, while traveling, and $0.50 every minute, y, while waiting. If you have $40 to spend on a cab ride, the inequality 4,00x+0.50y For questions 1-3, consider the following code: x = int (input ("Enter a number: ")) if (x != 8): print ("A") if (x >= 10): print ("B") if (x < 10): print ("C") if (x % 2 == 1): print ("D") What is output if the user types in 13? PLS HELP WILL MAK BRAINLIEST NO FAKE ANSWERS!!! WILL GIVE BRAINLIESTComplete the first two lines of an amortization table for a $325,000, 15-year mortgage with an APR of 5%Answer for month one and month two.Beginning Balance: 325,000Monthly Payment?Amount Applied to Interest?Amount Applied to Principal?Ending Balance? How can you make your web page accessible to anyone in the world? Please help, will mark brainliest!!!Select the correct answer.Read The Road Not Taken by Robert Frost. Which statement best describes the main idea of the poem?Two roads diverged in a yellow wood,And sorry I could not travel bothAnd be one traveler, long I stoodAnd looked down one as far as I couldTo where it bent in the undergrowth;Then took the other, as just as fair,And having perhaps the better claim,Because it was grassy and wanted wear;Though as for that the passing thereHad worn them really about the same,And both that morning equally layIn leaves no step had trodden black.Oh, I kept the first for another day!Yet knowing how way leads on to way,I doubted if I should ever come back.I shall be telling this with a sighSomewhere ages and ages hence:Two roads diverged in a wood, and II took the one less traveled by,And that has made all the difference.A. The speaker informs the reader about two roads.B. The speaker expresses his feelings about nature.C. The speaker describes his unfulfilled dreams and wishes.D. The speaker explains a difficult decision he had to make. Please using C, not C+ or C++, Thanks.Files to submit: read_lines.c, read_lines.hTime it took Matthew to Complete: 10 minsRequriementsProgram must compile with both -Wall and -Werror options enabledSubmit only the files requestedUse doubles to store real numbersPrint all doubles to 2 decimal points unless stated otherwiseRestrictionsNo global variables may be usedYour main function may only declare variables and call other functionsDescriptionThe programming language Python has some really nice functions for dealing with files. One of them is called readlines and it reads the lines of the files into an array. For this projcet you will be implementing readlines in C.Additional DetailsFor this assignment you will be creating a function and not an entire program.The function your create should have the following signature:void read_lines(FILE* fp, char*** lines, int* num_lines)This function should read all of the lines in the file pointed to by fp andSet each row of lines to contain one line of the fileSet num_lines to be equal to the number of lines that were in the fileIf the file is empty lines should be set to NULL and num_lines to 0You should only submit read_lines.c and read_lines.hI will provide main.c and the MakefileYour code must compile using this Makefile and main.cYou cannot edit main.cWhile you only have to write read_lines you can write as many other functions as you wantHintsI highly recommend making more functions than just read_lines for solving this problem.For example a function that reads a single line from the fileExamplesUser input has been underlined to help you differentiate what is user input and what is program output.Example 1./read_lines.out Makefileread_lines.out: read_lines.o main.ogcc -g -Wall -Werror -o read_lines.out read_lines.o main.omain.o: main.c read_lines.hgcc -g -Wall -Werror -c -o main.o main.cread_lines.o: read_lines.c read_lines.cgcc -g -Wall -Werror -c -o read_lines.o read_lines.cclean:rm -f *.out *.o Which war was going on during 1780? Define the irony of the white men saying that they were free. Solve for x.(3x + 2)47 A 2. 00 g sample of cocl2. x h2o is dried in an oven. when the anhydrous salt is removed from the oven, its mass is 1. 565 g. what is the value of x? What is the theme of this story? The idea they are trying to get across. * Read the informational text about the process of becoming a knight. Then, write a two- to three-sentence objective summary of this text in the space provided.PassageMedieval culture has never fully disappeared from popular culture. Judging by the large number of medieval-themed books and movies, it's more popular than ever. Much like today, the characters in these medieval works all had clearly defined jobs or roles to play. Like today's occupations, these roles were all part of a process of career growth. For example, knights only became knights after a long, three-step process.If, at the age of seven, a boy displayed very good manners, smarts, and courage, his parents might decide they wanted him to become a knight. He would spend the next seven years as a page, performing simple duties such as helping knights with their horses and armor.After completing training as a page at around age 14, the boy would become a squire. A squire took on more responsibility and received more hands-on instruction in fighting and battle strategy. He would sometimes ride into battle with a knight and assist him. In some cases, the squire would even be required to fight in the knight's place if the knight was injured.At the age of 21, the squire was eligible to become a knight. First, he had to prove himself worthy by showing great bravery, wisdom, and devotion. If worthy, he would be knighted in a ceremony where he vowed to protect his kingdom.Knights perform very different tasks from doctors, teachers, or professional athletes, but in each of these careers there is a long process with clearly defined steps for moving up. Perhaps this is one of the reasons medieval culture has always fascinated us it has a sense of order that never went out of style.Read the assignment carefully and make sure you answer each part of the question or questions.After you've written your response, go back and read it again to make sure your thoughts are clear.Write your response below.no links please (40 pts)identify whether the following statements are facts or opinions write F if the statement is a fact and O if it is an opinion _______1. we need to put incense in front of our doors to be protected from the infestations brought about by witches _______2. They think that we should not trust people we really do not know Identify the entence with correct punctuation and grammar. A) Learning good work habit that are ueful in any cla or job. B) When I get an aignment for a report that due in a week or two. C) I make up a chedule, o that I can keep track of what I need to do each day to complete the job on time. D) Getting book out of the library might be one day work, allow three or four day to take note and plan, then write a draft A psychologist uses the experimental method toO formulate hypotheses after the data is collected and the results analyzed. O manipulate the dependent variable.O try to establish cause-and-effect relationshipsO administer placebos to the experimental group.