Animated+UFO

[|Animated UFO Assignment]


 * =Code= || =Code Explanation= ||
 * :PlotsOff
 * Grid Off
 * Axes Off
 * ZStandard
 * FnOff
 * PlotsOn 1 || :turns all other plots off
 * turns off display of grid
 * turns off display of axes
 * sets the standard for the viewing window
 * turns all y functions off
 * turns on only plot 1 ||

L_{1} math || :Defines and stores the list of x coordinates as math L_{1} math || L_{2} math || :Defines and stores the list of y coordinates as math L_{2} math || math L_{1} ,L_{2} math, .) || :plots the x,y coordinates with a line connecting each coordinate and a "." indicating the coordinate || The loop will repeat the inputted command from the lower bound to the upper bound, increasing at the number of increments designated. The following commands for this loop will make the UFO shift vertically from its original position to the center of the screen. By adding one only to the y coordinate the image will shift vertically. || L_{2} +1 -> L_{2} math || :the command for the loop is to take math L_{2} math add one unit to each number in the list and then store it as the new math L_{2} math || The loop will repeat the inputted command from the lower bound to the upper bound, increasing at the number of increments designated.The following commands for this loop will make the UFO shift horizontally to the middle of the screen. By adding one only to the x coordinate the image will shift horizontally. || L_{1} +1->L_{1} math || :the command for the loop is to take math L_{1} math add one unit to each number in the list and then store it as the new math L_{1} math || The loop will repeat the inputted command from the lower bound to the upper bound, increasing at the number of increments designated.The following commands for this loop will make the UFO look like it is growing proportionally. By multiplying the x and y coordinates by a scalar greater than one, the coordinates increase in size. || 1.1L_{1} ->L_{1} math || :the command for this loop is to increase the x-coordinates by a scalar of 1.1 each time and then store the new number as the new math L_{1} math || 1.1L_{2} ->L_{2} math || :the command for this loop is to increase the y-coordinates by a scalar of 1.1 each time and then store the new number as the new math L_{2} math || The loop will repeat the inputted command from the lower bound to the upper bound, increasing at the number of increments designated.The following commands for this loop will make the UFO look like it is shrinking proportionally. By mulitplying the x and y coordinates by a scalar less than one, the coordinates decrease in size. || (10/11)L_{1} -> L_{1} math || :the command for this loop is to decrease the x-coordinates by a scalar of 1.1 each time and then store the new number as the new math L_{1} math || (10/11)L_{2} -> L_{2} math || :the command for this loop is to decrease the x-coordinates by a scalar of 1.1 each time and then store the new number as the new math L_{2} math || The loop will repeat the inputted command from the lower bound to the upper bound, increasing at the number of increments designated.The following commands for this loop will make the UFO move diagonally up and right across the screen until it "flys" off the screen. Each x and y coordinate is increased by one. When both coordinates are simultaneously increased in a continuous sequence the coordinates are shifted in a diagonal direction across the screen. || L_{1}+1->L_{1} math || :the command for the loop will increase each x-coordinate by one unit then store it as the new math L_{1} math || L_{2}+1->L_{2} math || :the command for the loop will increase each y-coordinate by one unit then store it as the new math L_{2} math ||
 * :{-6,-5,-4,-3,-2, -3,-4,-5,-6,-7,-8,-9,-10,-9,-8,-7,-6} -> math
 * :{-6,-6,-7,-7,-8, -9,-9,-10,-10,-10,-9,-9,-8,-7,-7,-6,-6} -> math
 * :Plot1(xyLine,
 * :For(X,0,7,1) || :creates a loop with a place holder variable "x", the lower bound "0" the upper bound "7", and increments of the loop to be"1".
 * math
 * :DispGraph || :displays the coordinates and the lines in the new shifted position ||
 * :End || :indicates the end of the commands within the loop ||
 * :For(X,0,5,1) || :creates a loop with a place holder variable "x", the lower bound "0" the upper bound "5", and increments of the loop to be"1".
 * math
 * :DispGraph || :displays the coordinates and the lines in the new shifted position ||
 * :End || :indicates the end of the commands within the loop ||
 * :For(X,0,9,1) || :creates a loop with a place holder variable "x", the lower bound "0" the upper bound "9", and increments of the loop to be "1".
 * math
 * math
 * :DispGraph || :displays the coordinates and the lines in the new shifted position ||
 * :End || :indicates the end of the commands within the loop ||
 * :For(X,0,9,1) || creates a loop with a place holder variable "x", the lower bound "0" the upper bound "9", and increments of the loop to be "1".
 * math
 * math
 * :DispGraph || :displays the coordinates and the lines in the new shifted position ||
 * :End || :indicates the end of the commands within the loop ||
 * :For(X,0,11,1) || :creates a loop with a place holder variable "x", the lower bound "0" the upper bound "11", and increments of the loop to be"1".
 * math
 * math
 * :DispGraph || :displays the coordinates and the lines in the new shifted position ||
 * :End || :indicates the end of the commands within the loop ||

Back to Home