{{ message }}

Instantly share code, notes, and snippets.

Robert Talbert RobertTalbert

Created Jun 30, 2022
View food.md

If you have difficulty affording groceries or accessing sufficient food to eat every day, or if you lack a safe and stable place to live, I encourage you to visit Replenish, a food resource for GVSU students. If you are comfortable doing so, please speak with me about your circumstances so that I can advocate for you and to connect you with other campus resources.

Created Oct 20, 2021
View Stars and bars.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 # To find the natural number solutions to x + y + z = 8 [(x,y,z) for x in range(9) for y in range(9) for z in range(9) if x+y+z == 8] # To generate the ways to pick 6 donuts from an unlimited supply of glazed, chocolate, and jelly-filled [(g,c,j) for g in range(7) for c in range(7) for j in range(7) if g+c+j == 6] # Put len( ) around these lists to find the number of items in the list.
Created Sep 29, 2021
View Recursive functions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 # The first recursive function we saw. # Turns out it has the closed formula f(n) = n(n+2) although we didn't prove it. def f(n): if n == 0: return 0 else: return f(n-1) + 2*n + 1 # AKA the factorial function: def g(n):
Created Jul 30, 2021
View MTH 225 module level objectives.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \section{Appendix B: MTH 225 Learning Targets} \label{sec:learning-targets} \begin{subsubsection}{Module 1: Computer Arithmetic} \begin{description} \tightlist \item[CA.1] \textbf{(CORE)} \ I can represent an integer in base 2, 8, 10, and 16 and represent a negative integer in base 2 using two's complement notation. \item[CA.2] I can perform addition, subtraction, multiplication, and division in binary. \end{description}
Created Jul 30, 2021
View MTH 225 modules.md

Course module structure: The course content is split up into five modules:

• Module 1: Computer arithmetic. Representing integers in binary, octal, and hexadecimal; binary arithmetic; the Division Algorithm and modular arithmetic.

• Module 2: Logic. Logical propositions, conditional statements, truth tables, predicates, and quantification.

Created Jul 30, 2021
View MTH 225 course level objectives.md

Course-level learning objectives: Upon completion of MTH 225, you will be able to:

• Represent integers using different number bases, and perform integer arithmetic using different bases and modular arithmetic.

• Formulate, manipulate, and determine the truth of logical expressions using symbolic logic.

• Formulate and solve computational problems using sets and functions.

Created Jun 1, 2021
View mth225-LO-version1.md

MTH 225 Learning Objectives

By module

• Module 1: Arithmetic
• Given an integer in base 2, 8, 10, or 16, represent it using another base.
• Add, subtract, multiply, and divide integers in base 2, 8, and 16.
• Use two's complement to represent a negative integer in binary.
• State the Division Algorithm and use it to find the quotient and remainder when dividing one positive integer by another.
Last active Apr 6, 2021
View 200words.md

Semper Libero condimentum praesent consectetuer eget ornare aliquam sagittis ligula nonummy. Placerat libero laoreet sed orci vitae id sit vestibulum sit mi mattis. Eleifend sollicitudin phasellus litora sem sociis vel ac dignissim auctor venenatis hendrerit ornare dolor inceptos ante class. Praesent lectus conubia bibendum class iaculis odio potenti fermentum amet fusce vulputate ultricies cum phasellus sed volutpat ligula. Eros. Dictum sociis ultricies accumsan mus. Congue est convallis elit velit facilisis a commodo convallis torquent feugiat.

Parturient, pharetra mattis felis nam magnis. Dolor tristique. Eu Sagittis quis hendrerit tempus scelerisque mus aliquam ipsum, commodo senectus mattis adipiscing inceptos. Proin molestie ad aliquam curae; ligula habitasse curae; sem gravida magna scelerisque tortor nisl eleifend sapien aptent cum accumsan sociis porttitor mi. Primis. Netus sagittis et, aliquam erat sit posuere nonummy tellus euismod donec vivamus. Ad sollicitudin Quis platea netus id lectus velit a

Created Nov 20, 2020
View fib.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 def fib(n): if n == 0 or n == 1: return 1 else: return fib(n-1) + fib(n-2)
Created Oct 30, 2020
View 10A-DP-sequence.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 def A(n): if n == 1: return 1 elif n == 2: return 4 else: return A(n-1) + 2*A(n-2)