306 Matching Annotations
  1. Apr 2018
    1. The number of distinct arrangements with a man at each end is6!3!3!=20, since we are arranging3M’s and3W’s in the middle 6 positions. Thenumber with a woman at each end is6!5!1!=6.Thus

      amalt awalt

    Annotators

  2. Jan 2018
    1. AlmostnotabsorbingAlmostallabsorbing

      We cannot think of Earth radiation as being radiated into space directly from the surface. Much of the radiation emitted will be absorbed, primarily by water.

      There are regions in the atmosphere which absorb Earth’s radiation. This atmosphere is acting as a body, radiation from this atmosphere layer will be directed downward, as well as upward, and hence the surface will receive not only the net solar radiation, but IR from the atmosphere as well.

    Tags

    Annotators

  3. Dec 2017
  4. Nov 2017
  5. Oct 2017
    1. To avoid implicit conversion, we can use the explicit keyword, which goes right before the Node in the declaration. This makes the compiler give an error if we attempt to perform implicit conversion.

      ?

  6. Jan 2017
  7. inst-fs-iad-prod.inscloudgate.net inst-fs-iad-prod.inscloudgate.net
    1. where the integrand on the left side is the product of the derivative of an outer function and the derivative of the inner function,

      just a pattern to recognize-- so the derivative of the inside function was obviously 4x^3 (to get here) and the derivative of the outer function was obviously cos(x^4+2)

  8. Nov 2016
  9. inst-fs-iad-prod.inscloudgate.net inst-fs-iad-prod.inscloudgate.net
  10. Oct 2016
  11. inst-fs-iad-prod.inscloudgate.net inst-fs-iad-prod.inscloudgate.net
  12. Sep 2016
  13. www.student.cs.uwaterloo.ca www.student.cs.uwaterloo.ca
    1. Taking notes helpsfix information in your long-term memory, keeps you active, and allows you to preserve insightsthat you gain during the course of a lecture

      The same way we preserve insights on hypothesis

    1. An application of a user-defined function substitutes some values forthe corresponding parameters in the definition’s expression

      The application of a function will substitute some values in the place of the corresponding parameters in the function's definition (body) expression.

    2. (6−4)(3 + 2)becomes (∗(−6 4) (+3 2))

      Say that I add open and close brackets around this expression.

      Dr Racket will see this and see that we have one argument (which is also an application) and no defined function... So it will yell @ you

  14. Jul 2016
    1. childNodes[0] - the first child of the <title> element (the text node)

      There are no nested childnodes beneath it, so of course the title element is the only one. So choose the first. If there was an element nested beneath it, then childNodes[1] would be functional.

    1. $("#q").on("typeahead:selected", function(eventObject, suggestion, name)

      The event handler will be invoked with 3 arguments: the jQuery event object, the suggestion object, and the name of the dataset the suggestion belongs to.

  15. developers.google.com developers.google.com
    1.   #map { height: 100%; }

      isn't html and body already declared as having height of 100%?

      Why isnt' that enough?


      ANS :

      "Note that divs usually take their width from their containing element, and empty divs usually have 0 height. For this reason, you must always set a height on the

      <div> explicitly."

      </div>
  16. Jun 2016
    1. A class method can be called from the class itself.

      This makes sense. If you're calling a class method from outside the class, you do the following 1 - Reference the class 2 - Use a dot operator to call the specific method.

    1. Australian dollar—viewed as a proxy for China's growth—spiked as much as up 1 percent against the greenback.

      China uses Aussie raw materials.

      Chinese demand for the Aussie Dollar is reflected in growth in the dollar. ↑ AUD = ↑ CHINA

  17. May 2016
    1. When you design your own classes, you can also include static methods, also called class methods. Class methods are declared with the word static. They can be invoked using the class name, without the need to create instances/objects.

  18. dpcdsb.elearningontario.ca dpcdsb.elearningontario.ca
    1. //Instance Variables private String name = ""; private String sex = ""; private int max_hit_points = 0; private current_hit_points = 0;

      //Constructors Character (String name, String sex, int max_hit_points, int current_hit_points){ this.name = name; this.sex = sex; this.max_hit_points = max_hit_points; this.current_hit_points = current_hit_points; } Character ( ){ this.name = "harvester"; this.sex = "male"; this.max_hit_points = 50; this.current_hit_points = 0; }

      The name, sex, and max_hit_points given to the Character constructor won't override what's in the class by default, will it?

    1. Class - Is the description or the blueprint of an object. Once a class is defined, we can create objects/instances of that class. A class name should be a noun, should begin with an uppercase letter, and each word within the name should also begin with an uppercase letter. Class names may not contain spaces.

      Body of a class - The body of a class starts with an opening brace { and ends with a closing brace }. Member variables are declared after the opening brace, and outside of any methods. Class constructors and methods are coded within the opening brace { and closing brace }. Private variables and methods have a local scope ( visibility ), that extends from the opening brace of the class body to the closing brace. (see Encapsulation)

      Constructor - A constructor is automatically called when an object is created. The constructor is were variables are initialized.

      Getters - Getters or accessor methods are called to determine the value of a variable.

      Setters - A setter or a modifier method is called to change the value of a variable.

      Other Methods - We can include as many methods in the class as we like. Some useful methods are: toString(), equals(), clone(), draw(), etc.

      Client Code - Refers to an application that uses one or more classes. The client can access the methods ot the class, but cannot directly access the data declared private in the class.

    1. The statements below placed in the main() method runs the GUI (Graphical User Interface) from an event dispatching-thread. GUIs should ve invoked from an event-dispatching thread to ensure that each event-handler finishes executing before the next one executes. Thorough coverage of this topic is beyond the scope of this lesson. However, the code shown is needed in every application that implements a Swing GUI.

    2. A Swing timer (an instance of javax.swing.Timer) fires one or more action events after a specified delay. You can use Swing timers to perform a task repeatedly. For example, you might perform animation or update a component that displays progress toward a goal.

      Swing timers are very easy to use. You create the timer, and you specify an action listener to be notified when the timer "goes off". The actionPerformed() method in this listener should contain the code for whatever task you need to be performed. To start the timer, call its start() method. In our example, the actionPerformed() method contains a call to the repaint() method. Basically this is how the paint() method is being called. We don't call paint() directly, we call repaint(), and the Java environment will run the paint() method.

    1. A class can only "implement" an interface. A class only "extends" a class. Likewise, an interface can extend another interface. A class can only extend one other class. A class can implement several interfaces.

      Extends makes it a child, inherit the class' methods and shit. You can override its shit if you want.

      Implements allows you inherit the constants that are declared, and you can define these constants. The way that works is it provides a bunch of empty methods, and you fill in the gaps

    1. 3.1 Post-battle, Regan tries to fight with Goneril over Edmund, but finds herself too sick to really do anything. We find out later that Goneril has poisoned her, and Regan dies offstage.

      Still fighting over Edmund, dies of poision

    2. Regan gets letters from both her father and Goneril about a fight at Goneril's house. To avoid having to take Lear into her own house, she shows up at Gloucester's castle and asks to stay the night.

      There's a fight i'm coming to your house ~ lear

      he's coming over ~Goneril

    1. Stockholder's equity (=Share capital + retained earnings - treasury stock) is the money invested in the company

      So it makes sense that retained earnings is a part of it.

  19. Apr 2016