From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Dalton Newsgroups: gmane.emacs.help Subject: Re: Emacs Calc - Npr and NCR functions Date: Thu, 21 Jul 2011 21:45:00 +1000 Message-ID: <20110721114500.GD16178@gwsc.vic.edu.au> References: <20110720084729.GA13679@gwsc.vic.edu.au> <87ipqxkys8.fsf@tsdh.uni-koblenz.de> <8A6A663F-52C9-4D8D-AE7A-24294B3D5847@Web.DE> <87bowpx7xu.fsf@eps142.cdf.udc.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1311248726 4377 80.91.229.12 (21 Jul 2011 11:45:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2011 11:45:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 21 13:45:21 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qjrgo-0008Ve-Ao for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 13:45:14 +0200 Original-Received: from localhost ([::1]:50140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjrgn-00066d-RD for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 07:45:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjrgj-000650-EN for help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 07:45:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qjrgi-0003Zv-7S for help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 07:45:09 -0400 Original-Received: from outbound.icp-qv1-irony-out6.iinet.net.au ([203.59.1.109]:46702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjrgh-0003Ut-SZ for help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 07:45:08 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwHADsQKE58qjws/2dsb2JhbABUmF6PDHfEc4VfXwSSboUli0o X-IronPort-AV: E=Sophos;i="4.67,240,1309708800"; d="scan'208";a="253172391" Original-Received: from unknown (HELO localhost) ([124.170.60.44]) by outbound.icp-qv1-irony-out6.iinet.net.au with ESMTP; 21 Jul 2011 19:45:01 +0800 Content-Disposition: inline In-Reply-To: <87bowpx7xu.fsf@eps142.cdf.udc.es> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 203.59.1.109 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81703 Thank you. Is it possible to use these from quick calc? (c-x * q) Thanks very much. Dan On Wed, Jul 20, 2011 at 05:55:57PM +0200, Alberto Luaces wrote: > Peter Dyballa writes: > > > Am 20.07.2011 um 12:54 schrieb Tassilo Horn: > > > >>> Does anyone know how to access the Npr and Ncr functions with Emacs > >>> calc? > >> > >> What are those functions? > > > > Combinatorics, Binomial coefficients, permutations, combinations. Some > > desk or pocket calculators provide such functions. > > > > I think nPr is n!/(n-k)! and nCr is n!/k!(n-k)!... > > > > Try `k c', `H k c' ...