Answer:
![H_0: p = 0.5\\H_a: p \\eq 0.5](https://img.qammunity.org/2020/formulas/mathematics/college/zwpuxm73i8qps1zu48mnl38cvgsaw92cg2.png)
a. We get 56 heads out of 100 tosses.
We will use one sample proportion test
x = 56
n = 100
![\widehat{p}=(x)/(n)](https://img.qammunity.org/2020/formulas/mathematics/college/pvl2uyxvgpn3snq9s93516pubs8bstgs2r.png)
![\widehat{p}=(56)/(100)](https://img.qammunity.org/2020/formulas/mathematics/college/gb5pyydmejxgsu202usfhemj30rt7m9231.png)
![\widehat{p}=0.56](https://img.qammunity.org/2020/formulas/mathematics/college/rt5e19q1n59xex9s3iqt6jw6cfgjdja7up.png)
Formula of test statistic =
![\frac{\widehat{p}-p}{\sqrt{(p(1-p))/(n)}}](https://img.qammunity.org/2020/formulas/mathematics/college/beb5x089m9wev128lspx6c9g6yte4fhjwp.png)
=
![\frac{0.56-0.5}{\sqrt{(0.5(1-0.5))/(100)}}](https://img.qammunity.org/2020/formulas/mathematics/college/w77tvathrdog2bkocczbizv023kymcsb3b.png)
=
![1.2](https://img.qammunity.org/2020/formulas/mathematics/high-school/tm9s9id5q3ib1psrmj2vzf0gotirz83m.png)
refer the z table for p value
p value = 0.8849
a. We get 560 heads out of 1000 tosses.
We will use one sample proportion test
x = 560
n = 1000
![\widehat{p}=(x)/(n)](https://img.qammunity.org/2020/formulas/mathematics/college/pvl2uyxvgpn3snq9s93516pubs8bstgs2r.png)
![\widehat{p}=(560)/(1000)](https://img.qammunity.org/2020/formulas/mathematics/college/xsm046f6glonc56a2ou98ju3fea04dwnnj.png)
![\widehat{p}=0.56](https://img.qammunity.org/2020/formulas/mathematics/college/rt5e19q1n59xex9s3iqt6jw6cfgjdja7up.png)
Formula of test statistic =
![\frac{\widehat{p}-p}{\sqrt{(p(1-p))/(n)}}](https://img.qammunity.org/2020/formulas/mathematics/college/beb5x089m9wev128lspx6c9g6yte4fhjwp.png)
=
![\frac{0.56-0.5}{\sqrt{(0.5(1-0.5))/(1000)}}](https://img.qammunity.org/2020/formulas/mathematics/college/ulr7saqqfqor4l32z9rw5hisovmw5nw0t9.png)
=
![3.794](https://img.qammunity.org/2020/formulas/mathematics/college/hstsal5xobq4i7yui4w22jmyy4eitfwaka.png)
refer the z table for p value
p value = .000148
p value of part B is less than Part A because part B have 10 times the number the tosses.