Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brief description on why mod() can repeat? #1

Open
stevemao opened this issue Oct 23, 2016 · 4 comments
Open

brief description on why mod() can repeat? #1

stevemao opened this issue Oct 23, 2016 · 4 comments

Comments

@stevemao
Copy link

Thanks for the awesome workshop! It wasn't obvious to me why mod() can repeat objects. Although I think this is probably a maths problem, for those who don't have any maths/strong CS background it might be a bit hard to understand. Google doesn't seem to have many results on the term either.

@hughsk
Copy link
Owner

hughsk commented Oct 24, 2016

No worries! Thanks for coming. Definitely agree that an explanation would help here — will be sure to tackle if/when I revisit the content, time permitting :)

@hughsk
Copy link
Owner

hughsk commented Oct 24, 2016

Oh! Just realised this was more likely a question than a request. Maybe this video is useful, or this article?

@stevemao
Copy link
Author

Oh I thought it'd be better to add a description to the task (next to mod() or something). If you don't have the time leave it to the community :)

@ubershmekel
Copy link

I completed all chapters and the first mod() question was the hardest for me too. What took me so long was trying to make the function continuous. I ended up doing it slightly different from the technique exposed in the next chapter. I did abs(mod(x, 0.5) - 0.25). But I was able to solve it after a day so maybe it's fine? You can probably decide based on analytics if the question is too hard without a further clue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants