Connexions Module: m11604 - Solutions to Exercises, Study notes of Programming Languages

Solutions to various exercises presented in connexions module m11604. The module covers topics such as complex fourier series, propositional logic, and structural computational biology. The solutions include figures, equations, and tables.

Typology: Study notes

2011/2012

Uploaded on 10/20/2012

christina
christina 🇺🇸

4.6

(23)

393 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Connexions module: m11604 1
cnxns
Chuck Bearden
This work is produced by The Connexions Project and licensed under the
Creative Commons Attribution License
Abstract
Need summary
1 Gratuitous list-o-mania
Named-item list
One name -
the rst item
Two name -
the second item
Three name -
the third item
1.1 Named-item list
One name -
the rst item
Two name -
the second item
Three name -
the third item
Bulleted list
the rst item
the second item
the third item
1.2 Bulleted list, no name
the rst item
the second item
the third item
Enumerated list
1. the rst item
2. the second item
3. the third item
Version 1.7: Jan 17, 2009 11:00 am US/Central
http://creativecommons.org/licenses/by/1.0
http://cnx.org/content/m11604/1.7/
pf3
pf4
pf5
pf8

Partial preview of the text

Download Connexions Module: m11604 - Solutions to Exercises and more Study notes Programming Languages in PDF only on Docsity!

cnxns

Chuck Bearden

This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License †

Abstract Need summary

1 Gratuitous list-o-mania

Named-item list

One name - the rst item Two name - the second item Three name - the third item

1.1 Named-item list

One name - the rst item Two name - the second item Three name - the third item

Bulleted list

  • the rst item
  • the second item
  • the third item

1.2 Bulleted list, no name

  • the rst item
  • the second item
  • the third item

Enumerated list

  1. the rst item
  2. the second item
  3. the third item

∗Version 1.7: Jan 17, 2009 11:00 am US/Central †http://creativecommons.org/licenses/by/1.

1.3 Enumerated list, no name

  1. the rst item
  2. the second item
  3. the third item

Secondary Structure: β-sheet

(a) Cartoon representation (b) Ribbon representation (c) Bond representation

Figure 1: Beta-sheets represented in three dierent rendering modes: cartoon, ribbon, and bond representations. (a) Dierent parts of the polypeptide strand align with each other to form a β-sheet. This β-sheet is anti-parallel, because adjacent segments of the protein run in opposite directions. (b) β-sheets are sometimes referred to as β pleated sheets, because of the regular zig-zag of the strands evident in this representation. (c) Each segment in this representation represents a bond. Unlike the other two representations, side chains are illustrated. Note the alignment of oxygen atoms (red) toward nitrogen atoms (blue) on adjacent strands. This alignment is due to hydrogen bonding, the primary interaction involved in stabilizing secondary structure.

Example 1 Umm Example 2: This is not the Example you were looking for Move along!

Collections

  • external collection^1
  • here^2

Documents

  • external module^3
  • internal module^4

Figures

(^1) Introduction to Music Theory (^2) Introduction to Music Theory (^3) "Talking about Sound and Music" (^4) "Complex Fourier Series"

  • external^23
  • internal
  • Text before:.

Tables

  • external, with title^24
  • external, without title^25
  • internal, with title
  • internal, without title^26
  • Text before: here^27.
  • Text before (no title): here^28.

Examples

  • external, with title^29
  • external, without title
  • internal, with title (Example 2: This is not the Example you were looking for)
  • internal, without title
  • Text before: Example 2 (This is not the Example you were looking for).
  • Text before (no title):.

Lists

  • external, with title^30
  • external, without title^31
  • internal, with title (Collections, p. 2)
  • internal, without title^32
  • Text before: Collections, p. 2.
  • Text before (no title): here^33.

Subgures

  • external, with title^34
  • external, without title^35
  • internal, with title (Figure 1(b): Ribbon representation)
  • internal, without title^36
  • Text before: Figure 1(b) (Ribbon representation). (^23) "Sets", Denition 2: "Cardinality" (^24) "Propositional Logic: using propositions": Table 2: Truth table for ∧ ("and")

