PreTeXt Sample Book: Abstract Algebra (SAMPLE ONLY)

Section5.15Projects and Friends

“PROJECT-LIKE” refers to the elements/blocks <project>, <activity>, <activity>, and <exploration>. They are very similar to <exercise>, and here we stress that they can be interactive in all the same ways an <exercise> can. Key differences are that they are blocks, and so are peers of other blocks like paragraphs and examples, and are children of divisions. By default they have their own numbering scheme, though we expect this to convert to an elective behavior.
Both <exercise> and PROJECT-LIKE can be structured with <task>. It would be natural to have a <project> with multiple <task>, each a possibly different interactive problem type. We expect that to be possible soon. For now, <exercise> and <project> (and friends) need to be structured with a <statement> (and their associated signal) in order to be interactive.

Which colors might be found in a rainbow? (Note that the radio buttons now allow multiple buttons to be selected.)
• Red
• Red is a definitely one of the colors.
• Yellow
• Yes, yellow is correct.
• Black
• Remember the acronym…ROY G BIV. “B” stands for blue.
• Green
• Yes, green is one of the colors.
Hint.
Do you know the acronym…ROY G BIV for the colors of a rainbow, and their order?
Now an <exercise> with two <task>. Since the latter is a short-answer question, it will only be interactive on a capable platform.

Checkpoint5.15.1.True/False and Explain.

Structured with task, we can have an introduction, but this does not migrate with the interactive portions.

(a)True/False.

Every vector space has finite dimension.
• True.

• The vector space of all polynomials with finite degree has a basis, $$B = \{1,x,x^2,x^3,\dots\}\text{,}$$ which is infinte.
• False.

• The vector space of all polynomials with finite degree has a basis, $$B = \{1,x,x^2,x^3,\dots\}\text{,}$$ which is infinte.
Hint.
$$P_n\text{,}$$ the vector space of polynomials with degree at most $$n\text{,}$$ has dimension $$n+1$$ by Theorem 3.2.16. [Cross-reference is just a demo, content is not relevant.] What happens if we relax the defintion and remove the parameter $$n\text{?}$$

(b)

Explain your reasoning in the previous question.
Now an <exploration> nested two-deep with the same two questions, two times each, just for testing purposes.

Exploration5.15.2.Exploring Two-Deep.

(a)First Iterations of Each.

(i)Multiple-Choice, Not Randomized, One Answer (First Copy).
What color is a stop sign?
• Green
• Green means “go!”.
• Red
• Red is universally used for prohibited activities or serious warnings.
• White
• White might be hard to see.
Hint 1.
What did you see last time you went driving?
Hint 2.
Maybe go out for a drive?
(ii)Python ActiveCode (First Copy).
Run the following program and observe the information provided at each step.
We're still not really sure.

(b)Second Iterations of Each.

(i)Multiple-Choice, Not Randomized, One Answer (Second Copy).
What color is a stop sign?
We include a spurious Python <program> element in the <statement> which should never convert this from a multiple-choice question into a programming exercise (on any host), but should still get syntax highlighting as part of rendering the exercise.
sum = 0
sum += 6
for i in range(sum):
print("Hello, World!")

• Green
• Green means “go!”.
• Red
• Red is universally used for prohibited activities or serious warnings.
• White
• White might be hard to see.
Hint 1.
What did you see last time you went driving?
Hint 2.
Maybe go out for a drive?
(ii)Python ActiveCode (Second Copy).
Run the following program and observe the information provided at each step.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 1, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.38094303011894226, "perplexity": 4000.838876710299}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2023-06/segments/1674764495001.99/warc/CC-MAIN-20230127164242-20230127194242-00558.warc.gz"}