similar to: Newton's method for finding roots

Displaying 20 results from an estimated 500 matches similar to: "Newton's method for finding roots"

2009 May 12
2
newtons method
Hi, Does anyone know how to code newton's method for finding the roots of polynomial functions? im not sure whether i need to do this manually, or just code something with a loop to stop when it gets to the desired result thanks guys! _________________________________________________________________ Looking to move somewhere new this winter? Let ninemsn property help [[elided Hotmail
2009 May 12
2
newtons method
Hi, Does anyone know how to code newton's method for finding the roots of polynomial functions? im not sure whether i need to do this manually, or just code something with a loop to stop when it gets to the desired result thanks guys! _________________________________________________________________ Looking to move somewhere new this winter? Let ninemsn property help [[elided Hotmail
2009 May 19
1
fitting distribution
Hey Guys, i have the sample variances for 1000 samples, and i want to fit it to a chi-squared distribution. after making a loop for the simulation initially, i have the following code to compute the variances samples = replicate(n, rnorm(m, 0, 1), simplify=FALSE) variances = sapply(samples, var) summary(variances) can someone please help me fit this to a chi-squared distribution with n degrees
2009 May 13
11
Simulation
Dear R users, Can anyone please tell me how to generate a large number of samples in R, given certain distribution and size. For example, if I want to generate 1000 samples of size n=100, with a N(0,1) distribution, how should I proceed? (Since I dont want to do "rnorm(100,0,1)" in R for 1000 times) Thanks for help Debbie
2009 May 16
1
Gamma function
Hi Guy, I am having trouble graphing the following function √2Γ(n/2)/[√n − 1Γ((n − 1)/2 for the values of n between 2 and 50. i know that Γ(n) = (n-1)!, which in R is factorial(n-1) When i type that into R, using y <- function(n)..... and then plot(y,2,50), it doesnt give me anything meaningful, in fact, it comes up with a message saying something like "in gamma(n+1) ploted" or
2009 May 16
1
Gamma
Hey, I am having trouble graphing the following function √2Γ(n/2)/[√n − 1Γ((n − 1)/2 for the values of n between 2 and 50. i know that Γ(n) = (n-1)!, which in R is factorial(n-1) When i type that into R, using y <- function(n)..... and then plot(y,2,50), it doesnt give me anything meaningful, in fact, it comes up with a message saying something like "in gamma(n+1) ploted" or
2009 May 20
2
evaluate polynomial
Hey guys, sorry im drawing a mental blank. i have coded the function: y <- function(x) 6*x^4-(1*x^2)^3 How do i evaluate this function for a given x? i know this is a ridiculous question, but thanks anyway _________________________________________________________________ [[elided Hotmail spam]] [[elided Hotmail spam]] =Domain_tagline&_m=EXT [[alternative HTML version
2009 Oct 01
2
matrix exponential
Hi Guys, Im trying to find the exponential of a matrix. Can someone please help me do this? Thanks a lot _________________________________________________________________ View photos of singles in your area Click Here =1&lage=18&uage=55&cl=14&sl=0&dist=50&po=1&do=2&trackingid=1046138&r2s=1&_t=773166090&_r=WLM_EndText
2009 May 12
2
(no subject)
Hi, I have a question about derivatives of functions. if i have the following function, f <- function(x) x^3-2*x^2+3*x-5 i need a simple function for the derivative of this with respect to 'x', so that i can then sub in values to the the derivative function, and use Newtons method of finding a root for this. Please help. Regards, Kon Knafelman
2009 May 21
1
Inverse
Hi Guys, i think this is a relatively simple question. I have coded the following polynomial function y= function(x) x^3-2*x^2+1 I need to find the inverse of this, but the code i am using now isnt returning what i want it to. What is the general code for finding an inverse function? Thanks guys _________________________________________________________________ View photos of singles in
2009 May 14
1
Finding root using Newton's method
I want generate R code to determine the real root of the polynomial x^3-2*x^2+3*x-5. Using an initial guess of 1 with Newton's method. Help please... -- View this message in context: http://www.nabble.com/Finding-root-using-Newton%27s-method-tp23534519p23534519.html Sent from the R help mailing list archive at Nabble.com.
2010 Feb 17
4
Unrecognized prilocaldialplan NPI modifier
Only a warning, and doesn't seem to do anything bad. But I can't seem to figure out what these warnings mean? -- Requested transfer capability: 0x00 - SPEECH [Feb 17 12:33:03] WARNING[10750]: chan_dahdi.c:3096 dahdi_call: Unrecognized prilocaldialplan NPI modifier: k [Feb 17 12:33:03] WARNING[10750]: chan_dahdi.c:3096 dahdi_call: Unrecognized prilocaldialplan NPI modifier: o [Feb 17
2007 Apr 29
2
Early audio(progress) and MOH
Hi, Is it possible to have MOH in early audio, while waiting for someone to pick up a Dial() call? (When using zap channels, I have early audio working with playback) H?kon Nessj?en Loopback Systems AS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070429/c901ff90/attachment.htm
2010 Mar 09
1
app_queue problem with Ringing state
Hi, This is the output from queue show 28: 47 (DAHDI/g0/12345678) (realtime) (Ringing) has taken no calls yet Why is the devicestate "Ringing" when no channels is calling this number, and the queue says "has taken no calls yet"? Is it picking up the general state of a random channel on g0 in dahdi? Or what is happening? It only seems to happen with this particular
2010 Jan 27
2
CDR problems with Queue
Hi, I'm having problems with CDR's and Queues in Asterisk 1.6.1. Heres three examples: Normal call: User A calls in to asterisk, gets a PlayFile, and hangs up. This gives 1 CDR as expected. Call to a Queue and then a playfile afterwards: User A calls into asterisk, goes into a queue, asterisk calls user B. When user B hangs up a CDR for User A is generated. (no CDR for user B)
2007 Oct 19
4
[PATCH] nr_cpus calculation problem due to incorrect sockets_per_node
Testing on an 8-node 128-way NUMA machine has exposed a problem with Xen''s nr_cpus calculation. In this case, since Xen cuts off recognized CPUs at 32, the machine appears to have 16 CPUs on the first and second nodes and none on the remaining nodes. Given this asymmetry, the calculation of sockets_per_node (which is later used to calculate nr_cpus) is incorrect:
2017 Feb 12
4
Replacement for antispam plugin
Den 12. feb. 2017 21:44, skrev ebroch at whitehorsetc.com: > > > Any opinion on dspam's interoperability with this? > > Just follow the wiki and replace sa-learn scripts with calling dspam. Dspam direct pipe needs mail-line-endings (\r\n) translated into unix line-endings (\r). like so: ----- learn-spam.sh --------- #!/bin/sh sed -e 's/\r$//' | /usr/bin/dspam
2010 Mar 05
1
Observation about DAHDI, FAX and Echo cancellation
Hi, I have read that DAHDI automagically turns of echo cansellation when it sees that it is a FAX. So I checked this out. I have a fax call into asterisk which is immediately called out to an external fax machine via DAHDI again.. For example, the result is: DAHDI/1-1 = incoming call, DAHDI/2-1 outgoing call. Now, with the help of dahdi show channel, if I check channel 2: echo cancellation is
2008 Nov 20
1
Load balancing Asterisk.
Hello! We're looking for a solution to reliably load balance our Asterisk boxes. So far we've been using a hodge-podge of directing different services to different boxes/IPs, but eventually I'd like to consolidate things so we can present a single IP address to the outside world. My question is - how do we go about doing that? I've read a lot of things like load-balancing via
2013 Oct 31
7
How do I get rid of vfb?
Hi all, I’m running Xen 4.1 on a couple of NetBSD dom0s and NetBSD’s pkgsrc provides both the xl and xm tools for working with Xen 4.1. I understand that xl is the new way of doing things, but I can’t get it to create my guests the way I want and the main symptom of this is that the text console isn’t available. When I create a guest with xl it starts up qemu-dm (which xm doesn’t do) and I get