A torus (a doughnut-shaped object) is formed by revolving the circle    $$x^2 + y^2 = a^2$$   about the vertical line $x = b$, where $0 &lt; a &lt; b$. Find its volume.   I have tried to create an integral that makes sense but I keep getting it wrong. We are learning shell method and disk method if that helps. I'm just stuck at where I should even start with this problem. Any help would be appreciated!
I am stuck on the following question:     Find the volume of the torus obtained by rotating the circle $(x-a)^2+y^2=b^2$, where $a&gt;b$, around the y-axis.
Confusion between Voltage gain & Voltage gain in decibels (dB) The definition of voltage gain is \$V_{\text{out}}/V_{\text{in}}\$.  However, I read some articles about the gain in decibels, and I have a confusion now.  Here is an article about it:   Here, I understand the definition of Power gain in decibels, which is $$ \text{Gain} = 10 \log \left( {P_{\text{out}} \over P_{\text{in}}} \right)\text{ dB} $$  However, I can't understand why Voltage gain in decibels is $$ 20 \log \left( {V_{\text{out}} \over V_{\text{in}}} \right)\text{ dB} $$  If \$ 20 \log \left( {V_{\text{out}} \over V_{\text{in}}} \right)\text{ dB} \$ is derived from $$ 10 \log {\left( {V_{\text{out}}^2 \over R_{\text{out}}}\right) \over \left({V_{\text{in}}^2 \over R_{\text{in}}}\right) }\text{ dB} $$ then this is the power gain, not the voltage gain, isn't it? However, the Wikipedia says it is a formula for the Voltage gain in decibels. I thought the voltage gain in decibels would be \$ 10 \log \left( {V_{\text{out}} \over V_{\text{in}}} \right)\text{ dB} \$. Actually, the example section in that linked page uses voltage gain \$ V_{\text{out}} \over V_{\text{in}} \$.  Why did \$V^2/R\$ suddenly come out from the voltage gain in decibels? Show Previous/Next Posts navigation only inside the same category Is it possible to force previous/next navigation to browse through the posts (back and forth) that are only inside the same category (and to exclude other categories)? "1 out of 100 chickens is" or "1 out of 100 chickens are"? New global preferences: keyboard shortcuts and sticky topbar Following a global preference for , as of now, the preferences for enabling keyboard shortcuts and disabling the fixed topbar are network-wide* as well.  If you had either checked off on any site in the network, that setting has been preserved and applied to the whole network for your account already. Future changes will also apply to all* Q&amp;A sites.  Find them in their usual spot as previously on the  pages.    * With the exception of , which will support the fixed topbar after the . Fish vs Fishes for plural use Now, I encountered a sentence in a text book, saying     Many fish are specially adapted to live only in certain places.   I know that plural of the word fish can be fish as Merriam says    But wouldn't it someway or somewhat sound unusual or "too unique"?  Is it only to me? Missing argument 2 for wpdb::prepare() Issue Why does my Mac OS X 10.6 kernel run in 32-bit mode? I have a MacBook Pro (5,1) with 4GB of memory running 10A432 - but it's running the 32-bit kernel.  Any ideas why it wouldn't be running in 64-bit mode, and how I can get it to do so? Why are ammeters used in series and voltmeters in parallel? What is a pull up and pull down? Can some one explain this terminology please I think I understand it but not completely sure.   I think pull down is where you place a resistor between +V and the other component and pull up is where you place the resistor between 0v and the component.    If I am completely wrong then let me know! MongoDB could not connect local server I had mongdb installed and evrything was working fine. I wanted to delete the mongodb lock. By mistake the directory /var/lib/mongodb/ got deleted.  So, I uninstalled mongo db and installed again. But now i always keep getting this error:  Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145 exception: connect fail   The error remains same even if I try to login from terminal or rockmongo or my application. I am using ubuntu12.04 and have latest version of mongo. NB: Nvidia has released an official fix; please see ,  and/or .  Upon waking up Ubuntu 16.04 from Suspend, the following graphical glitches appear around all windows, context menus, and similar:      This is currently known to affect the following NVIDIA cards running the proprietary drivers:  NVIDIA GeForce 610M, driver version 375.39, 340.102 NVIDIA GT 630M, driver version 375.39 NVIDIA GTX 650, driver version 375.39 NVIDIA GT 740M, driver version 378.13 NVIDIA GTX 745, unknown driver version NVIDIA GTX 850M, driver version 375.39, 378.13 NVIDIA GT 940M, driver version 375.39 NVIDIA GTX 950M, unknown driver version NVIDIA GTX 960M, driver version 378.13 NVIDIA GTX 970, driver version 375.39 NVIDIA GTX 970M, driver version 375.39 NVIDIA GTX 980 TI, unknown driver version NVIDIA GTX 1060, driver version 375.26, 375.39, 378.09 NVIDIA GTX 1070, driver version 378.09  The above above list has been sourced from reports from other users here on AU,  thread, and  thread. NB: This is be no means an exclusive list. It probably effects nearly all Nvidia cards.  Furthermore, this issue has been replicated on a clean install where the only change was a software update and the installation of the latest NVIDIA drivers.  What is going on, and how can it be resolved? In Ruby on Rails, how do I format a date with the "th" suffix, as in, "Sun Oct 5th"? I want to display dates in the format: short day of week, short month, day of month without leading zero but including "th", "st", "nd", or "rd" suffix.  For example, the day this question was asked would display "Thu Oct 2nd".  I'm using Ruby 1.8.7, and  just doesn't seem to do this.  I'd prefer a standard library if one exists. How to understand "with" in the following sentence? Not every job will end up with a success.   What is the meaning of "with" here? Why not use other preposition?  Could native speakers please describe the scene of this sentence for me? Thx. Ubuntu 20.04 interface font too small after restart, even with high scaling factor So I was configuring VS code on my Notebook when suddenly I noticed that my interface font got really small on my desktop, terminal and files. I use Gnome Tweaks Tool to increase my scaling factor to 1,15 , but, even though it was active, the font stayed tiny. The solution I found was moving my scaling factor, which instantly fixed my font issue, however, every time I restart my Notebook the font gets tiny again and I have to repeat the process. I tried reseting my font configuration using this command, but had no success. gsettings reset org.gnome.desktop.interface text-scaling-factor  I also tried using the command dconf reset -f /  Finally, I tried using dconf-editor, but still had no success altering the font rendering DPI or changing the scaling factor. All of the steps I mentioned fixed my fonts temporarily, but the issue still persists when I restart my Notebook I am out of ideas and even considered getting a fresh Ubuntu install by now... My video card: NVIDIA GeForce GTX 1050 GPU Does iTunes work (well) on Ubuntu? Short story, domed refuges Controlling colors of points in ListPlot How to find python installation directory on Ubuntu I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path in Ubuntu shell?  Is there any way I can let the shell know/choose at runtime which python version is to be used for further code execution?  Are there any environment variables and search path kind of things in Ubuntu Linux as well? What is the maximum value of the Process ID?  Also, is it possible to change a Process ID? What should I do when the GETDEB repository is down?