Welcome to ENGINEERING 21!

 

Course Content:� A lecture class on use of the computer as a scientific and engineering problem

solving tool using the C++ programming language.Programming structure, techniques, algorithms, and numerical methods are employed to solve a variety of problems in mathematics, science, engineering, and other technical areas.Students do the actual programming on their own time outside of the class lectures.

 

Instructor:Ronnie Gerola, P.E., Associate Faculty, Engineering, AAS

Phone: 408-741-2045 x3414

Email: [email protected]

 

Office Hours:In regular classroom before class on class days, or otherwise by appointment.However, if you have a problem, or just want to talk, don't wait until class day...EMAIL or CALL.

 

HBA:Hours By Arrangement are in Room TC-F or TC-C at the following days and times: To be posted when known!

 

Textbook:Programming and Problem Solving with C++ 6th Edition, Dale and Weems, Jones and Bartlett Publishers, c2010, ISBN: 978-1-284-02876-8.All students must have their own copy of the textbook as there can be no sharing during the open-book exams.Previous editions of the textbook have basically the same material except for the end-of-chapter problems, and therefore are not suitable for assignments.Software is not included with the book and must be acquired separately if you choose to work the assignments outside of the WVC Technology Center.

 

Prerequisites: Knowledge and experience working with a personal computer, navigation and file systems, good typing skills, familiarity with basic office applications such as MS Word and Excel, plus the course MATH 3A.Course catalog description of this required course appears below.ENGR 021 expects you to solve problems from MATH 3A without class review.

 

�3A ANALYTIC GEOMETRY AND CALCULUS������������� ������� 5 units

Lecture 5 hours

Prerequisite: Math 1 and Math D with a grade of C or better, and Math 2 with a grade of C or better.Math 100 required concurrently.

Recommended Basic Skill Level: none required

Acceptable for credit: University of California, California State University.

The course covers functions, limits, continuity, differentiation, maxima and minima, and beginnings of integration, and the relationship between calculus and analytic geometry for polynomial functions.(CAN Math 18)

 

Technical Level: ENGR 021 is acceptable for credit at the University of California and CSU systems, and this status requires us to meet their performance standards in terms of course content, technical level, speed, and overall quality.

 

Required Materials:A USB flash drive (1GB or greater), another flash drive or hard drive somewhere to back up your data, stapler and staples, scientific calculator.

 

Assignments:There will be 6 programming assignments with dates indicated on the class schedule.These assignments are to be done outside of class on the personal computers in the computer lab or on a computer in your home or workplace if you own the software.

 

Group Efforts:You are free to discuss ideas and programming problem approaches with others but you may NOT complete the programming assignments as a group effort.All of the work that you submit must represent your own effort.The instructor will frequently ask you to fully explain or even duplicate any work that you turn in.If you can not explain your work in plain English, all credit for the assignment will be deleted.

 

Restriction On Use Of Classroom Computers:All computer monitors must be turned off during class lectures unless told otherwise.Class time can not be used for any computing activities that are unrelated to our class content.Students will be told when use of classroom computers is acceptable.

.

Requirements for Credit: Before your assignment can be reviewed, there is a checklist of three items that must be met.Here they are:

 

RULE 1:

 

Programming assignments must be turned in AT THE BEGINNING OF CLASS on the due

date shown on the

class schedule.Assignments turned in AFTER the start

of class on the due date receive 50% credit maximum.

RULE 2:

 

The "Assignment Submittal Cover Sheet" must be completed, and stapled to the front of the assignment.Requirements such as Name, class, date, and other information itemized on that checklist must be met.

RULE 3:

 

Input and output for

ALL programs within a

given assignment

must be submitted as a GROUP stapled TOGETHER

- parts of an

assignment will

NOT be accepted

apart from their

group, unless that�s your final submission.

 

 

USE THESE THREE RULES AS YOUR CHECKLIST! Once you have met these THREE requirements, your assignment will become eligible for grading and whatever potential credit it might deserve.If you know that you will miss a future class, you may turn in any assignment early, have a friend drop it off, leave it in my mail folder in the AAS Division Office, or mail it.DO NOT turn in PARTIALLY COMPLETED assignments early before the due date, UNLESS that is your final submittal and you don�t plan on doing any more work on that assignment.If the due date arrives and all problems are not completed, then turn in whatever you have completed at that time � your assignment will get credit for the completed portions.

 

Exams:Two quizzes and one comprehensive final examination will be provided on dates indicated on your class schedule.All quizzes and the final exam are OPEN-TEXTBOOK, CLOSED-NOTES.Materials other than the course textbook and a calculator MAY NOT BE USED, and as stated, there can be no sharing during exams.

 

