

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Examples and additional problems from lab 1 of a computer science or engineering course. Students are encouraged to work through the examples and understand the output obtained from executing the given commands. The document also includes a problem about finding the number of mosquitoes in a ten-acre region based on a given function. The students are required to find the number of mosquitoes at specific hours and check if there is any restriction on the time variable.
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!


This lab contains example problems for you to work on from the Lab 1 module as well as new problems using the commands given in Lab 1. Note: Before typing any of the numbered command examples given below from the corresponding sections of Lab 1, please read the materials preceding them in the Lab module. After typing the commands make sure you understand the output obtained as a result of executing that particular command. Some of the examples reference previous commands and hence you should exercise caution in this case – you may need to type the previous command as well! This is especially true when you use variables that have been assigned some value earlier. When in doubt get help from the instructors. Examples from Lab 1 Module Example 1: 1.3.2. Note: 1.3.2.1 means command number 1 under section # 1.3.2. Example 2: 2.1. Note: 2.1.4 means command number 4 under section # 2. Example 3: Use command example 2.4.14 to find the dimensions of the matrix in Example 2. Example 4: 2.5.
Example 5: Use command example 2.6.23 to evaluate the function g at 4.2. Additional Problems