I can't pass Excel.Application as an object to a method
CS0120: An object reference is required for the nonstatic field, method, or property 'foo'
Find probability using distribution function method Let $(a_n)$ be a sequence of positive terms and suppose that $\sum_\limits{n=0}^{\infty} a_n$ converges. Show that $\sum_\limits{n=0}^{\infty} a_n^2$ converges.   This is in the section on the Comparison Test so that must be what I'm supposed to use.  But I don't see how.  $(a_n)^2$ might be smaller or larger than $a_n$ depending on $a_n$.  And I can't use the Comparison Test with some other series because there's no info here about how fast $\sum a_n$ converges.  Hmm.  Any hints? The indexer into Dictionary throws an exception if the key is missing.  Is there an implementation of IDictionary that instead will return default(T)? I know about the TryGetValue() method, but that's impossible to use with LINQ. Would this efficiently do what I need?: myDict.FirstOrDefault(a =&gt; a.Key == someKeyKalue);  I don't think it will as I think it will iterate the keys instead of using a Hash lookup. Make file in linux readonly Elastic net penalty Find the all possible real solutions of $x^y=y^x$ Find the all possible real solutions of $$x^y=y^x$$ $x,y$ both are real numbers.  My attempt:I observed the following solutions  $x=2,y=4$  $x=4,y=2$  $y=x$  Is there any other possible solutions? Setting NTP on Windows 2008 Domain I never want my PNGs to be interlaced. So I wish I could set a bunch of option defaults in the application so that I am saving time when outputting a lot of images as PNG over the course of a day working in Photoshop.  Does anyone know if this is possible in Photoshop without using Actions OR the Save-for-Web option? What ticket reservation do I need for a Schengen visa? I have a visa appointment this Friday 19 at the Italian Consulate in Philadelphia and I have a question about the flight reservation requirement: According to the Visa requirements "Confirmed flight reservation for a round trip showing complete itinerary."  Does this mean I have to reserve the tickets, pay and print the itinerary?  In this case if my visa gets denied then I will lose the money I paid or can I just show the planned itinerary (written not booked)? in this case the travel agency would not give me the Travel Insurance coverage until I book and pay for the reservation.   I am a US green card holder and applying from North Carolina. Add comment length counter on the mobile site I know that comments have to be at least 15 chars for the system to post it. I noticed that on the mobile site, there is no "x chars to go..." warning.  If I try to post a comment that is too short, it silently fails and still no mention of minimum length at all.  Can the length counter that is present in the full site theme be added to the mobile theme please? MPI Get Processor with Minimum value In Back to the Future, how did Marty get the timing right with the lightning strike? So, in the first movie, presumably the Doc and Marty know exactly when the lightning will strike the clock tower. This is because Marty has the flyer with the picture of the stopped clock on it. In order to power the DeLorean, the Doc cooks up this contraption to conduct the lightning through a hook into the DeLorean. All Marty has to do is be driving at 88 mph and hit the wire at the exact right moment.  Here's the question though - if you recall, the Doc sets a timer and tells Marty to drive back to a pre-designated starting point. When the timer goes off, Marty is supposed to accelerate to 88 mph. My assumption is that the Doc has calculated the maximum acceleration of the DeLorean, and using this value has determined the exact starting point that the car needs to be at in order to hit the lightning at the right time.  Unfortunately, the car stalls. It takes Marty a while, but he's finally able to start it up. Being that he started late though...shouldn't he have missed the lighting? Present perfect for past action with present effect I am looking for a injective cochain map $\psi: C^*\rightarrow D^*$ such that the map $\Psi^i$ from $C^i$ to $D^i$ is injective, but the map $\psi^*$ from  $H^i(C^*)$ to $H^i(D^*)$ is not injective for any $i\geq0$. Why does connecting a battery's positive terminal to the negative terminal of another battery not create a short circuit? How can I change (or remove / reset ) my name on a site in Stack Exchange network? Merging/Joining GeoJSON and JSON? how to change "§" (section symbol) key to write "`" (back quote) I'm using back quote many times but never use the '§' symbol.  I'd like to change the key to always write back quote instead. does anyone know how can I change it programtically? Q1. Find the general solution to the difference equation  $$ a_{n} - 4a_{n-1} + 3a_{n-2} = 6 $$    Q2. Solve the difference equation   $$ a_{n} - a_{n-1} - 2a_{n-2} = 0, a_0 = 2, a_1 = 4 $$    I am completely lost in solving recurrence relation questions. Can anyone guide me in steps to solve the following 2 questions? Prove the inequality $\,\frac{1}{\sqrt{1}+ \sqrt{3}} +\frac{1}{\sqrt{5}+ \sqrt{7} }+\ldots+\frac{1}{\sqrt{9997}+\sqrt{9999}}\gt 24$ Prove the inequality $$\frac{1}{\sqrt{1}+ \sqrt{3}}  +\frac{1}{\sqrt{5}+ \sqrt{7} }+......... +\frac{1}{\sqrt{9997}+\sqrt{9999}} &gt; 24$$   My work:   Rationalizing the denominator gives   $$\frac{\sqrt{3}-1}{2}  +\frac{\sqrt{7}-\sqrt{5}}{2}+......+\frac{\sqrt{9999}-\sqrt{9997}}{2} .$$  Now by taking two as common and separating the positive and negative terms gives  $$\frac{1}{2} [ \{\sqrt{3} +\sqrt{7}+\dots +\sqrt{9999}\} - \{1+\sqrt{5} +\dots+\sqrt{9997}\}].$$  Can we do like this please suggest. Thanks.