User Tools

Site Tools


gibson:teaching:fall-2014:math445:hw1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
gibson:teaching:fall-2014:math445:hw1 [2014/09/05 12:52]
gibson
gibson:teaching:fall-2014:math445:hw1 [2014/09/05 13:06]
gibson
Line 3: Line 3:
 The following problems are designed to prepare you for Lab 2 on linear algebra. ​ The following problems are designed to prepare you for Lab 2 on linear algebra. ​
  
-If you have your own computer and want to run Matlab on it, download and install Matlab from {{http://​at.unh.edu/​acs/​services/​software/​ | UNH academic software}}. Otherwise you can do your homework on the computers in Kingsbury N129. Save your Matlab session to a file by turning "diary on". When you're done, edit the diary in a text editor to remove errors and add appropriate comments. Print the edited diary to turn in.+If you have your own computer and want to run Matlab on it, download and install Matlab from {{http://​at.unh.edu/​acs/​services/​software/​ | UNH academic software}}. Otherwise you can do your homework on the computers in Kingsbury N129. Save your Matlab session to a file by turning "diary on". When you're done, edit the diary in a text editor to remove errors and add appropriate comments. Print the edited diary to turn in. Your name, the date, and "Math 445 HW 1" should appear prominently at the top
  
-Remember, you are required to do these homeworks **by yourself**. ​+Remember, you are required to do these homeworks **by yourself**. If you get stuck, refer to your textbook. If you are absolutely stuck, //talk// to a fellow student, the teaching assistant, or the instructor, and get hints for how to proceed. But **do not** copy someone else's solved problem
  
 **Problem 1:** Given two numeric variables $x$ and $y$, write a Matlab expression that evaluates to true (1) if $x$ and $y$ have opposite signs and false (0) otherwise. By opposite signs, I mean one is positive and one is negative. Test the expression by evaluating it with the following pairs of numbers (x,y) = (-5, 4), (5,4), (5,-4), (0,-2), and (3,​0). ​ **Problem 1:** Given two numeric variables $x$ and $y$, write a Matlab expression that evaluates to true (1) if $x$ and $y$ have opposite signs and false (0) otherwise. By opposite signs, I mean one is positive and one is negative. Test the expression by evaluating it with the following pairs of numbers (x,y) = (-5, 4), (5,4), (5,-4), (0,-2), and (3,​0). ​
gibson/teaching/fall-2014/math445/hw1.txt ยท Last modified: 2014/09/06 11:43 by gibson