solved assignment BCA 5th semester 2019 Ignou

Course Code: BCSL-058

Course Title: Computer oriented Numerical techniques Lab Assignment

Number : BCA(5)/L-058/Assignment/2019-20

Maximum Marks: 50

Weightage: 25%

Last Dates for Submission: 15th October 2019 (For July 2019 Session)

                                             15th April 2020 (For January 2020 Session

This assignment has eight problems of 40 marks, each of 5 marks. All problems are compulsory. 10 marks are for viva voce. Please go through the guidelines regarding assignments given in the program guide for the format of the presentation.
Note: The programs are to be written in C/C++ and/or in MS-Excel/Any spreadsheet.

Q1.
Write a program in C/C++ to find the solution of a system of linear equations (given below), by using Gauss- Elimination method:
π‘₯+𝑦+𝑧=2
π‘₯βˆ’2𝑦+3𝑧=14
π‘₯+3π‘¦βˆ’6𝑧=βˆ’23

Q2.
Write a program in C/C++ to determine the approximate value of the definite integral (I), by using Simpson’s (1/3)rd rule:
I=∫π‘₯1/3 𝑑π‘₯,1.00.2
Using step size (β„Ž) = 0.2 .

Q3.
Write a program in C/C++ to find the value of Sin(πœ‹/6) by using Lagrange’s Interpolation, the related data is given below
x : 0 πœ‹ /4 πœ‹ /2
y= Sin(x) : 0 0.70711 1.0

Q4.
Write a program in C/C++ to calculate the value of β€œcos π‘₯” by using the series expansion given below:
cosπ‘₯=1βˆ’π‘₯22!+π‘₯44!βˆ’π‘₯66!+β‹―

Note: Evaluate cos π‘₯ only up to the first three terms.
Also, find the value of cos π‘₯ by using the inbuilt function.
Compare the results i.e., the result produced by your program and that produced by the inbuilt function. Based on the comparison, determine the error.

Q5.
Write a program in C/C++ to find the root of the following equation by using β€œBisection Method” :

Equation:
π‘₯3βˆ’5π‘₯+1=0;π‘₯∈[1,2]

Q6.
Write a program in C/C++ to approximate the value of Integral (I), by using Trapezoidal rule: I=βˆ«π‘‘π‘₯√5+π‘₯10.2
Using step size (β„Ž)=0.2.

Q7.
Write a program in C or C++ to demonstrate the operation of the following operations, for the function 𝑓(π‘₯)=π‘₯2+π‘₯+7∢
(a) Forward Difference Operator
(b) Central Difference Operator

Q8.
Write a program in C or C++ to calculate the value of 𝑒π‘₯ by suing its series expansion, given below :

𝑒π‘₯=1+π‘₯+π‘₯22!+π‘₯33!+β‹―
Note: Evaluate 𝑒π‘₯only up to the first three terms.
Also, find the value of 𝑒π‘₯ by using the inbuilt function and compare it with the result produced by your program.

About Abhishek Pandey

My name is Abhishek Pandey, I am fond of writing the best content and apart from writing I am an SEO specialist as well. I have written many blogs and post so far that have ranked on the first page. I am a video editor as well and I have got three-channel on youtube. In nutshell, I am the allrounder of digital marketing and I want to flourish more and more.

Leave a Reply