# (Solved Homework): 10 springs have been tested and have had their spring constant recorded. This data has been provided in a csv file

10 springs have been tested and have had their spring constant recorded. This data has been provided in a csv file 10.051, 9.5551, 9.806, 9.9991, 10.191, 10.259, 9.8472, 9.4386, 9.4493, 9.5575 1. Using MATLAB, import the data using csvread and determine the sample mean and variance using in built functions is fine)(finished) 2. Determine the 95% confidence interval for the spring constant of the springs finished) x = csvread(“values csv”) m = mean(x); v = var(x); sprintf (“Mean is %f and Variance is %f, m, v) se= squareroot (v)/ squareroot (length(x)); t = tinv ([0.025 0.975], length(x) – 1); Cl = m + t* se; sprintf “Calculated Confidence interval is %f to %f”, Cl(1), Cl(2)) unfinishing are 3 and 4.(clear code please) (clear code please) 3. The spring manufacturer claims that the springs have a spring constant of 10kN/m. Conduct a hypothesis test to see if there is sufficient evidence to suggest that this spring constant is incorrect. Use the comparison between test T_test and t_N, 1, 1 -alpha/2 for your hypothesis test. 4. If the sample mean and variance stayed the same, but there were 50 springs, calculate the new 95% confidence intervals and reconduct a hypothesis test. Explain why the confidence interval changes.

3.

Hypotheses are:

$H_{0}:\mu=10, H_{a}:\mu\neq 10$

Since population standard deviation is unknown and hypothesis test population mean so t test should be used. Here sample size is large so we can assume that sampling distribution of sample mean is normal.

So test statitics will be

$t=\frac{\bar{x}-\mu}{s/\sqrt{n}}=\frac{9.81538-10}{0.3052/\sqrt{10}}=-1.91$

Here test is two tailed and degree of freedom of the test is df=n-1=10-1=9. So for $\alpha = 0.05$, critical value of the test are +/-2.2622. Rejection region:

If t< -2.2622 or t > 2.2622, we reject the null hypothesis.

Since test statistics value is not less than -2.2622 so we fail to reject the null hypothesis.

That is we cannot conclude that spring constant is different from 10 kN/m.

4:

Since there 50 data values in the sample so degree of freedom is df=50-1=49 and critical value of t for 95% confidence interval is +/- 2.0096. Therefore required confidence interval is

$\bar{x}\pm t_{critical}\frac{s}{\sqrt{n}}=9.81538\pm 2.0096\cdot \frac{0.3052}{\sqrt{10}}=9.81538\pm 0.1940$

Therefore, a 95% confidence interval for the mean is (9.62138, 10.00938).

————————–

Hypotheses are:

$H_{0}:\mu=10, H_{a}:\mu\neq 10$

Since population standard deviation is unknown and hypothesis test population mean so t test should be used. Here sample size is large so we can assume that sampling distribution of sample mean is normal.

So test statitics will be

$t=\frac{\bar{x}-\mu}{s/\sqrt{n}}=\frac{9.81538-10}{0.3052/\sqrt{50}}=-4.28$

Here test is two tailed and degree of freedom of the test is df=n-1=50-1=49. So for $\alpha = 0.05$, critical value of the test are +/-2.0096. Rejection region:

If t< -2.0096 or t > 2.0096, we reject the null hypothesis.

Since test statistics value is less than -2.0096 so we reject the null hypothesis.

That is we can conclude that spring constant is different from 10 kN/m.

Order NOW for a 10% Discount
Pages (550 words)
Approximate price: -

Why Us?

Top Quality and Well-Researched Papers

All ourbpapers are written from scratch. In fact, Clients who ask for paraphrasing services are highly discouraged. We have writers ready to craft any paper from scratch and deliver quality ahead of time.

Our writers keeps you posted on your papers progress - providing you with paper outline/draft. You are also at liberty to communicate directly with your writer.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time, in many cases quite ahead of time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

## Calculate the price of your order

Total price:
\$0.00

How it works?

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

## Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.