similar to: Finding root of quadratic equation

Displaying 20 results from an estimated 5000 matches similar to: "Finding root of quadratic equation"

2010 Oct 25
3
Using tapply?
Dear R helpers, I am trying to calculate the Annualized Percent Rate using following R - Code. # ____________________________________________________________________ ## R Code library(animation) # INPUT C = 250000    # Loan Amount E = 2500      # Other Cost R = 6         # Interest rate r = R/1200    # Monthly interest rate q = 12        # No of Compoundings        n = 20        # No of
2012 Oct 14
1
Finding root of quadratic equation
Dear R Helpers, I need to find the root of following equationy=x^2+3*x-1 by substitution a random number from less to more in the certain segment.I had tried using this codef <- function (x) x^2+x-12str(xmin <- uniroot(f, c(2, 4), tol = 0.0001)) but $ f.root : num -7.85e-07not 0, and so I'm not shure it's right code and satisfactory answer. Please guide. sveta -- View this
2010 Jun 18
1
12th Root of a Square (Transition) Matrix
Dear R-tisans, I am trying to calculate the 12th root of a transition (square) matrix, but can't seem to obtain an accurate result. I realize that this post is laced with intimations of quantitative finance, but the question is both R-related and broadly mathematical. That said, I'm happy to post this to R-SIG-Finance if I've erred in posting this to the general list. I've
2012 Jul 26
3
Solving quadratic equation in R
Hi there, I would like to solve a simple equation in R a^2 - a = 8.313 There is no real solution to this problem but I would like to get an approximate numerical solution. Can someone suggest how I can set this up? Thanks in advance, Diviya [[alternative HTML version deleted]]
2005 Nov 05
3
solve the quadratic equation ax^2+bx+c=0
If I have matrics as follows: > a <- c(1,1,0,0) > b <- c(4,4,0,0) > c <- c(3,5,5,6) How can I use R code to solve the equation ax^2+bx+c=0. thanks! yuying shi [[alternative HTML version deleted]]
2014 Nov 10
2
Webinar Gratuíto, Como evitar fraudes em telefonia
A SipPulse acaba de liberar o TFPS (www.tfps.co), solu??o para combate a fraudes de fomento de tr?fego internacional em telefonia. O sistema ? capaz de detectar 99.99% das tentaivas de fraude em tempo real. Durante o Webinar, abordaremos como proteger servidores Asterisk e Elastix/FreePBX de fraudes, medidas basicas como configura??o de firewall e remo??o de servi?os desnecess?rios e em seguida
2013 Nov 26
1
Zabbix + samba4
Hello there, I'd like to know if there are some way to gather statistics from samba4, like quantities of active users and other things that it can offer then use it in zabbix to generate some graphs and triggers. I can do somethings in smbstatus of samba3, but i couldn't find anything like this in samba4. is there anybody here who could do it? Thank's a bunch! -- *Gian Luca
2006 Jun 23
1
Asterisk Users Group - Portugal
Boa tarde, Ap?s alguma experi?ncia com o Asterisk, e com muito ainda para aprender, gostaria de saber se h? algu?m nesta mailing list que pretenda criar um Asterisk Users Group para Portugal. Visto que acaba sempre por ser uma enorme aprendizagem ( valor acrescentado) a partilha de experi?ncias/problemas e solu??es nas implementa??es Asterisk. H? spre detalhes que variam entre os Telco's de
2012 May 08
1
Quota
Hi, On our servers we have configured an enviroment with LDAP + Samba + Quotas. Working properly for windows hosts in wich are configured shared homes. The same works on Linux hosts with only one exception, the homes are shared with NFS. Now because of security issues we have decided to use samba on both enviroments. And so came the problem: The users of the shares were informed of their quota
2006 Mar 29
1
Duplex printer + samba + cups
Gentleman, In one of my slackware servers I put samba acting as a printer server connected to a Hewlett-Packard 2420D (D stands for duplex). In CUPS I'm using the 'raw' driver. So I let the clients to perform the driver stuff. On samba, I followed the procedures described on http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#inst-rpc to make
2014 Jan 13
1
Samba 4.1.4 sernet packages on Ubuntu 12.04.3
Hi all, I installed SerNet samba packages on a Ubuntu 12.04.3 server and provisioned samba with dns-backend=BIND9_DLZ, but when I start bind it throws "samba_dlz: ldb: Unable to find backend for '/var/lib/samba/private/dns/sam.ldb' - do you need to set LDB_MODULES_PATH?" on syslog. I tried to install ldb-tools, but it conflicts with samba: root at dc01:~# aptitude install
2010 Dec 23
5
Writing a single output file
Dear R helpers! Let me first wish all of you "Merry Christmas and Very Happy New year 2011" "Christmas day is a day of Joy and Charity, May God make you rich in both" - Phillips Brooks ## ---------------------------------------------------------------------------------------------------------------------------- I have a process which generates number of outputs. The R code
2006 Aug 14
2
finders et sous-classes
Bonjour, c''est ma premi?re question ici car d''habitude il me suffit de parcourir de tels forum pour trouver r?ponse ? mes questions. Donc cette fois, c''est du s?rieux, je n''ai pas r?ussi ? trouver la moindre ?vocation ? mon probl?me. Je vous explique. J''ai une famille de mod?les : class Attachement < ActiveRecord::Base ... end class Illustration
2012 Jul 09
4
Skipping lines and incomplete rows
I have a text file that has semi-colon separated values. The table is nearly 10,000 by 585. The files looks as follows: ******************************************* First line: Skip this line Second line: skip this line Third line: skip this line variable1 Variable2 Variable3 Variable4 Unit1 Unit2 Unit3 10 0.1 0.01 0.001 20
2006 Nov 04
1
SAMBA with PDC
Good evening, I have a problem with SAMBA domain, I have many pc's with S.O Windows when I try to put then on a samba domain, then don't locate my domain. The OpenSuse Linux 10 show me any lines on the logfile, i'm put these lines below. I'm have OpenSuse Linux 10 + SAMBA 3 with LDAP authentication. Below the SMB.CONF + Slices of a LOG file. Thanks to all !
2004 Oct 06
0
quadratically constrained quadratic programming
Hi, Does anybody have experience to solve an quadratic programming problem with quadratic constraints in R? It seems that the package "quadprog" only handles the quadratic programming with linear constraint. My probelm is to maximze x^T\Sigma_{xy} y, subject to x^Tx=1, y^T\Sigma_{yy} y=1, and sum(y)<t, or sum(y)=t, where x and y are the variable, and the Sigma's and t are
2011 Jan 04
2
RSQLite to input dataframe
Dear r helpers, At first, I apologize for raising a query which seems to be a stupid interpretation on my part. I am trying to learn SQLite. Following is an example given in the RSQLite.zip file (Page # 4) drv <- dbDriver("SQLite") tfile <- tempfile() con <- dbConnect(drv, dbname = tfile) data(USArrests) dbWriteTable(con, "arrests", USArrests) On the similar
2012 Jan 02
2
quadratic programming-maximization instead of minization
Hi, I need to maximize a quadratic function under constraints in R. For minimization I used solve.QP but for maximization it is not useful since the matrix D of the quadratic function should be positive definite hence I cannot simply change the sign. any suggestion ? thanks -- View this message in context:
2012 Apr 17
1
What functions are available for Quadratically Constrained Quadratic Programming in R?
Hi all, Could anybody please point me to the solver function in R on QCQP? The quadprog package seems to be only able to handle the linear constraints... Thank you! [[alternative HTML version deleted]]
2009 Sep 20
2
Quadratic Constraints
HI All, I am unable to solve a optimization Problem Please Help Me out of this to solve. The Optimization problem is as follows :- My objective function is linear and one of the constraint is quadratic. Min z = 5 * X1 + 9* X2 + 7.15 *X3 + 2 * X4 subject to X1 + X2 + X3 +X4 = 9 X1 + X4 < = 6.55 X3(X3 - 3.5) >=0 X1,X2,X3,X4 >=0 Now the problem is how to solve this kind of