I was successfully using UBUNTU for a while until after a silly mistake I deleted some files. I had the system running together with my Windows but now I cannot reboot in Ubuntu, it gives me an error message and says that some files are missing :(  Is there a way I can uninstall Ubuntu from within Windows?    Or can I just install the same version of UBUNTU? would the two systems not collide?
I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.
Where to find my Favorites in Google Chrome? Why don't self-closing script elements work? Why does the direction of a dipole moment go from negative to positive charge? An  is defined as $p = q\times d$ (for two point charges $\pm q$ separated by a distance $d$).    What is the physical meaning of this quantity?  Why does the direction of the electric dipole moment go from the negative charge to the positive charge? Another way of saying this, why electric dipole moment is a vector quantity? Friend can't join world This is a canonical question   How do I jailbreak an iPhone or iPad (to install a package manager like Cydia or Sileo for tweaks) on:   iOS/iPadOS 13 iOS 12 iOS 11 iOS 10 iOS 9 iOS 8 Are human chromosomes connected or separate molecules? A fly in an accelerating car A fly is flying around in a car, the fly never touches any surface in the car only fly’s around in the air inside the car. The car accelerates. does the fly slam in to the rear window. or does the fly continue to fly uninterrupted? How do I install an R package from source? VMware won't work after Ubuntu Upgrade I upgraded to Ubuntu 15.10 and now if I want to open VMware Player it doesn't do anything. I also uninstalled and installed it again, still nothing.  What can I do? Nilpotent matrix and basis for $F^n$ How do I get a really wide tilde?  I need to cover at least  abcdefghijklmnopqrstuvwxyz  The \widetilde command does not work. Nor using \stackrel with \sim. In electromagnetism, why does nature prefer the right-hand rule over the left-hand rule? At school I learnt the  to remember the resulting direction of different phenomena, such as geometrical cross products, mechanical torque, or the direction a screw will move when turning it. This directions are however decided by humans, and we could have easily defined the directions in the opposite way.  However the right hand rule also predicts phenomena which is not arbitrarily set by humans, but is intrinsic to the nature. If you have a coil in which you put some current, and the nature creates a magnetic field in a direction perpendicular to it, the direction depends on the right hand rule.  My question is, why this direction and not the opposite? Nature tends to be symmetric and not have apparent preferences for two equal options, so in a so why is one direction preferred over the other one? Why doesn't a "left hand" rule apply? When considering the Doppler shift, the 'canonical equation' is  $$f=\frac{c+vr}{c+vs}f_0$$  However, this equation seems to run into trouble in the following situation: A light source inside water is moving at a speed $v$ towards a receiver outside the water. Can we modify the above equation to deal with a transition between two media? Or is there a completely different formula that applies here? Divergence as transpose of gradient? In his online lectures on Computational Science, Prof. Gilbert Strang often interprets divergence as the "transpose" of the gradient, for example  (at 32:30), however he does not explain the reason.  How is it that the divergence can be interpreted as the transpose of the gradient? I tried running Android 4.1.1 in VirtualBox, but it was too slow and sluggish to do anything. I came across Windroy which runs Android as a Windows app, but it won't run Google Play.  I want to run this on my laptop.  Any help would be greatly appreciated. Proving this relation is transitive Let $r$ be a relation on $A \times A$ such that $(a,b) r (c,d) \iff ad = bc.$ How can I show that this relation is transitive, ie. $(a, b)r(c,d)$ and $(c,d)r(e, f) \implies (a,b)r(e,f)$?  I tried to say that $(a,b) r (c,d)$ means that $c=ka$ and $d=kb,$ $k$ a coefficient, such that $ad = bc \iff akb = bka,$ and going on from there, but I'm not sure this is valid for all values of $a, b, c,$ and $d$. How can I show the transitivity of the relation? What is the most elegant way to solve this:   open a file for reading, but only if it is not already opened for writing open a file for writing, but only if it is not already opened for reading or writing   The built-in functions work like this  &gt;&gt;&gt; path = r"c:\scr.txt" &gt;&gt;&gt; file1 = open(path, "w") &gt;&gt;&gt; print file1 &lt;open file 'c:\scr.txt', mode 'w' at 0x019F88D8&gt; &gt;&gt;&gt; file2 = open(path, "w") &gt;&gt;&gt; print file2 &lt;open file 'c:\scr.txt', mode 'w' at 0x02332188&gt; &gt;&gt;&gt; file1.write("111") &gt;&gt;&gt; file2.write("222") &gt;&gt;&gt; file1.close()   scr.txt now contains '111'.  &gt;&gt;&gt; file2.close()   scr.txt was overwritten and now contains '222' (on Windows, Python 2.4).  The solution should work inside the same process (like in the example above) as well as when another process has opened the file. It is preferred, if a crashing program will not keep the lock open. How To Reduce Noise In Cycles Render So this is my first try with cycles and I was wondering what can I do to make the image clearer? ASP.NET Call Code Behind Function From Javascript Related (but not the same):         Earlier today I asked a question about aligning equations in an enumerate environment and got an answer that seemed to work for the example I gave, but it turns out I wasn't really specific enough for my problem.  I'm using align* environments, often as the only part of a list item. (If you're wondering why I'm not using more words to introduce the align*, these are mostly homework solutions where most of the work is algebra, etc.)  Here's my code and what it makes (above the middle line):  \begin{enumerate}   \item \begin{align*}     x^2 + y^2 &amp;= x^2 + (iy)^2 \\               &amp;= (x + iy) (x - iy)   \end{align*}   \item \begin{align*}     \frac{1}{n^2-4} &amp;= \frac14 \frac{4}{(n-2)(n+2)} \\                     &amp;= \frac14 \left( \frac{1}{n-2}-\frac{1}{n+2} \right)   \end{align*} \end{enumerate}     I'm trying to make the baseline of the first line of the align* environment the same as the number's baseline—I want the first line of the align* to have the same vertical position (centered horizontally in the same way) relative to its number as in the second half of my picture. (Side question: why is there so much space before the align* starts?)