# Register now to access 7 million high quality study materials (What's Course Hero?) Course Hero is the premier provider of high quality online educational resources. With millions of study documents, online tutors, digital flashcards and free courseware, Course Hero is helping students learn more efficiently and effectively. Whether you're interested in exploring new subjects or mastering key topics for your next exam, Course Hero has the tools you need to achieve your goals.

1 Page

### 10-10

Course: MATH 611, Fall 2008
School: Delaware
Rating:

#### Document Preview

lufact A=[2 edit 1 1 0; 4 3 3 1; 8 7 9 5; 6 7 9 8 ] A([1 3],:) = A([3 1],:) L1=eye(4); L1(2:4,1) = -A(2:4,1)/A(1,1) format rat L1 A = L1*A P1=eye(4); P1([1 3],:)=P1([3 1],:); P2=eye(4); P2([2 4],:)=P1([2 4],:); P2*A P2=eye(4); P2([2 4],:)=P1([4 2],:); P2*A L2=eye(4); L2(3:4,2) = = -A(3:4,2)/A(2,2) A L2*A A P3=eye(4); P3([3 4],:)=P3([4 3],:); A = P3*A L3=eye(4); L3(4:4,3) = -A(4:4,3)/A(3,3) L3*A P2 I=eye(4); I -...

Register Now

#### Unformatted Document Excerpt

