User Tools

Site Tools


public:t-gede-14-1:lab3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-gede-14-1:lab3 [2014/01/11 17:09] – [Lab Project] marinopublic:t-gede-14-1:lab3 [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 3: Line 3:
 This lab is to some extent based on Chapter 4 in the textbook, in particular sections 4.2.1 "Points and Cartesian Coordinates" and 4.2.4 "Vector Operations" This lab is to some extent based on Chapter 4 in the textbook, in particular sections 4.2.1 "Points and Cartesian Coordinates" and 4.2.4 "Vector Operations"
  
-The main focus here is to learn how we can use other coordinate systems to help us generate effects or behaviour that would be unintuitive to get with Cartesian coordinates.+The main focus here is to learn how we can use other coordinate systems to help us generate effects or behaviour that would be unintuitive to do with Cartesian coordinates.
  
 ===== Discussion ===== ===== Discussion =====
  
-Discussion thread for this lab is here: [[https://piazza.com/class/hq7dlipqggr2qe?cid=8|Lab Discussion Thread]]+Discussion thread for this lab is here: [[https://piazza.com/class/hq7dlipqggr2qe?cid=8|Lab Discussion Thread]]
  
 ===== Goal ====== ===== Goal ======
Line 61: Line 61:
 So the coordinate would be like (angle,radius,angle) = (Θ,r,α) So the coordinate would be like (angle,radius,angle) = (Θ,r,α)
 X coordinate = sin(α) times cos(Θ) times r X coordinate = sin(α) times cos(Θ) times r
-Y coordinate = cos(Θ) times r+Y coordinate = cos(α) times r  // This was Cos of Θ, which was wrong :(
 Z coordinate = sin(α) sin(Θ) times r Z coordinate = sin(α) sin(Θ) times r
 </code> And find some interesting way to make the spherical movement random :-) </code> And find some interesting way to make the spherical movement random :-)
Line 69: Line 69:
 {{ :public:t-gede-14-1:gede_lab3_final_example.png?nolink |}} {{ :public:t-gede-14-1:gede_lab3_final_example.png?nolink |}}
  
-Upload your **commented source files** into Lab2 in MySchool (zip them up if more than one). The lab projects will not be graded, but their completion counts towards your participation grade.+Upload your **commented source files** into Lab3 in MySchool (zip them up if more than one).
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-14-1/lab3.1389460199.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki