EEE 306 Lab 12 :

November 8, 2017
By shp

Practise #1 Naive Gauss elimination Practise #2 LU decomposition Practise #3 Single Segment Trapezoidal Task #1 Gauss elimination with pivoting and scaling Task #2 LU decomposition with pivoting and scaling (Chapra pg 282) Task #3 Multi segment Trapezoidal

Continue Reading

Open Methods in Matlab

November 4, 2017
By shp

Task #1 Write a program to use fixed point iteration to solve the equation f(x)=e^(-x) – x where inputs will be the initial guess,  and maximum error (es). If the approximation error (ea) is less than es your program should stop continuing any iterations. Task #2 Write a program to use Newton Raphson Method to

Continue Reading

CSE 506 LAB 9

October 19, 2017
By shp

Problem #1 (Chapter 7 problem 8) Write a program that prompts the user to enter a character, and on subsequent lines prints its ASCII code in binary, and the number of 1 bits In Its ASCII code. Sample execution: TYPE A CHARACTER: A THE ASCII CODE OF A IN BINARY IS 01000001 THE NUMBER OF

Continue Reading