Monthly Archives: January 2017

Spring 2017 – Week 2 Class Notes

Another week is in the bag! It was good to see you all, and I’m glad to see you all keeping up with your work.

Computer Programming

This week we reviewed objects (and a little arrays) and then talked about the built-in objects in JavaScript for interfacing with web pages. The main object used is “document”, and the main function that bridges the gap between JavaScript and HTML is “getElementById”. A lot of you kept thinking that the “innerHTML” function plays a role, probably because of the word “HTML” in the function name. “innerHTML” is actually rarely used. getElementById takes a string, and finds and returns an HTML element having that string as an ID. It doesn’t matter what your variable is called, it only matters that the string you pass to getElementById matches the string you put in the id=”” attribute of your HTML element.

Another thing I noticed is that I think there was some confusion on the “return” statement. When a “return” happens – that’s the end of the function! Nothing else occurs after the “return” statement. We often put it at the end of our function (and there is usually one there), but technically you can return from anywhere in your function. There can even be multiple returns, based on conditions. But as soon as the return runs, the function is over.

This week we are working on chapter 15. Don’t forget to email if you run into trouble!

Electronics

This week we reviewed diode action and practiced our measurement skills with our multimeter. Every did well. This week review chapter 8 and do the problems at the end. Next week we will focus on power.

Calculus

Read chapters 18 and 19. I don’t have problems for that yet, but I might get some done over the weekend so check back Monday.

Spring 2017 – Week 1 Class Notes

Welcome back everyone! I was happy to see everyone this week, and am looking forward to a great semester. Last semester, posting class notes online each week worked out well, so we are just going to focus on that for the week.

Computer Programming

To get back in the swing of things, for computer programming you should re-read Chapter 13. The “Apply” section has a description of how to make a simple web store. Implement as much of that as you can. This will be the starting point for the first semester’s assignment.

Electronics

Everyone seemed to be very much on the ball with electronics today. The chapter we are going to review is chapter 7. Please read chapter 7 and do the homework for this chapter and bring it to class.

I mentioned I would link to videos each week. Since we are reviewing, here are some videos from Make introducing the basics:

Here is a video on calculating series/parallel resistances:

Here are videos on Kirchoff’s Laws:

Calculus

So, for this week, to review, start by reviewing the table of derivatives in Appendix F.3. Review chapter 11 and 12, and do the problems at the end of chapter 12.