Course Grade:

Attendance������������������������ 10% ���� ...observed at the start of every class.

Problem Assignments�������� 30% ���� ...turned in at the start of class on their due dates.

Quizzes 1+2����������������������� 30% ���� ...given on dates specified in schedule.

Final Examination��������������� 30% ���� ...required Final Exam - not optional.

������������������������������������� ����

TOTAL���������������������������� 100%������������������������������

�����������������������������������

*** THINGS TO REMEMBER ***

�� Partial credit will be given on examinations if a logical method is evident.

�� Illegible assignments cannot be credited - if the instructor cannot read it, no credit is awarded.

�� Dishonesty and cheating will result in a failing grade.

�� This is a graded course.A Pass/Fail grade only is not normally an option for this class.

�� Grades of "incomplete" are not given.A partially completed course receives whatever grade is justified by the work completed, with no credit for required work that was not done.

�� Attendance and participation is required - departure after the break is considered an absence.

�� You must get assignment work done OUTSIDE of the class meeting times - not during class.

�� Printing output files in the classroom is STRICTLY PROHIBITED during class time as it is an unnecessary distraction for other students.

�� ALL computer monitors must be turned off during class lectures UNLESS TOLD OTHERWISE.

�� There will be no make-up tests given, so it is likely that missed tests will get a score of zero unless (1) absence is approved in advance, or (2) there are documented medical circumstances.

 

 

West Valley College makes reasonable accommodations for persons with documented disabilities. College materials will be available in alternate formats (Braille, audio, electronic format, or large print) upon request. Please contact the Disability and Educational Support Program at (408) 741-�2010 (voice) or (408) 741‑2658 (TTY) for assistance.

 

 

 

 

If You Wish to Program the Class Assignments on Your Home Computer Instead of Using the Campus Technology Center�Recommended Software for Home Use

 

C++ compilers have been developed for a variety of operating systems, including UNIX, Linux, Windows, and Macintosh.In our Engineering 21 class we will use a Microsoft Windows programming environment because it is the most common for desktop PCs and because this software is installed in the Technology Center�s desktop computers.

 

Microsoft Visual C++ is the compiler of choice for Windows development due to its rich array of features.In fact, many releases of world-class software, from the leading Web browsers to corporate applications, are built using the Microsoft Visual C++ development system.There are different versions of it, and over the years at West Valley we have used various versions of Microsoft Visual C++ and Microsoft Visual Studio.They are available in many stores and of course online as well.

 

However, Microsoft lets you download a free version of Visual Studio Express Edition at:

 

www.microsoft.com/express/vc/

 

For the purposes of our class, the class assignments, and your work outside of class, this free Visual Studio Express Edition should be adequate.Of course, you don�t need to download anything if you prefer to do all of your programming using the Campus Technology Center, since the compiler is already installed on the computers there.

 

 

 

 

 

Programming Warm-Up Exercise: "Just Type It As You See It"

 

 

 

YOU MUST TURN IN THIS PROGRAM AND THE RESULTS!

 

// Mary Smith�� �OF COURSE, YOU TYPE YOUR OWN NAME HERE

// August 26, 2013�OF COURSE, YOU TYPE THE ACTUAL DATE HERE

// ENGR 021 Monday 6:30-9:40 PM

// PURPOSE: Simple demo program, calculates a right triangle.

//

/*

PSEUDOCODE For This Program:

1. Declare and explain variables

2. Ask the user for legs a and b

3. Use the general formula relating the lengths of sides of right triangle,

which is a*a + b*b = c*c�� where a and b are legs at right angles to each other and c is the third leg

4. Print out a, b, c each with its own label

*/

 

#include <iostream>

#include <cmath>

using namespace std;

 

int main()

{

// declare variables needed

float a,b,c;����� // a, b, c are sides of right triangle

����

// Get input

cout << �Enter side a: � << endl;

cin >>a;

cout << �Enter side b: � << endl;

cin >>b;

 

// Do calculations

c=sqrt(a*a + b*b);

 

// Print output

cout << �For a right triangle with� << endl;

cout << �a=� << a << endl;

cout << �b=� << b << endl;

cout << �c=� << c << endl;

 

//Say goodbye and end this run

cout << �Thank you for using me!� << endl;

return 0;//returns control back to the operating system

}

 

 

 

 

 

NOTE: The Assignment Submittal Checklist is a separate link on our class web site.It is your responsibility to become familiar with it and to use it when submitting each assignment.Assignments will NOT be accepted without it!