LEARNING OUTCOMES At the end of this module, you will be able to: produce and interpret frequency distribution tables; produce and interpret graphs *********************************************************** FREQUENCY DISTRIBUTION: Data can be presented in various forms depending on the type of data collected. A frequency distribution is a table showing how often each value (or set of values) of the variable in question occurs in a data set. A frequency table is used to summarize categorical or numerical data. Frequencies are also presented as relative frequencies, that is, the percentage of the total number in the sample. EXAMPLE : Frequency distribution of peptic ulcer according to site of ulcer Site of ulcer Frequency Percent Gastric ulcer 24 30.0 Duodenal ulcer 50 62.5 Gastric and duodenal ulcer 6 7.5 TOTAL 80 100 GRAPHICAL METHODS: Frequency distributions and are usually illustrated graphically by plotting various type...
Computing Tools For Mathematics(COMP1118) Instructor : Engineer Imran Ahmad University Of Okara (Renala Campus) Lecture 06 Polynomial Handling Polynomial MATLAB inputs a polynomial of one variable x, as a row vector having as elements. The coefficients of the polynomial, real or complex arranged in descending power of x, placed in brackets. For example 〖 𝑦(𝑥)=3𝑥〗^4+〖2𝑥〗^3+𝑥^2−𝑥+5; Then the Y, MATLAB vector that represents the polynomial y(x) is given by: ≫𝑌=[3 2 1 −1 5]; Polynomial REPRESENTATION IN matlab In general, if y(𝑥)=𝑎_𝑛 𝑥^𝑛+"an−" 1"x n−1"+…+𝑎_1 𝑥+𝑎_0 Then the polynomial expressed as a MATLAB vector Y is given by 𝑌=[𝑎_𝑛 "an−" 1〖….. 𝑎〗_1 〖 𝑎〗_0] When some coefficients of a polynomial are not present, then the missing coefficients are entered as zeros. For example: 〖𝑦(𝑥)=8𝑥〗^7+〖6𝑥〗^6+〖3𝑥〗^4+𝑥^2 Y is given by: 𝑌=[8 6 0 3 0 1 0 0 ] Polynomial: roo...
Comments
Post a Comment