# data[].attributes.body
1. NURUL HANISAH BINTI HASNAN
2. NURUL AIMAN SYAMIMI
3. NUR EZZATI BINTI A.MALEK
4. NOR FARZANA BINTI SHARIM SHAH
5. NUR HUSNA AMIERAH BINTI MOHD ZAPERI
6. NURFARHANIZA BINTI RAMLEE
7. NURHAZIRA BINTI HAMZAH

# data[].attributes.body
1. YEOH YEN PING
2. SITI ROKAIYAH BINTI SAHIDON
3. NURSYAFIQAH NABILAH BINTI TAMRIN
4. NURIN HIDAYAH BINTI MAZLAN
5. NABILAH FARHANA BINTI NORDIN
6. JUWARIAH BINTI MAHD YUSOFF

# data[].attributes.body
1. Muhammad Badrul Amin bin Ayop
2.Nur Aliazahra binti Omar Sharif
3.Nur Hazreena binti Azmil
4.Amirruliman bin Abdul Halim
5.Nur Syaurah binti Daud
6. Nur Afifah Syahirah binti Shaiful Bahri

# data[].attributes.body
1. We are unable to predict the value of y(10) when x=10 since it is not in the interval of [1,8].
2. Polynomial interpolation can estimate local maxima and minima that are outside the range of the samples, unlike linear interpolation.

# data[].attributes.body
1. Nur Najeeha Natasha binti Jefri
2. Siti Nur Idara Binti Rosli
3. Nurul Aisyah binti Mazelan
4. Siti Syaza Binti Abd Shukor
5. Amier Zikry bin Hardi
6. Nurul Ain Najihah binti Norhisham
7.  Muhammad Asri bin Manap

# data[].attributes.body
1. Nur A'ina Farahah Binti Che Abdullah
2. Maryam Abidah Hanim Binti Mohd Hazni
3. Noor Hafizah Binti Mohd Yusoof
4. Muhammad Rafiq Bin Mohd Zulkefli
5. Muhammad Syazwan Bin Romzi
6. Muhammad Afif Jazimin Bin Mat Rani

# data[].attributes.body
1. Lee Wei Cong
2. Lui Dickson
3. Vivian Sylvia Ting
4. Farrah Qhairunniza Md Affandi
5. Nur Alya Aisyah Binti Raslani
6. Nabil Asyraf bin Aidi Rosman
7. Aisyah Sumayyah binti Mohd Khalid
8. Siti Hawa Binti Nanyan

We cannot predict the value of y(x) at x=10 by using piecewise linear interpolation method because the interval given in the question is [1,8].
To improve the piecewise linear interpolation method, we can:
-increase the subintervals.
-use cubic spline interpolation method.
-smoothen a piecewise linear interpolation at small number of nodes on a bounded interval.

# data[].attributes.body
1. 1. Vini Bong Ee Woon
2. Nur Sabrina Binti Jamalnazri
3. Muhamad Firdaus bin Lahmuddin
4. Nurul Ika Mirlia Binti Zarimi
5. Carolyn anak junas
6. Nurul Anis Suraya binti Rosmahadi
7. Afifah Binti Ahmad Norani

# data[].attributes.body
1. We are unable to find y(10) as x=10 is out of the range [1,8].

2. To improve the linear interpolation method, we can increase the sub interval. We can also use cubic spline interpolation method.

# data[].attributes.body
1. we cannot predict the value of y(10), since the value of x=10 is not in the interval [1,8]
2. To improve the piecewise linear interpolation method, we can use:
a) cubic spline interpolation
b) polynomial interpolation (in pdf)

# data[].attributes.body
1. We cannot get the solution since x=10 is outside the interval [1,8].

2. We can improve the piecewise linear interpolation method by extending the sub intervals to x=10.

# data[].attributes.body
1. NUR IRDINA BINTI SALIM
2. FARAH HANIS BINTI BAHARUM
3. NUR BATRISYIA BINTI AFFENDI
4. NURJANNATUL NAJWA BINTI HARUN
5. SIVANES A/L CHANDRAN
6. WONG YING BENG
7. MUHAMMAD SHAFIE BIN YUSOP

# data[].attributes.body
1. Mohamad Abdul Rasman bin Ahmad
2. Muhammad Fikri bin Badaruzaman
3. Muhammad Izzatur Fitri bin Mohd Fuad
4. Muhammad Naqiuddin Irfan Heiqal bin Azizan
5. Iffa Syazweena binti Abdul Majid
6. Siti Hajar binti Rahimi

ANSWER:
1) We can't predict y when x=10 because x=10 is not in the interval 1<x<8
2) -Using cubic spline interpolation
-Polynomial interpolation

# data[].attributes.body
1)Nurul Afrina Binti Zanudin
2)Fazlin bin Asni
3)Nurul Hadirah binti Halid
4)Che Engku Nur Syafiyyah binti Che Engku Dalam
5)Tharishini Raja
6)Nabilla Huda