Coursehero >> Delaware >> Delaware >> MATH 611

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
lufact A=[2 edit 1 1 0; 4 3 3 1; 8 7 9 5; 6 7 9 8 ] A([1 3],:) = A([3 1],:) L1=eye(4); L1(2:4,1) = -A(2:4,1)/A(1,1) format rat L1 A = L1*A P1=eye(4); P1([1 3],:)=P1([3 1],:); P2=eye(4); P2([2 4],:)=P1([2 4],:); P2*A P2=eye(4); P2([2 4],:)=P1([4 2],:); P2*A L2=eye(4); L2(3:4,2) = = -A(3:4,2)/A(2,2) A L2*A A P3=eye(4); P3([3 4],:)=P3([4 3],:); A = P3*A L3=eye(4); L3(4:4,3) = -A(4:4,3)/A(3,3) L3*A P2 I=eye(4); I - (I(:,4)-I(:,2))*(I(:,4)-I(:,2))' ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Delaware - MATH - 611
m=5;A = toeplitz([1;-ones(m-1,1)],[1 zeros(1,m-1)]); A(:,m)=1[L,U]=lu(A)m=50;A=[2 1 1 0; 4 3 3 1; 8 7 9 5; 6 7 9 8 ];A = toeplitz([1;-ones(m-1,1)],[1 zeros(1,m-1)]); A(:,m)=1;x = rand(50,1);b = A*x;[L,U]=lu(A);x1 = U\(L\b);norm(x-x1)/norm(x
Delaware - MATH - 611
A = magic(5)A = A(:,1:3)[Q,R] = gs(A)Q'*Qans-eye(3)Q*R - A[Q,R]=qr(A,0)[Q,R]=qr(A)N = 40;N = 400;x = linspace(-1,1,N+1)';A = [ x.^0 x.^1 x.^2 x.^3 x.^4 ];[Q,R]=qr(A,0);plot(x,Q)
Delaware - MATH - 611
% MATLAB introduction2+23^4exp(1)log(1)sin(pi/2)exp(1i*pi)sqrt(-4)xpiformat longpiepseps=1e-100pix = 2sin(x)x = x+1v = [ 1, 2, 3, 4 ]v = [ 1; 2; 3; 4 ]v'A = [ 1, 2, 3; 10, 20, 30 ]vB = [ v, v, v ]-3*v-v - 2*v4*BA = [ 1, 2,
Delaware - MATH - 611
Delaware - CIS - 361
The need for File SystemsNeed to store data and programs in files Must be able to store lots of data Must be nonvolatile and survive crashes and power outages Must allow multiple processes concurrent access Store on disks OS manages files in a file
Delaware - CIS - 361
Solaris Management Facility (SMF) - WorkshopGanesh Hiregoudar Renaud Manus OP/N1 RPE ApproachabilitySun MicrosystemsThanks! We would like to thanks the following engineers who participated in writing and delivering this SMF workshop. &gt; Jarod Nas
Delaware - CIS - 361
Memory ManagementOne of the most important OS jobs.Review memory hierarchy sizes, speed, costGrowing memories -&gt; growing programs need for swapping and paging The simplest way to use memory is to have one program in memory sharing it with the OS
Delaware - CIS - 361
ZFSNew filesystem and volume manager from Sun Open source after 5 years development First appeared in OpenSolaris, later in Solaris 10 6/06 (u2). Has been ported to FreeBSD. Also being including on Macs (Leopard*) Linux FUSE port Jeff Bonwick is a U
Delaware - CIS - 361
Process SynchronizationConsider two threads using and modifying a shared global variable. What problems could occur? Example: a bank account balance (a shared global variable) Balance \$200 A: Deposit \$10 B: Deposit \$10,000Process SynchronizationA
Delaware - CIS - 361
ThreadsTraditional processes have one thread of control sequential program. Multiple threads of control are possible to get parallelism. Processes - own resources (resource grouping) - are scheduled for running (have states (Running, Ready, Blocked
Delaware - CIS - 361
CPU SchedulingScheduling processes (or kernel-level threads) onto the cpu is one of the most important OS functions. The cpu is an expensive resource so utilize it well. May have more than 1. With multiprogramming will have many processes (threads)
Delaware - CIS - 361
Solaris Zones: Operating System Support for Consolidating Commercial WorkloadsDaniel Price and Andrew Tucker Sun Microsystems, Inc. ABSTRACTServer consolidation, which allows multiple workloads to run on the same system, has become increasingly im
Delaware - CIS - 361
DeadlocksLots of resources can only be used by one process at a time. Exclusive access is needed. Suppose process A needs R1 + R2 and B needs R1 + R2. A gets R1, B gets R2 A waits for R2, B waits for R1 A and B can't continue without second resource
Delaware - CIS - 361
Zones - ContainersServer Consolidation Run multiple workloads on system Improve utilization of resources Reduce costs Run workloads in isolation Cannot observe others Security Isolation Running apps as different user not enough - privilege escalatio
Delaware - CIS - 361
Dining PhilosophersFive philosophers sit around a table with five forks and spaghetti to eat. Philosophers think for a while and they want to eat, only spaghetti, for a while. To eat a philosopher requires two forks, one from the left and one from r
Delaware - CIS - 361
The ShellWhat does a shell do? - execute commands, programs - but how? For built in commands run some code to do the command For other commands find program executable and . run it. Other features: wildcards, pipes, redirection.ProcessesThe shell
Delaware - CIS - 361
Architecture BackgroundVon Neumann architecture - cpu = ALU + control unit - memory - devices Above connected with buses ALU carry out instruction, may have more than one execution unit Program counter memory address of next instruction to fetch.
Delaware - CIS - 361
Chapter 2 Process, Thread and Scheduling Soloris IPC1Outline Generic System V IPC Support Shared Memory System V Semaphores System V Message Queues POSIX IPC Signal Door2Generic System V IPC SupportModule TheCreationSystem V IPC
Delaware - CIS - 361
Chapter 2 Process, Thread and Scheduling - Scheduler Class and PriorityXIANG Yong xyong@tsinghua.edu.cnOutline Scheduling Class and Priority Dispatch Queues &amp; Dispatch Tables Thread Priorities &amp; Scheduling Turnstiles &amp; Priority Inheritance2
Delaware - CIS - 361
Operating Systems Update: Solaris, OpenSolaris, LinuxHarry J Foxwell, PhD OS AmbassadorSun Microsystems Federal, IncSolaris 10 Introduced in Jan 05, included:&gt; Containers: OS virtualization for isolation &gt; &gt; &gt; &gt; &gt;consolidation/utilization Obs
Delaware - CIS - 361
Name:UDel CISC361-010 Midterm, March 24, 2005Be sure that you read each question and understand what it is asking. No calculators permitted. 1. (10 pts) True/False (circle T for True, F for False) (a) T F - The C shell (csh) is derived from the Bo
Delaware - CIS - 361
Chapter 2 Process, thread, and scheduling - Solaris Multithreaded ProcessZhao Xia zhaoxia@os.pku.edu.cnOutline Introduction to Solaris Processes Multithreaded Process Model Proc tools2The Process ModelSolarisKernel is Multi-threadedK
Delaware - CIS - 361
Name:Show your work! Partial credit will be given, but only if you show your work!. Be sure that you read each question and understand what it is asking.UDel CISC361-010 Final, December 13, 20011. 10 pts True False a T F - Segmentation is just a
Delaware - CIS - 361
ZFSNew filesystem and volume manager from Sun Open source after 5 years development First appeared in OpenSolaris, later in Solaris 10 6/06 (u2). Has been ported to FreeBSD. Also being including on Macs in the works (Leopard*) Linux FUSE port Jeff B
Delaware - CIS - 361
UDel CISC361Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management - file systems - security - networking (if time allows)Operating SystemsUse of Solaris - advanced
Delaware - CIS - 361
Zones - ContainersServer Consolidation Run multiple workloads on system Improve utilization of resources Reduce costs Run workloads in isolation Cannot observe others Security Isolation Running apps as different user not enough - privilege escalatio
Delaware - CIS - 361
Architecture BackgroundVon Neumann architecture - cpu = ALU + control unit - memory - devices Above connected with buses ALU carry out instruction, may have more than one execution unit Program counter memory address of next instruction to fetch.
Delaware - CIS - 361
UDel CISC361-010 Midterm, October 24, 2001Show your work. Partial credit will be given, but only if you show your work. Be sure that you read each question and understand what it is asking.Name:1.10 ptsa b c d e f g h i j 2.True False T F
Delaware - CIS - 105
CISC 105 Fall 2005Name Circle section: 18 19 20 21Midterm 110/07/05TAGeneral Instructions DO NOT PUT YOUR SSN ON ANYTHING! DO NOT WRITE YOUR NAME ON ANY PAGE EXCEPT THIS ONE! Turn off any noise making device, especially CELL PHONES. You m
Delaware - CIS - 105
CISC105 Spring 2007 Lab11 This lab is designed to help with your project. Youll write small programs that demonstrate things you are supposed to do in the project. In general, writing small test programs that demonstrate the concepts you want to emp
Delaware - CIS - 105
CISC105 Spring 2007 Lab06 CODE! If you are having difficulty writing programs, consider programming more often. Working on C every day makes a big difference, and leaving it alone, even just for a weekend, can result in backsliding. You are learning
Delaware - CIS - 181
CISC181 Spring 2008 Lab02 If you did not use the SunRays in CISC105 or 106, then see Lab00 from this directory. Lab00 also reviews compiling and running C+ programs on Unix. This lab should be a review of programming concepts you have seen before.
Delaware - CIS - 181
Project 2, CISC181 Spring 08Domain choice due by email (see below) April 14th Testing and makefile due Thursday April 24th midnight, paper Friday in class Due Sunday April 27th midnight, paper Monday in class AssignmentPlease read the online FAQ fo
Delaware - CIS - 181
CISC181 Fall 2008 Lab01 See Lab00 if you would like to review compiling and running C+ programs on Unix. Be sure to change your disk quota as I described in an email to you last week. Remember, never delete an email from your professor or TA. Thi
Delaware - CIS - 181
Every problem starts with the same picture. Given the code, modify the picture to show what happens. Be sure to struct Node { 1) cross out pointers that go away; int data; 2) add any new pointers, structs, or data; Node * next; 3) follow the code, no
Delaware - CIS - 181
CISC181 Fall 2006 Lab02 Write a program for each of the following problems. Be sure to save every separate program. All programs must be properly commented and indented (see Assignment Standards on the class website). Ask your TA for guidance. Read
Delaware - CIS - 181
CISC181 Fall 2006 Lab09 Write a program for each of the following problems. Be sure to save every separate program. All programs must be properly commented and indented (see Assignment Standards on the class website). Ask your TA for guidance. Feel
Delaware - CIS - 181
181 Quiz 4/11/08 10 pts. Name Section TA1. Show an expression that puts a pseudo-random number into x: int x;2. The C+ language builds on C by adding three features, according to our discussion in class: inheritance, polymorphism, and 1 2 3 4 5 6
Delaware - CIS - 181
181 Quiz 5/9/08 10 pts. Name Section TA Consider the class below which has functions for addition and multiplication. class Rat{ int num; int denom; public: Rat(int n = 0, int d = 1):num(n),denom(d){} Rat operator+(const Rat&amp; rhs); friend Rat operato
Delaware - CIS - 181
Every problem starts with the same picture. Given the code, modify the picture to show what happens. Be sure to struct Node { 1) cross out pointers that go away; int data; 2) add any new pointers, structs, or data; Node * next; 3) follow the code, no
Delaware - CIS - 181
CISC 181 Fall 2006First Midterm Learning Experience10/9/06NameLogin nameSection:TAGeneral Instructions DO NOT PUT YOUR SSN ON ANYTHING! DO NOT WRITE YOUR NAME ON ANY PAGE EXCEPT THIS ONE! Turn off any noise making device, especially
Delaware - CIS - 181
CISC181 Spring 2008 Lab01 If you did not use the SunRays in CISC105 or 106, then see Lab00 from this directory. Lab00 also reviews compiling and running C+ programs on Unix. During lab, your TA will explain how to check your disk quota, and what to
Delaware - CIS - 181
CISC181 Spring 2008 Lab03 If your SunRay sessions are behaving oddly, please check your disk usage (see lab00). If your quota is ok, then you may need to check your dot les (.login, .localenv, .cshrc, etc). This information is also available from th
Delaware - CIS - 181
CISC181 Spring 2008 Lab07 Debugging? INSERT PRINT STATEMENTS. Some programs below are associated with a question. Answer the questions using C+ comments below your code in the program file. Your answers will be graded. Name each program lab07.n.cc
Delaware - CIS - 181
CISC181 Spring 2008 Lab06 Debugging? INSERT PRINT STATEMENTS. Some programs below are associated with a question. Answer the questions using C+ comments below your code in the program le. Your answers will be graded. Name each program lab06.n.cc,
Delaware - CIS - 181
CISC181 Spring 2008 Lab05 Debugging? INSERT PRINT STATEMENTS. Some programs below are associated with a question. Answer the questions using C+ comments below your code in the program le. Your answers will be graded. EVERY program you write in thi
Delaware - CIS - 181
CISC181 Spring 2008 Lab08 Debugging? INSERT PRINT STATEMENTS. Some programs below are associated with a question. Answer the questions using C+ comments below your code in the program file. Your answers will be graded. Most of this lab will help y
Delaware - CIS - 181
Delaware - CIS - 181
CISC181 Spring 2008 Lab11 Some programs below are associated with a question. Answer the questions using C+ comments below your code in the program file. Your answers will be graded. Name each program lab11.n.cc, where n is the number in the list b
Delaware - CIS - 181
CISC181 Spring 2008 Lab04 If your loop or recursion doesn't stop, then insert a print statement showing the values of your control variables before, during, and after the loop. Information is free! And it beats staring at code when you are tired. S
Delaware - CIS - 181
CISC181 Spring 2008 Lab12 Some programs below are associated with a question. Answer the questions using C+ comments below your code in the program file. Your answers will be graded. Name each program lab12.n.cc, where n is the number in the list b
Delaware - CIS - 181
181 Leap Day Quiz 2/29/08 10 pts. Name Section TA1. Suppose you call a binary search function on an array of size 128. What is the maximum number of comparisons the code will have to make, according to our discussion in class? 2. Fill in the two bl
Delaware - CIS - 181
181 Quiz 3/28/08 10 pts. Name Section TA1. 4 Dene a struct type that will hold a student name and id number.2. 3 Declare one student and ll with data.3. 3 Declare a second student, and give it the same values as the rst without restating those
Delaware - CIS - 181
181 Quiz 5/9/08 12 pts. Name Section TAclass Flour{ private: int weight; int getWeight(){return weight;} public: Flour():weight(5){} int getWeight2(){return weight;} void say(){cout &lt; &quot;I am a Flour object\n&quot;;} virtual void say2(){cout &lt; &quot;I am a Flo
Delaware - CIS - 181
181 Quiz 3/11/08 10 pts. Name Use only the names provided! Section TAOn the four lines provided, write four single C+ statements to: 1. Declare an integer named i and initialize it to 272. Declare a pointer ip and initialize it to point to i3.
Delaware - CIS - 181
181 Quiz 2/22/08 10 pts. Name Lab Section TA1. In C+ the operators &amp; and | both evaluate their second arguments only if it is necessary. This is called: 2. Write what this code fragment, a C+ if statement, will print, or write &quot;error&quot; if it won't c
Delaware - CIS - 181
181 Quiz 2/22/08 10 pts. Name Lab Section TA1. According to the Structured Programming model, there are three ways to control program flow. What are they? 2. Write what this code fragment, a C+ if statement, will print, or write &quot;error&quot; if it won't
Delaware - CIS - 181