(^25) "propositional equivalences": Table 6 (^26) "Propositional Logic: subproofs": Table 9 (^27) "CALS Table Samples": Table 17: Simple table with small cell contents, and colspans for all columns (all widths are '*')

(^28) "Propositional Logic: subproofs": Table 9 (^29) "Labview Implementation", Example 1: Magnitude Graph Example (^30) "Being an Ethical Job Candidate": What should Jorge do is he receives a request to interview with Mega Weapons?

(^31) "Being an Ethical Job Candidate" (^32) "Classic Fourier Series" (^33) "Classic Fourier Series" (^34) "Structural Computational Biology: Introduction and Background", Figure 4(b): Ribbon representation

(^35) "Introduction: logic denition", Figure 1(a) (^36) "Fast Fourier Transform (FFT)", Figure 1(b)

  • Text before (no title): here^37.

Exercises

  • external, with title^38
  • external, without title^39
  • internal, with title (Exercise : Math Problem.)
  • internal, without title^40
  • Text before: Exercise (Math Problem.).
  • Text before (no title): here^41.

List items (bulleted lists)

  • external, without title^42
  • internal, with title (list, 2nd bullet, p. 1)
  • internal, without title (list, 2nd bullet, p. 1)
  • Text before: list, 2nd bullet, p. 1.
  • Text before (no title): list, 2nd bullet, p. 1.

List items (enumerated lists)

  • external, with title^43
  • external, without title^44
  • internal, with title (list, item 2, p. 1)
  • internal, without title (list, item 2, p. 2)
  • Text before: list, item 2, p. 1.
  • Text before (no title): list, item 2, p. 2.

List items (named-item lists)

  • external, without title^45
  • internal, with title ("Two name", p. 1)
  • internal, without title ("Two name", p. 1)
  • Text before: "Two name", p. 1.
  • Text before (no title): "Two name", p. 1.

Media

  • external^46
  • internal, with common ancestor para (see this para)^47
  • internal, with common ancestor item (see this list, item 4)^48 (^37) "Fast Fourier Transform (FFT)", Figure 1(b) (^38) "A Primer in Modern Intellectual Property Law", Exercise 1: Math Problem.

(^39) "Modes and Ragas: More Than just a Scale", Exercise 1 (^40) "Fast Fourier Transform (FFT)", Exercise 1 (^41) "Fast Fourier Transform (FFT)", Exercise 1 (^42) "The Role of Electronic Publishing and Print-on-Demand", list, 8th bullet,

(^43) "Exercises: Columns and Null Spaces", list, item 3 (^44) "Simple Data Logger VI", list, item 4 (^45) "Recommendations": "5", (^46) "Modular Programming", see the media at (^47) "Icons and Connector Panes" (^48) "Reduce Samples VI"

  • external^69
  • internal^70
  • internal^71
  • Text before: here^72.
  • Text before (no title): here^73.

2 Equations?

Complex Fourier Series (Square Wave)

sq (t) =

k∈{...,− 3 ,− 1 , 1 , 3 ,... }

iπk

e(i)^

2 πktT (1)

3 Gratuitous para with a name inside the collection

A para with a name There are many paras to choose from in the world. We are glad you chose this one.

4 Gratuitous exercise with a name inside the collection

Exercise 1: Math Problem. (Solution on p. 8.) I write this module today, and I live to the year 2066 (hallelujah!). When can you make use of it?

Table with footnotes

Presently, you can't put a note[@type="footnote"] in a table cell. This cell contains a link foot- note.^74 This cell contains a cnxn that shouldn't become a footnote. See Figure 1 (Secondary Structure: β-sheet).

This cell contains a cnxn that should become a footnote. See.

Table 1

(^69) "Protein Classication, Local Alignment, and Motifs", reference [2]

(^70) "Internal cnxn targets", reference [3] (^71) "Internal cnxn targets", reference [1] (^72) "Internal cnxn targets", reference [3] (^73) "Internal cnxn targets", reference [1] (^74) http://linkage.net/

Solutions to Exercises in this Module

Solution to Exercise (p. 7) It's a trick question, this text is available under a license that allows you to use it now. Nonethless, the copyright on this text will last until Jan 20. 2136. That's 132 years from now.