## EEE 306 Lab 6 : Bracketing methods for finding roots

August 23, 2017
By shp

Task #1 Write a program to find root of an equation in the form ax^2+bx+c, where a,b,c, will be taken as input. You have to take input the number of iteration and the termination criterion. Use bisection method to find the root where the upper limit and lower limit will be taken as input.

## CSE 506 Lab 6

August 23, 2017
By shp

Practise #1 (Example 6.4) If AX contains a negative number, put -1 In BX; if AX contains 0, put O In BX; if AX contains a positive number, put 1 In BX.· mov ax,0FFFBh CMP AX,0 JL NEGATIVE JE ZERO JG POSITIVE NEGATIVE: MOV BX,-1 JMP END_CASE ZERO: MOV BX,0 JMP END_CASEPOSITIVE: MOV BX,1 JMP

August 15, 2017
By shp

## EEE 306 Lab 5 : Taylor series sine and cosine

August 9, 2017
By shp

Task #1 Write a program to find an estimate of any value of cos(x). You should take input the value of x in degree, the maximum number of iteration, and the minimum error requirement Sample code #include<stdio.h> #include<math.h> int fact(int n) { if (n==1){return 1;} return n*fact(n-1); } int main() { int i,j, iter, sign=1;

## CSE 506 Lab 5

August 6, 2017
By shp

Practise #1 (Eg 6.1) Write a code to find the greater signed number of the numbers stored in AX and BX ABC: mov ah, 1 int 21h mov bl, al int 21h mov bh, al cmp bl, bh jG point1 jl point2 point1: mov ah, 2 mov dl, ‘>’ int 21h jmp ABC point2: mov

## EEE 306 Lab 4 : More Fun at C

August 5, 2017
By shp

P.S. This lab is not related to numerical analysis. This lab is about basic C and is on students request. Problem #1 Printing primes in a range    Problem #2 Fizz buzz  Problem #3 Smaller larger than average  Problem #4 CGPA calculator

August 4, 2017
By shp

## EEE 305 Term Test 1

August 1, 2017
By shp

Date: Thursday, 10th August 2017 Syllabus: Up-to Class of 1st August 2017 Question: EEE 305 tt1 Marks: sec-2017-eee-305-TT1 result

## CSE 505 Term Test 1

August 1, 2017
By shp

Date: Monday, 7th August 2017 Syllabus: Lecture 0 – 3 Question: Result