How to find Bounding Box given 4 Lat/Long and Bearing?
Finding minimum-area-rectangle for given points?
Evaluate $\int \cos(3x) \sin(2x) \, dx$. Evaluate the indefinite integral    \begin{align} \int \cos(3x) \sin(2x) \, dx \end{align}   Please see my work attempt as my answer below. In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely Program Files and Windows. I simply stay away from Windows folder and the “add remove program files” is good enough to handle the program files folder of Windows. Of course there’s a folder named Users where the users (who are not admins) can access only their folders.  Thus there’s a clear picture at some level in my mind of the Windows file system. In Ubuntu, when I reach the location /, there’s a huge list of folders, most of which I have no clue as to what they contain. The /bin folder seems to be the equivalent of the Windows folder in windows. The /usr folder seems like it’s the equivalent of the Users folder in Windows. But even the /home folder looks like it can fit the bill.  Please understand that I do understand, that Ubuntu (Linux) has a different character than that of Windows, i.e., there need not be exact equivalent of Windows functions, in Ubuntu. All I am looking for is a bit more clearer picture of the Ubuntu file system.   This question is a part of a bigger question which I am splitting up to make it more answerable. The original question can be found here: So I had an exam today and one of the questions were: Give an example of a function $f$ which is nowhere continuous but $|f|$ should be continuous at all points. At first I had no idea how to do it then I came up with this, even though I know it's wrong:  $$f(x)= \begin {cases} \ \sqrt{x}&amp;\text{if }x &lt;0\\ \sqrt{-x}\ &amp;\text{if }x &gt; 0\\ \end {cases}$$  Like I said I know it's wrong..but can someone give me an example of this? Thanks. Can the weak force create a bound state? Validate a username and password against Active Directory? How can I validate a username and password against Active Directory? I simply want to check if a username and password are correct. Why are these black dots / spots appearing in my pictures? Proving that orthogonal vectors are linearly independent I am trying to prove that $a_1$, $a_2$, $a_3$ are linearly independent.  I am asked to use vector product and prove that if $c_{1}a_{1} + c_{2}a_{2} + c_{3}a_{3} = 0$ then $c_1 = c_2 = c_3 = 0$  I am completely stuck on where to go with this problem. I would think that linearly independent then the null space of the space can only be equal to $0$. Would this prove it? Solenoid Driving Circuit I'm trying to drive a 12v (14W) solenoid and have problems figuring out the components for the driving circuit.  The solenoid draws about 1.166A and the MCU is being operated at 3.3V.  I've seen many driving circuits and they all look something like this:         &ndash; Schematic created using   My questions:   What datasheet parameters should I look for when designing this circuit? Is the IRF530PBF-ND a suitable MOSFET for driving this solenoid?    Also, how do I calculate R1's value?  I don't want to blindingly copy a circuit that may or may not work, I want to understand it.  Thank you so much in advance! I am about to sell my old desktop PC and I am cautious about some of my sensitive information being available to the purchaser, even after reformatting the hard-drive, using data recovery software.  How can I securely wipe the hard drive so that the data on it cannot be recovered?  Although I specifically want help with my Windows PC, it wouldn't hurt if there were suggestions for Macs as well. How do I create a file of size 10M, format it with ext3 filesystem and then mount it in /media/fuse?  I tried with  mkfs -t ext3 file   then to mount it  mount -t ext3 file /media/fuse   It didn't work because it said that file wasn't a block device. Can anybody help me? I would like to use Zapf's Palatino font for the text in my document, which also includes a lot of maths. And I would like a good font for the maths. This is a snapshot of what I am doing.  \documentclass[10pt,letterpaper]{memoir} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathpple} \usepackage{upgreek} \usepackage{mathpazo} \usepackage{lipsum}  \begin{document}  \chapter{Demo}  Some regular text. \lipsum[1]  Now for some maths.  \begin{displaymath} P_{N-1 + m} = \frac{C}{N-{1} + m} \binom{N_{2} - N_{1}}{m}         \alpha^{m}\beta^{(N_{2} - N_{1}) -m} \end{displaymath}  The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$  \end{document}   To me the text and math fonts seem a good fit but the text does not look like Palatino. Is a bivariate function that is a polynomial function with respect to each variable necessarily a bivariate polynomial? disable comments if array exists This is the code which is registering the function for rewrite_endpoints():   function wpa121567_rewrite_endpoints(){  add_rewrite_endpoint( 'comments', EP_PERMALINK );  add_rewrite_endpoint( 'stats', EP_PERMALINK );  }  add_action( 'init', 'wpa121567_rewrite_endpoints' );   NOTE  I don't know if this matters but I will write it.   I have single-CPT.php which is calling  /inc/post-format/single-CPT.php like this:      &lt;?php while ( have_posts() ) : the_post(); ?&gt;  &lt;?php   get_template_part( 'inc/post-format/single-debate');      ...   This is the code which is checking if array key exists, which is  inside my /inc/post-format/single-cpt.php:   ?php if( array_key_exists( 'comments', $wp_query-&gt;query_vars ) ){  the_field('comments_section');   } elseif( array_key_exists( 'stats', $wp_query-&gt;query_vars ) ) {   the_field('stats_section');   } else { // the request is for the main post  }   ?&gt;   This is my comments.php :       &lt;div id="comments" class="comments-area"&gt; &lt;?php // If CPT and not logged in, display a message: if ( 'debate' == get_post_type() &amp;&amp; ! is_user_logged_in() ) { echo '&lt;p class="must-log-in" style="padding-left:20px; font-size:20px;"&gt;You must be logged in to post a comment.' . '&lt;/p&gt;';  echo do_shortcode("[upme_login]");   } ?&gt;     &lt;?php if ( have_comments() ) : ?&gt;         &lt;h3 class="comments-title"&gt;              &lt;?php                 printf( _n('%d comment', '%d comments', get_comments_number(), 'outbox' ),                     number_format_i18n( get_comments_number() ) );             ?&gt;         &lt;/h3&gt;             &lt;ol class="commentlist"&gt;              &lt;?php                 wp_list_comments( array( 'callback' =&gt; 'outbox_comment' ) );             ?&gt;         &lt;/ol&gt;&lt;!-- .commentlist --&gt;          &lt;?php if ( get_comment_pages_count() &gt; 1 &amp;&amp; get_option( 'page_comments' ) ) : // are there comments to navigate through? If so, show navigation ?&gt;         &lt;nav role="navigation" id="comment-nav-below" class="site-navigation comment-navigation clearfix"&gt;             &lt;div class="nav-previous"&gt;&lt;i class="icon-left-open-1"&gt;&lt;/i&gt;&amp;nbsp;&lt;?php echo get_previous_comments_link( __( 'Older Comments', 'outbox' ) ); ?&gt;&lt;/div&gt;             &lt;div class="nav-next"&gt;&lt;?php echo get_next_comments_link( __( 'Newer Comments', 'outbox' ) ); ?&gt;&amp;nbsp;&lt;i class="icon-right-open-1"&gt;&lt;/i&gt;&lt;/div&gt;         &lt;/nav&gt;&lt;!-- #comment-nav-below .site-navigation .comment-navigation --&gt;         &lt;?php endif; ?&gt;      &lt;?php endif; // have_comments() ?&gt;      &lt;?php         // If comments are closed and there are comments, let's leave a little note, shall we?         if ( ! comments_open() &amp;&amp; '0' != get_comments_number() &amp;&amp; post_type_supports( get_post_type(), 'comments' ) ) :     ?&gt;         &lt;p class="nocomments"&gt;&lt;?php _e( 'Comments are closed.', 'outbox' ); ?&gt;&lt;/p&gt;     &lt;?php endif; ?&gt;     &lt;?php  // Don't output the comment form if CPT and user isn't logged in if ( 'debate' != get_post_type() || is_user_logged_in() ) {  comment_form(); }  ?&gt;  &lt;/div&gt;&lt;!-- #comments .comments-area --&gt; &lt;?php } ?&gt;    This is how the comments template is included  inside my single-CPT.php :  if ( comments_open()  )  comments_template( '', true );   I want to disable comments if if( array_key_exists( 'comments', $wp_query-&gt;query_vars ) ){  How can I do this? Using \vfill between two texts works:  \newpage bla \vfill blabla   but it doesn't work if there is no text before it:  \newpage \vfill blabla   How can this be achieved? On every bootup it's the same:  /dev/sda1: clean, 908443/38690816 files, 44176803/154733312 blocks   Is it some kind of option Ubuntu uses to ensure filesystem consistency or is there something wrong with my HDD? fsck takes up to 30s while booting and so about triples the time needed otherwise.  Full output (partly in German):  Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. fsck von util-linux 2.20.1 /dev/sda1: sauber, 908443/38690816 Dateien, 44176803/154733312 Blöcke udevd[623]: unknown key 'SYSFS{idVendor}' in /lib/udev/rules.d/45-libticables.rules:6  udevd[623]: invalid rule '/lib/udev/rules.d/45-libticables.rules:6'   * Starting mDNS/DNS-SD daemon                                                 [ OK ]  * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated                                                                   [ OK ]  * Starting configure network device security                                  [ OK ]  * Starting bluetooth daemon                                                   [ OK ]  ####* Starting all other stuff What does the '!' really do when it's added to an ex command (:wq! | :w! | :q! )? I understand that it means force to do something.  When doing $ vim -R file I enter in read-only mode, but this works as preventive mode only   -R  Readonly mode.  The 'readonly' option will be set for all the     files being edited.  You can still edit the buffer, but will     be prevented from accidentally overwriting a file.  If you     forgot that you are in View mode and did make some changes,     you can overwrite a file by adding an exclamation mark to     the Ex command, as in ":w!".  The 'readonly' option can be     reset with ":set noro" (see the options chapter, |options|).     Subsequent edits will not be done in readonly mode.  Calling     the executable "view" has the same effect as the -R argument.     The 'updatecount' option will be set to 10000, meaning that     the swap file will not be updated automatically very often.   But what I can't get yet is why it makes the instruction to skip permissions even if the file's owner is root user, besides it also change owner &amp; group. Can anyone explain why a semi-simple finite dimensional Lie algebra $\mathfrak{g}$ has to be perfect ?   The natural way to prove something like that would be to look to the algebra generated by the Lie brackets, which when $\mathfrak{g}$ is not perfect would be expected to be solvable. But it doesn't seem to work. Make the network profile editable on the main Stack Exchange page Currently, the Stack Exchange Network Profile links to all the network accounts and acts as a centralized profile page. Seeing that the ability to edit the profile is available from the profile pages of all *.SE sites, I think the ability to edit profiles should be available on that Network Profile page as well.  It will be consistent with the nature of the centralized profile page and will better the user experience.   EDIT: As the current Network profile, is actually the oldest profile on the Network, providing an edit option on the Network profile which links to the oldest profile edit page, would be one way to implement this. I want to do research but I'm too old for a PHD I really love research. I started a research project in graduate school for my M.A. in English. My research topic is a very viable and interesting topic for a dissertation. I'll be 60 on my next birthday and I know that many Ph.D programs are traditionally geared toward younger students.I was wondering are there any programs that I can continue this research in without facing the issues of ageism in academia? Hi I'm traveling to Uzbekistan and have 12 hours layover in Seoul via Korean Airlines. Do I need a visa to go out of the airport for sightseeing? I'm a Philippine passport holder.