This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 14:440:127 14:440:127 14:440:127 14:440:127 Introduction to Computers for Engineers Recitation 2- Problems for students to attempt Please complete these problems on your own time if you do not finish in recitation. You don’t need to show us the completed recitation problems, although we recommending saving a copy of your solutions for your own benefit. In addition to these problems, we will be posting a “problem set” to Sakai on Wednesday night. These problems will be due before your next recitation . To submit the problem set, you will upload a file containing your solutions on Sakai itself. 1) Write Matlab code that displays “You must go to study right away” if the variable TVTime equals 10. 2) Find the number between 15 and 20 with the least number of prime factors (for now, you can enter commands separately for each number from 15 to 20. In later recitations, you’ll automate this process.) 3) Define a variable x with a numerical value. Write a program to multiply the variable by the numbers 1 through 5. Then comment out the instructions that include multiplying by even numbers. 4) Use Matlab to calculate the following. Let x = 9.2; z = 8.8 5) Use Matlab to verify the following. Let x = 3/17 * π 6) Create a vector of the even numbers between 3 and 16. First, write this as a row vector....
View Full Document
This note was uploaded on 02/29/2012 for the course 440 127 taught by Professor Blase during the Fall '09 term at Rutgers.
- Fall '09