# 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.

9 Pages

### midterm2

Course: MATH 262 262, Spring 2011
School: McGill
Rating:

#### Document Preview

Sorry, a summary is not available for this document. Register and Upgrade to Premier to view the entire document.

Register Now

#### Unformatted Document Excerpt

Coursehero >> Canada >> McGill >> MATH 262 262

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.
There is no excerpt for this document.
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:

McGill - MATH 262 - 262
Assignment 6The unit normal line at this same point oriented to make an acuteangle with the positive z axis isijk7.(1 pt) The equation of the tangent plane to the surface a collection of unequally spaced parallel linestwo straight lines and a c
McGill - MATH 262 - 262
Assignment 7MATH262, Winter 2009and the point P1 1 1 on this surface.A. Starting with the equation x 1 32t , nd equations fory and z which combine with this equation to give parametricequations for the normal line through P.yzNote: Your answers s
McGill - MATH 262 - 262
Assignment 8Maximum distance =Minimum distance =56.(1 pt) Consider the function f x yx 11y 4xy 3x2dened in the unit square 0 x 1, 0 y 1.Find the maximum and minimum values of f and where theyoccur.The maximum value isand it occurs for xand y.
McGill - MATH 262 - 262
Samadhi Gunasekera Senarath Dias Widhanaraldue 10/18/2009 at 11:59pm EDT.Assignment 3MATH262, Fall 2009You may attempt each problem a maximum of 7 times.1. (1 pt) The function f (x) =power series3(19x)23. (1 pt) Compute the 9th derivative ofis r
McGill - MATH 262 - 262
Li Lian Chongdue 05/10/2010 at 11:59pm EDT.Assignment 1MATH262, Fall 2009You may attempt each problem a maximum of 7 times.5. (1 pt) If the following series converges, compute its sum.Otherwise, enter INF if it diverges to innity, MINF if it diverge
McGill - MATH 262 - 262
Syed Shahdue 09/20/2009 at 11:59pm EDT.Assignment 1MATH262, Fall 2009You may attempt each problem a maximum of 7 times.5. (1 pt) If the following series converges, compute its sum.Otherwise, enter INF if it diverges to innity, MINF if it diverges to
McGill - MATH 262 - 262
Li Lian ChongWeBWorK assignment 2 due 05/10/2010 at 11:59pm EDT.MATH262 Fall 2008You may attempt each problem a maximum of 10 times.Problems on numerical series and power series.sin2 (7n)n2n=1(1)n5. 2n=1 7n + 2+ nn6. 4n=2 n 34.1. (1 pt) T
McGill - MATH 262 - 262
Syed Shahdue 10/18/2009 at 11:59pm EDT.Assignment 3MATH262, Fall 2009You may attempt each problem a maximum of 7 times.1. (1 pt) The function f (x) =power series1(110x)23. (1 pt) Compute the 7th derivative ofis represented as af (x) = cn x n .
McGill - MATH 262 - 262
Samadhi Gunasekera Senarath Dias Widhanaraldue 10/25/2009 at 11:59pm EDT.Assignment 4MATH262, Fall 2008You may attempt each problem a maximum of 6 times.1. (1 pt) Let a = (2, 7, 5) and b = (9, 10, 3) be vectors.Compute the cross product a b. ( ,,)
South Carolina - ENVIRO - 101
What can we do to help sustain the earths biodiversity?The 3 main objectives of the World Conservation Strategy (created by the WorldConservation Union):Maintain essential ecological services and life-support systems that support human lifeand sustain
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science- Dat Le- 8/24/11- 0b-www.apluscompsci.compublic class Lab0bcfw_public static void main ( String[] args )cfw_/define 1 variable of each of the/following data types/byteshortint/floatdouble/charboolea
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science-Dat Le-8/24/11-0c-www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class Lab0ccfw_public static void main (String[] args)cfw_Scanner keyboard = new Scanner(System.in);
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science- Dat Le- 8/29/11- BigHouse-www.apluscompsci.comimport java.awt.Graphics;import java.awt.Color;import java.awt.Canvas;public class BigHouse extends Canvascfw_public BigHouse() /constructor - sets up the cla
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science- Dat Le- 8/29/11- GraphicsRunner-www.apluscompsci.comimport javax.swing.JFrame;public class GraphicsRunner extends JFramecfw_private static final int WIDTH = 800;private static final int HEIGHT = 600;publi
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science-Dat Le-08/29/11-1a-www.apluscompsci.comimport static java.lang.System.*;public class Lab01acfw_public static void main(String args[])cfw_/instantiate a StarsAndStripes objectStarsAndStripes flag = new Sta
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science- Dat Le- 8/29/11- Robot-www.apluscompsci.comimport java.awt.Graphics;import java.awt.Color;import java.awt.Canvas;class Robot extends Canvascfw_public Robot()/constructor method - sets up the classcfw_s
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science-Dat Le-8/29/11-SmileyFace-www.apluscompsci.comimport java.awt.Graphics;import java.awt.Color;import java.awt.Canvas;public class SmileyFace extends Canvascfw_public SmileyFace()/constructor - sets up the
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science-Dat Le-08/29/11-1a-www.apluscompsci.comimport static java.lang.System.*;public class StarsAndStripescfw_public StarsAndStripes()cfw_ out.println(&quot;StarsAndStripes&quot;);twoBlankLines();public void twentyStars
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Fahrenheitcfw_private double fahrenheit;private double celsius;public void setFahrenheit(double fahren)cfw_fahrenheit = fahren;public double getCelsius()cfw_/double cel
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02acfw_public static void main( String[] args )cfw_Rectangle test = new Rectangle();test.setLengthWidth(2,6);test.calculatePerimeter( );test.print();test.setLengthWidt
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02bcfw_public static void main( String[] args )cfw_Sum test = new Sum();test.setNums(5,5);test.sum();test.print();test.setNums(90,100.0);test.sum();test.print();tes
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02ccfw_public static void main( String[] args )cfw_Average check = new Average();check.setNums(5,5);check.average();check.print();check.setNums(90.0,100.0 );check.ave
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02dcfw_public static void main( String[] args )cfw_Cube test = new Cube();test.setSide(112);test.calculateSurfaceArea();test.print();test.setSide(4);test.calculateSur
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02ecfw_public static void main( String[] args )cfw_Circle test = new Circle();test.setRadius(7.5);test.calculateArea( );test.print();test.setRadius(10);test.calculate
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02fcfw_public static void main( String[] args )cfw_Line run = new Line();run.setCoordinates(1,9,14,2);run.calculateSlope();run.print();run.setCoordinates(1,7,18,3);ru
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Lab02gcfw_public static void main( String[] args )cfw_Fahrenheit test = new Fahrenheit();test.setFahrenheit(98.6);test.getCelsius();test.print();test.setFahrenheit(52.30)
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Linecfw_private double xOne,yOne, xTwo, yTwo;private double slope;public void setCoordinates(double x1, double y1, double x2, double y2)cfw_xOne = x1;yOne = y1;xTwo = x2;
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Rectanglecfw_private int length;private int width;private int perimeter;public void setLengthWidth(int len, int wid )cfw_length=len;width=wid;public void calculatePerim
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.compublic class Sumcfw_private double one, two, sum;public void setNums(double num1, double num2)cfw_one=num1;two=num2;public void sum( )cfw_sum=one+two;public void print( )cfw_Sys
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Distancecfw_private int xOne,yOne,xTwo,yTwo;private double distance;public Distanc
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import java.lang.Math.*;public class Lab03a /this class is used to test Trianglecfw_public static void main( String[] args )cfw_Scanner keyboard = new Scanner(S
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Lab03bcfw_public static void main( String[] args )cfw_Scanner keyboard = new Scann
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Lab03ccfw_public static void main( String[] args )cfw_Scanner keyboard = new Scann
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Lab03dcfw_public static void main( String[] args )cfw_Scanner keyboard = new Scann
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class MilesPerHourcfw_private int distance, hours, minutes;private double mph;public Mil
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Quadraticcfw_private int a, b, c;private double rootOne;private double rootTwo;pu
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import java.lang.Math.*;public class Trianglecfw_private int sideA, sideB, sideC;private double perimeter;private double theArea;public Triangle()cfw_setSide
Cy-Fair College - C++ - comp122
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class FirstAndLastcfw_private String word;private char firstLetter;private char lastLetter;public FirstAndLast()cfw_setString(&quot;);word=&quot;;publ
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class Lab04acfw_public static void main ( String[] args )cfw_AddStrings demo = new AddStrings(&quot;hello&quot;,&quot;world&quot;);demo.add();out.println(demo);dem
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class Lab04bcfw_public static void main ( String[] args )cfw_FirstAndLast demo = new FirstAndLast(&quot;Hello&quot;);demo.findFirstLastLetters();out.print
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class Lab04ccfw_public static void main ( String[] args )cfw_StringRipper demo = new StringRipper(&quot;chicken&quot;);out.println(demo.ripString(3,6);out
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabimportComputer Science - www.apluscompsci.comstatic java.lang.System.*;public class Lab04dcfw_public static void main ( String[] args )cfw_Name person = new Name(&quot;Sally Baker&quot;);System.out.println(person.getFirst();System.out
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class Lab04ecfw_public static void main ( String[] args )cfw_StringChecker demo = new StringChecker(&quot;chicken&quot;);out.println(&quot;looking for c &quot;+demo.
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class Namecfw_private String name;public Name()cfw_setName(&quot;);name = &quot;;public Name(String s)cfw_setName(s);public void setName(String s)c
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class StringCheckercfw_private String word;public StringChecker()cfw_word = &quot;;public StringChecker(String s)cfw_setString(s);public void se
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class StringRippercfw_private String word;public StringRipper()cfw_setString(&quot;);word=&quot;;public StringRipper(String s)cfw_setString(s);publi
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimportimportimportimportimportimportimportjava.awt.Graphics;java.awt.Color;java.awt.event.ActionListener;java.awt.event.ActionEvent;javax.swing.Timer;javax.swing.JFrame;java.awt.
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class CharacterAnalyzercfw_private char theChar;public CharacterAnalyzer()cfw_theChar = 0;public CharacterAnalyzer(ch
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Distancecfw_private int x1,y1,x2,y2;public Distance()cfw_x1 = 0;y1 = 0;x2 = 0;
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class Lab05acfw_public static void main( String args[] )cfw_Scanner keyboard = new Scanner(System.in);out.print(&quot;Enter
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class Lab05bcfw_public static void main ( String[] args )cfw_Scanner keyboard = new Scanner(System.in);out.print(&quot;Enter
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class Lab05ccfw_public static void main ( String[] args )cfw_Scanner keyboard = new Scanner(System.in);out.print(&quot;Enter
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class Lab05dcfw_public static void main ( String[] args )cfw_Scanner keyboard = new Scanner(System.in);out.print(&quot;Enter
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport java.util.Scanner;import static java.lang.System.*;import static java.lang.Math.*;public class Lab05ecfw_public static void main( String[] args )cfw_Scanner keyboard = new Scann
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;public class OddOrEvencfw_private int number;public OddOrEven()cfw_number=0;public OddOrEven(int num)cfw_setNum(num);public void setNum(int num)c
Cy-Fair College - C++ - comp122
/ A+/Name/Date/LabComputer Science--www.apluscompsci.comimport static java.lang.System.*;import java.util.Scanner;public class StringOddOrEvencfw_private String word;public StringOddOrEven()cfw_word=&quot;;public StringOddOrEven(String s)cfw_
American College of Computer & Information Sciences - COP - 1332
Public Class Form1Dim filename As StringDim oFile As System.IO.FileDim oWrite As System.IO.StreamWriterPrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles MyBase.Loadfilename = InputBox(&quot;Enter output file name&quot;)
American College of Computer & Information Sciences - COP - 1332
Exercise 5-6Exercise 5-6 Asks us to create a crude Bar Chart to display sales data for several retail stores.The user will be prompted via Input Box to enter the total sales for each store. The program willthen createand display a Bar Chart representi
American College of Computer & Information Sciences - COP - 1332
5-10 is a variation of the old compound interest problem. Sue Starts out being paid 1 the firstday. Her pay is doubled each day she works, 2 on day 2, 4 on day 3, etc. The exercise is tocreate an application to calculate her pay for any given number of
American College of Computer & Information Sciences - COP - 1332
The form accepts the following inputs: Number of days spent in the hospital at \$350/day Amount of medication costs Amount of surgical costs Amount of Lab Fees Rehabilitation ChargesWe are asked to create the following VB functions CalculateStayChar