Sunday, October 4, 2020

Assignment #1 Solutions

 Pythagorean Theorem: 

x^2 + y^2 = z^2 


Solve for the number of solutions for 100:

Number of solutions = 30 

E.g. y = 2499, z = 2501


Solve for the number of solutions for 210

Number of solutions = 54 

Eg. y = 11,024 z = 11,026


Solve for the number of solutions for 420 

Number of solutions = 162 

E.g. y = 44,099 z = 44,101


Solve for the number of solutions for 35 

E.g. y = 612 z = 613 


Extension of the problem!

Can you solve for the number of solutions for x = 5? 


Answer: 

2 solutions including y = 12, z = 13 and y = 0, z = 5

2 comments:

  1. Hmmm, maybe I'm missing something, but all I see here are numbers, with no rationale behind them. How do you know how many solutions there are in each case? Where do these numbers come from? I don't understand this. Also, there's another part to Assignment 1, and I think I must have been unclear about this at the start: you must write a brief reflective blog post about what you learned from this project. There's still time to add this!

    ReplyDelete
  2. Also, I want to thank you for adding some very thoughtful comments to several other classmates' blog posts on their Assignment 1 projects! That was very good, and is always much appreciated.

    ReplyDelete

Assignment 3: History of Coding

Our group's roadmap for the History of Coding and Computer Algorithms is below (the link is more useful, but the screenshot is the roadm...