context stringlengths 545 71.9k | questionsrc stringlengths 16 10.2k | question stringlengths 11 563 |
|---|---|---|
overview as the united states ’ industrial economy grew in the late 1800s , conflict between workers and factory owners became increasingly frequent and sometimes led to violence . the homestead strike occurred at the carnegie steel company ’ s homestead steel works in 1892 . the strike culminated in a gun battle betwe... | overview as the united states ’ industrial economy grew in the late 1800s , conflict between workers and factory owners became increasingly frequent and sometimes led to violence . the homestead strike occurred at the carnegie steel company ’ s homestead steel works in 1892 . the strike culminated in a gun battle betwe... | why did the strikers and the pinkertons have guns in the homestead strike ? |
overview as the united states ’ industrial economy grew in the late 1800s , conflict between workers and factory owners became increasingly frequent and sometimes led to violence . the homestead strike occurred at the carnegie steel company ’ s homestead steel works in 1892 . the strike culminated in a gun battle betwe... | the wagner act established federal guidelines for allowing unions to organize and established the national labor relations board ( nlrb ) as a federal agency to enforce the act ’ s pro-labor provisions . in 1947 , however , congress amended the wagner act with the taft-hartley act ( still in effect today ) , which rest... | how has the taft-hartley act survive for all these years ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | let 's now add a method to the tile object that draws a tile face-down on the canvas . we 'll draw a rounded rectangle with a cute khan leaf on top , at the assigned location . tile.prototype.drawfacedown = function ( ) { fill ( 214 , 247 , 202 ) ; strokeweight ( 2 ) ; rect ( this.x , this.y , this.width , this.width ,... | how are the rectangles rounded out ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | also , in this part : // remove from faces array so we do n't re-pick faces.splice ( randomind , 1 ) ; why did you write a `` 1 '' right before the randomind var ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | well , we just need to return a random number from that function , a number that 's either negative or positive . here 's how we can do that , on our selected array from above : selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; and now we have an array of 10 pairs of images , randomly sorted ! step 4 : in ... | selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; so random without parameters defaults to 0-1 ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | well , we just need to return a random number from that function , a number that 's either negative or positive . here 's how we can do that , on our selected array from above : selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; and now we have an array of 10 pairs of images , randomly sorted ! step 4 : in ... | in : // now we need to randomize the array selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; why does it say `` return 0.5 - random ( ) ; '' where does the 0.5 comes from ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | but we 'll leave it like this for now . finally , to test it all works , we can change our for loop to call drawfaceup instead of drawfacedown : for ( var i = 0 ; i & lt ; tiles.length ; i++ ) { tiles [ i ] .drawfaceup ( ) ; } here it is , all together . try restarting it to see how the tiles change each time . | why is floor ( ) ; being used instead of round ( ) ; ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | well , we just need to return a random number from that function , a number that 's either negative or positive . here 's how we can do that , on our selected array from above : selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; and now we have an array of 10 pairs of images , randomly sorted ! step 4 : in ... | on the second box of code , why is selected.pop ( ) placed in as a third parameter into the function ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randoml... | does that mean that the last item in the array is the face parameter ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | a negative number means that the first item should be first , a positive number means that the second item should be first , and a zero will leave the items ' order unchanged . to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort (... | what does random ( ) returns ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | what is the default range ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to do that , we create a for loop that iterates 10 times . in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! | why are we pushing a single element in the same array index twice ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to do that , we create a for loop that iterates 10 times . in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! | does n't an array index holds only one element ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; this would mean we are pushing something 2 times in the same index ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | we can add lots more than 10 images though , to give our game more variety each time its played , because we 'll narrow down the list in the next step . step 2 : we 'll only need 10 images for the faces of our 20 tiles , so then we create a new array that holds 2 copies of 10 randomly selected images from that first ar... | does anyone understand the following comand in step 2 where we are creating the selected array of 2 objects ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | var randomind = floor ( random ( face.length ) ) ; what is floor ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort ( function ( a , b ) { return a-b ; } ) ; // 1,2,4,5,10 okay , so how can we use this to sort an array randomly ? well , we just need to return a random number from that function... | why use return 0.5 - random ( ) ; instead of just return random ( -1 , 1 ) ; ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | we 'll only need 10 images for the faces of our 20 tiles , so then we create a new array that holds 2 copies of 10 randomly selected images from that first array . we randomize the selected images array , so that the pairs of images are no longer next to eachother in an array . in the nested for loop where we create th... | can you put your own images in ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | and what is the difference between .push and .splice ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to do that , we create a for loop that iterates 10 times . in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! | what does .splice even do ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | then we 'll be able to associate both properties ( like location and image ) as well as behavior ( like turning face down or up ) with each of the tiles . to start off , we 'll define the tile constructor function . since we 're not dealing with the images yet , we 'll just pass x and y arguments to it . | would n't it be helpful to show in this lesson that we have to add face as a parameter to the constructor function , before adding the selected.pop ( ) to the nested for loop ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort ( function ( a , b ) { return a-b ; } ) ; // 1,2,4,5,10 okay , so how can we use this to sort an array randomly ? well , we just need to return a random number from that function... | what is return a- b even mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | there are a few techniques , but i 'll show you my favorite . in javascript , every array object has a built-in sort method that will sort the array `` lexicographically '' . that means that it will convert each item to a string , and sort them as if they were words in a dictionary . | would the array.shift ( ) method be an efficient way to limit the number of something that can be called many times - for example , getting rid of bullets that leave the top of the screen in a game of galaga ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | what does `` floor '' do ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | there are a few techniques , but i 'll show you my favorite . in javascript , every array object has a built-in sort method that will sort the array `` lexicographically '' . that means that it will convert each item to a string , and sort them as if they were words in a dictionary . | is there a way or method to insert a item in an array at a specified place ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | well , we just need to return a random number from that function , a number that 's either negative or positive . here 's how we can do that , on our selected array from above : selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; and now we have an array of 10 pairs of images , randomly sorted ! step 4 : in ... | selected.sort ( function ( ) { return 0.5 - random ( ) ; } ) ; what does the 0.5 symbolize in this function ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | what does the .push mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randoml... | how can we avoid double assigning an image by removing the last element of the array `` selected '' ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | in the nested for loop where we create the tiles , we 'll assign an image from that array to each tile . those steps may not make sense yet - let 's do them each and see what they look like . step 1 : we create an array of the possible images , using the getimage function to pick ones from our library : var faces = [ g... | how do you make avatar imiges ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | what does the second parameter in faces.splice ( randomind , 1 ) ; mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort ( function ( a , b ) { return a-b ; } ) ; // 1,2,4,5,10 okay , so how can we use this to sort an array randomly ? well , we just need to return a random number from that function... | how does `` return '' work exactly ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | tile.prototype.drawfacedown = function ( ) { fill ( 214 , 247 , 202 ) ; strokeweight ( 2 ) ; rect ( this.x , this.y , this.width , this.width , 10 ) ; image ( getimage ( `` avatars/leaf-green '' ) , this.x , this.y , this.width , this.width ) ; } ; and now we can check how our tiles look . let 's add a new for loop tha... | how does the tiles.push work ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to do that , we create a for loop that iterates 10 times . in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! | what is a 'splice ' method ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort ( function ( a , b ) { return a-b ; } ) ; // 1,2,4,5,10 okay , so how can we use this to sort an array randomly ? well , we just need to return a random number from that function... | what is the function of the return -0.5 statement ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that method removes the last element from the array and returns it , and is the easiest way to make sure we assign all the images but do n't double assign them . for ( var i = 0 ; i & lt ; num_cols ; i++ ) { for ( var j = 0 ; j & lt ; num_rows ; j++ ) { tiles.push ( new tile ( i * 78 + 10 , j * 78 + 40 , selected.pop (... | so how can we have tiles.push ( new tile ( i * 78 + 10 , j * 78 + 40 , selected.pop ( ) ) ) ; if that has three parameters in it ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | a negative number means that the first item should be first , a positive number means that the second item should be first , and a zero will leave the items ' order unchanged . to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort (... | what values are passed into a and b ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | try tweaking the different numbers in the nested for loop to see how it changes the grid or changing how they 're drawn ( different logo , perhaps ? ) face-up tiles now that we 've got a grid of face-down tiles , let 's tackle a bit of a trickier problem : assigning each of them an image , such that there 's 2 of every... | can we access the image library to select any image we want for our projects ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | what does floor ( ) ; mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | when the splice is done faces.splice ( randomind , 1 ) does n't that mean starting at the random integer we just used we 'd delete the next item after that from the array ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | we start off by initializing an empty tiles array : var tiles = [ ] ; our outer loop iterates for as many columns as we want , our inner loop iterates for each of the rows , and each new tile is initialized with an x and y that corresponds to that row and column . var num_cols = 5 ; var num_rows = 4 ; for ( var i = 0 ;... | so how does this : var num_cols = 5 ; var num_rows = 4 ; for ( var i = 0 ; i < num_cols ; i++ ) { for ( var j = 0 ; j < num_rows ; j++ ) { tiles.push ( new tile ( i * 78 + 10 , j * 78 + 40 ) ) ; } } make an array ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randomly pick one from the array of faces var randomind = floor ( random ( faces.length ) ) ; var face = faces [ randomind ] ; // push 2 copies onto array selected.push ( face ) ; selected.push ( face ) ; // remove from f... | what are the randomind and 1 mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | those steps may not make sense yet - let 's do them each and see what they look like . step 1 : we create an array of the possible images , using the getimage function to pick ones from our library : var faces = [ getimage ( `` avatars/leafers-seed '' ) , getimage ( `` avatars/leafers-seedling '' ) , getimage ( `` avat... | what avatars can we use for images in our programs ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | sometimes , in programming , it 's hard to know what to do first , aye ? let 's now add a method to the tile object that draws a tile face-down on the canvas . we 'll draw a rounded rectangle with a cute khan leaf on top , at the assigned location . | in the tile ( ) ; constructer function , could n't you add another boolean to say for example face and set it to true when the tile is face up and false when it is face down ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | there are a few techniques , but i 'll show you my favorite . in javascript , every array object has a built-in sort method that will sort the array `` lexicographically '' . that means that it will convert each item to a string , and sort them as if they were words in a dictionary . | can you use the arrays sort method to sort an array by properties of objects in the array ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | there are a few techniques , but i 'll show you my favorite . in javascript , every array object has a built-in sort method that will sort the array `` lexicographically '' . that means that it will convert each item to a string , and sort them as if they were words in a dictionary . | sometimes in javascript , when we are making a game , why do we have to initialize a variable that has an empty array ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | step 1 : we create an array of the possible images , using the getimage function to pick ones from our library : var faces = [ getimage ( `` avatars/leafers-seed '' ) , getimage ( `` avatars/leafers-seedling '' ) , getimage ( `` avatars/leafers-sapling '' ) , getimage ( `` avatars/leafers-tree '' ) , getimage ( `` avat... | what does the splice thing mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | we start off by initializing an empty tiles array : var tiles = [ ] ; our outer loop iterates for as many columns as we want , our inner loop iterates for each of the rows , and each new tile is initialized with an x and y that corresponds to that row and column . var num_cols = 5 ; var num_rows = 4 ; for ( var i = 0 ;... | why is there a sudden switch to all upper case with underscores , like in num_rows and num_cols ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | we randomize the selected images array , so that the pairs of images are no longer next to eachother in an array . in the nested for loop where we create the tiles , we 'll assign an image from that array to each tile . those steps may not make sense yet - let 's do them each and see what they look like . | isnt it more beneficial to avoid the drawing loop , and draw the facedown tiles immediately as they are pushed in the array ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | to sort an array numerically from lowest to highest , we can pass a function that returns a-b . var nums = [ 1 , 5 , 10 , 2 , 4 ] ; nums.sort ( function ( a , b ) { return a-b ; } ) ; // 1,2,4,5,10 okay , so how can we use this to sort an array randomly ? well , we just need to return a random number from that function... | what does the return mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | in each iteration , we randomly pick an index from the faces array , push that twice onto the selected array , and then use the splice method to remove it from the faces array , so that we do n't select it twice . that last step is very important ! var selected = [ ] ; for ( var i = 0 ; i & lt ; 10 ; i++ ) { // randoml... | step 3 what does the code mean ? |
the first step of playing the `` memory '' game is to randomly shuffle all the tiles , and then lay them out in a rectangular grid , face down so that we ca n't see which image is on the other side of each tile . face-down tiles to start off in programming the game , let 's just worry about creating face-down tiles , a... | that method removes the last element from the array and returns it , and is the easiest way to make sure we assign all the images but do n't double assign them . for ( var i = 0 ; i & lt ; num_cols ; i++ ) { for ( var j = 0 ; j & lt ; num_rows ; j++ ) { tiles.push ( new tile ( i * 78 + 10 , j * 78 + 40 , selected.pop (... | 2. line 42 , what 's the meaning of floor in var randomind = floor ( random ( faces.length ) ) ; 3. line 66 , why is it that value of x is a multiple of i ( i*78+10 ) & y a multiple of j ( j*78+40 ) ... .. tiles.push ( new tile ( i * 78 + 10 , j * 78 + 40 , selected.pop ( ) ) ) ; i know what i & j are , i am asking why... |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | we can use guidelines to assign oxidation numbers to atoms in a compound . changes in oxidation state during a reaction tell us that there is a transfer of electrons . reactions that involve the transfer of electrons are called redox reactions , and they include a reduction ( a gain of electrons ) and an oxidation ( a ... | is there not always a transfer of electrons ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | is it possible to have reaction where only oxidation or reduction happens , or does the occurrence of one result in the other ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | $ \text h_2 $ : we can use rule $ 1 $ here . since $ \text h_2 $ is in its elemental state , it has an oxidation number of $ 0 $ . $ \text h_2 \text o $ : rules $ 1 $ and $ 2 $ don ’ t apply to this situation , so we can skip them . | what is the difference between a monatomic ion and an atom in its elemental state ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | what is the use of knowing about oxidation numbers ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | we can use guidelines to assign oxidation numbers to atoms in a compound . changes in oxidation state during a reaction tell us that there is a transfer of electrons . reactions that involve the transfer of electrons are called redox reactions , and they include a reduction ( a gain of electrons ) and an oxidation ( a ... | in the last paragraph , there is a transfer of electrons.is there not always a transfer of electrons ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | guidelines for determining the oxidation number oxidation numbers are usually written with the sign ( $ + $ or $ - $ ) first , then the magnitude , which is the opposite of charges on ions . chemists use the following guidelines to determine oxidation numbers : step $ 1.~ $ atoms in their elemental state have an oxidat... | what are atoms in there elemental state ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | reactions that involve the transfer of electrons are called redox reactions , and they include a reduction ( a gain of electrons ) and an oxidation ( a loss of electrons ) . the substance that is reduced is called the oxidizing agent , and the substance that is oxidized is called the reducing agent . | why the substance that is reduced is called the oxidizing agent ( and reducing agent for oxidized substance ) ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | what is the oxidation number of f and o in f2o ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | in the above example , we can see that the oxidation state of the hydrogen is different in $ \text h_2 $ compared to $ \text { h } _2 \text o $ . if we compare the oxidation states , a chemist might say that hydrogen in water has fewer electrons compared to elemental hydrogen . here is the reaction to make water from h... | how is hydrogen bonding like in in case of the equation for water , related to ionic bonding with reference to redox reaction ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | guidelines for determining the oxidation number oxidation numbers are usually written with the sign ( $ + $ or $ - $ ) first , then the magnitude , which is the opposite of charges on ions . chemists use the following guidelines to determine oxidation numbers : step $ 1.~ $ atoms in their elemental state have an oxidat... | in regards to the rules to determine the oxidation number of a compound , can anyone explain in detail number ( four ) ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | in the above example , we can see that the oxidation state of the hydrogen is different in $ \text h_2 $ compared to $ \text { h } _2 \text o $ . if we compare the oxidation states , a chemist might say that hydrogen in water has fewer electrons compared to elemental hydrogen . here is the reaction to make water from h... | when we say that the h2 looses electrons when it bonds with o2 to form water , does that mean that the electron is just shared with the o2 or is it actually disappearing ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | $ \text h_2 $ : we can use rule $ 1 $ here . since $ \text h_2 $ is in its elemental state , it has an oxidation number of $ 0 $ . $ \text h_2 \text o $ : rules $ 1 $ and $ 2 $ don ’ t apply to this situation , so we can skip them . | also , they state that o2 has a oxidation state of 0 , but should n't that be -2 , since it has 2 extra electrons ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . | why ca n't we just use the charge on a molecule/ion to determine the flow of electrons ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | guidelines for determining the oxidation number oxidation numbers are usually written with the sign ( $ + $ or $ - $ ) first , then the magnitude , which is the opposite of charges on ions . chemists use the following guidelines to determine oxidation numbers : step $ 1.~ $ atoms in their elemental state have an oxidat... | just for consistency , is obtaining the oxidation number a guideline , a rule or a step ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | if we assign a $ -1 $ oxidation number to hydrogen because we think it might be a hydride , we get for the sum of oxidation numbers : $ \text { ( oxidation # of o } \times\text { # of o atoms ) } + \text { ( oxidation # of h } \times\text { # of h atoms ) } = ( -2 \times 1 ) + ( -1 \times 2 ) =-4 $ that does n't look r... | when o2 is by itself it 's -0 , but when k is by itself , it 's +1 ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . let 's make sense of oxidation... | are n't molecules like h2o covalent compounds ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | changes in oxidation state during a reaction tell us that there is a transfer of electrons . reactions that involve the transfer of electrons are called redox reactions , and they include a reduction ( a gain of electrons ) and an oxidation ( a loss of electrons ) . the substance that is reduced is called the oxidizing... | they are formed by sharing of electrons right ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | the loss of electrons is evident from the oxidation number changing from $ 0 $ to $ +1 $ : since the hydrogen atom lost an electron ( which has a negative charge ) , the oxidation number increased . reduction is the gain of one or more electrons by an atom . when the oxidation number of an element decreases , that mean... | then how can atoms in these molecules lose or gain electrons ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | oxidation number of a complex ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | thus , using rules $ 3 $ and $ 4 $ we can assign the hydrogen in $ \text h_2 \text o $ an oxidation state of $ +1 $ . concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidatio... | what is the oxidation state of chromium in cr5 ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | after all , they are practically imaginary ! chemists are usually interested in keeping track of electrons because we want to know when electrons get transferred from one atom to another . in the above example , we can see that the oxidation state of the hydrogen is different in $ \text h_2 $ compared to $ \text { h } ... | why do chemists want to know when electrons get transferred ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | thus , using rules $ 3 $ and $ 4 $ we can assign the hydrogen in $ \text h_2 \text o $ an oxidation state of $ +1 $ . concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidatio... | according to the concept check , how did we find the net charge for sulfate ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | can we consider elements that are uncombined an oxidation # of 0 or do we only allow diatomics such as h2 and o2 to have an oxidation # 0 ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | what exactly is oxidation number ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | we are n't going to go into more detail about redox reactions in this article , but keep in mind being comfortable with oxidation numbers will come in handy ! summary oxidation numbers are used by chemists to keep track of electrons within a compound . we can use guidelines to assign oxidation numbers to atoms in a com... | is it number of electrons in the atoms of a compound ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | to find the oxidation number we assume the bond to be ionic , hypothetically ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | we can use guidelines to assign oxidation numbers to atoms in a compound . changes in oxidation state during a reaction tell us that there is a transfer of electrons . reactions that involve the transfer of electrons are called redox reactions , and they include a reduction ( a gain of electrons ) and an oxidation ( a ... | now why is there no transfer of electrons ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | after all , they are practically imaginary ! chemists are usually interested in keeping track of electrons because we want to know when electrons get transferred from one atom to another . in the above example , we can see that the oxidation state of the hydrogen is different in $ \text h_2 $ compared to $ \text { h } ... | is it because electrons can only be transferred if one element is more electronegative or more electropositive ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | how to find the oxidation number of carbon in [ fe ( co ) 5 ] ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . | we are just assuming that electrons get transferred from atom of one element to other the actually do n't get transferred completely ( there is attaraction towards more electronegative atom ) even then oxidation numbers change completely and not partially , then how can chemists get good idea of electron transfer ( the... |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | the loss of electrons is evident from the oxidation number changing from $ 0 $ to $ +1 $ : since the hydrogen atom lost an electron ( which has a negative charge ) , the oxidation number increased . reduction is the gain of one or more electrons by an atom . when the oxidation number of an element decreases , that mean... | why did chemists choose the name `` reduction '' when in reality that the atom being reduced is actually `` gaining '' an electron ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | $ \text h_2 $ : we can use rule $ 1 $ here . since $ \text h_2 $ is in its elemental state , it has an oxidation number of $ 0 $ . $ \text h_2 \text o $ : rules $ 1 $ and $ 2 $ don ’ t apply to this situation , so we can skip them . | is the `` elemental state '' just when a molecule is not a compound ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | is there a way to figure out oxidation numbers of elements in compounds that do n't have oxigen , hydrogen or flourine ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | step $ 2.~ $ atoms in monatomic ( i.e . single atom ) ions have an oxidation number equal to their charge . step $ 3.~ $ in compounds : fluorine is assigned a $ −1 $ oxidation number ; oxygen is usually assigned a $ −2 $ oxidation number ( except in peroxide compounds where it is $ −1 $ , and in binary compounds with f... | what would be the oxidation number on an individual i ( iodine ) atom written as such : i3 - ( indicating there are 3 iodine atoms connected to one another and their overall charge is -1 ) ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | for more examples , see this video on oxidation and reduction , and this video on oxidizing and reducing agents . oxidation numbers and redox reactions chemical reactions that involve the transfer of electrons are called oxidation-reduction or redox reactions . oxidation state changes are a sign that an electron transf... | are all reactions oxidation and reduction ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | if instead we use the oxidation number $ +1 $ for hydrogen , we get for the sum : $ ( -2 \times 1 ) + ( +1 \times 2 ) = 0 $ , which is what we would expect for a neutral molecule . thus , using rules $ 3 $ and $ 4 $ we can assign the hydrogen in $ \text h_2 \text o $ an oxidation state of $ +1 $ . concept check : what ... | so , carbon does not appear to apply to these rules , why would co2 have an oxidation number of +4 ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | what is oxidation number of carbon in c3o2 ( carbon suboxide ) and also the oxidation number of sulphur in na2s4o6 ? |
what are oxidation numbers ? chemists use oxidation numbers ( or oxidation states ) to keep track of how many electrons an atom has . oxidation numbers don ’ t always correspond to real charges on molecules , and we can calculate oxidation numbers for atoms that are involved in covalent ( as well as ionic ) bonding . l... | concept check : what is the oxidation state of sulfur in the sulfate ion , $ \text { so } _4^ { 2- } $ ? using oxidation numbers : oxidation and reduction now we can follow instructions to find oxidation numbers . that ’ s cool , but why do oxidation states matter ? | how can i find the oxidation number using the periodic table ? |
introduction '' solving a circuit '' means solving a system of simultaneous equations . how do we know the number of equations required to solve a circuit ? how do we know we can create them ? as you study circuit analysis , it may seem like luck or coincidence that you get the right number of equations to solve . this... | this is the basis of the mesh current method . another valid set of loops from our example circuit would be loops $ \greend { \text { iv } } $ , $ \blued { \text v } $ , and $ \maroonc { \text { vi } } $ . why might this be a good set ? | why are iv , v , and vi a valid set in the last example ? |
introduction '' solving a circuit '' means solving a system of simultaneous equations . how do we know the number of equations required to solve a circuit ? how do we know we can create them ? as you study circuit analysis , it may seem like luck or coincidence that you get the right number of equations to solve . this... | there are $ 3 $ equations , as required by $ e- ( n-1 ) = 3 $ . every element is included in a loop . some loop sets do not meet the guidelines : can you tell why ? | iv and v already contain every element , so vi does n't have any element that is n't in another loop , which was stated to be a requirement ? |
introduction '' solving a circuit '' means solving a system of simultaneous equations . how do we know the number of equations required to solve a circuit ? how do we know we can create them ? as you study circuit analysis , it may seem like luck or coincidence that you get the right number of equations to solve . this... | how many unknowns does a circuit have ? every two-terminal element contributes an unknown voltage and unknown current . so $ e $ elements contribute $ 2e $ unknowns . | does a voltage source has resistance in it ? |
introduction '' solving a circuit '' means solving a system of simultaneous equations . how do we know the number of equations required to solve a circuit ? how do we know we can create them ? as you study circuit analysis , it may seem like luck or coincidence that you get the right number of equations to solve . this... | but all $ n $ kcl equations are not independent . one equation is redundant . it is always possible to derived any one of the kcl equations from all the others . | if no , then why do we need an equation even for the voltage source in the example ( the one with 140 volts ) ? |
introduction '' solving a circuit '' means solving a system of simultaneous equations . how do we know the number of equations required to solve a circuit ? how do we know we can create them ? as you study circuit analysis , it may seem like luck or coincidence that you get the right number of equations to solve . this... | but all $ n $ kcl equations are not independent . one equation is redundant . it is always possible to derived any one of the kcl equations from all the others . | what 's the difference with a just equation ? |
introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current met... | since there is no way to redraw the circuit to avoid a crossing wire , the circuit on the right is non-planar . when faced with a non-planar circuit , we must use the loop current method ( described below ) . another special case : current source shared by two meshes a second special case comes up when you have a curre... | could we still use kvl and kcl for a circuit with motors in it , in addition the resistors ? |
introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current met... | assign a current variable to each mesh or loop , using a consistent direction ( clockwise or counterclockwise ) . write kirchhoff 's voltage law equations around each mesh and loop . solve the resulting system of equations for all mesh and loop currents . | and how would we know whether to add or subtract its voltage ? |
introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current met... | the steps in the loop current method are otherwise the same as the mesh current method . special case : non-planar circuit the mesh current method defines equations based on meshes . this works for circuits that are planar . | in that case , would the method of analysis have to be different ? |
introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current met... | in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current method , is based on kirchhoff 's voltage law ( kvl ) . what we 're building to the two special cases are a non-planar circuit ( one that ca n't be drawn without cros... | may i know how to determine the voltage of the current source in order to write kvl equation for mesh i ? |
introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current met... | to analyze circuits like this , you include equations for some non-mesh loops . make sure every loop includes a circuit element that is not part of any other loop . the steps in the loop current method are otherwise the same as the mesh current method . | when we consider a loop like a single loop , do we take it that the loop current is the same across all elements in the loop , i.e its as if that loop is a mini series circuit ? |
introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . in this article we describe the special cases and show how to deal with them using the loop method . the loop current method , just like the mesh current met... | introduction the loop current method is a small variation on the mesh current method . it accounts for two special cases that are bothersome for the mesh method . | the field produced by a varying magnetic field ? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.