I am trying to divide the area under a curve given in tabulated form into equal area segments. I have to solve the following integral and find a set of points x_0,x_1,...,x_k,x_N for which the following holds Unfortunately, I don't really see how to

I am trying to solve a system of trigonometric equations in Java, but I don't know where to start. I've used commons-math3 before to solve simple linear sets of equations, but this is above my head. Equations I am trying to solve: a - e + bcosθ1 + cs

I am new to python and what I am trying to do is write an algorithm to solve for the 4 unknown parameters in the Rodbard Equation where we are relating a grayscale value measured using ImageJ to optical density calibration discs. This equation is non

I have a problem in solving a number of non-linear equations with nleqslv in R in order to solve for a distance-to-default measure. This is my first R code, so I am still struggling with some problems. My code looks like this (miniaturized to a three

I have seen this amazing example. But I need to solve system with boundaries on X and F, for example: f1 = x+y^2 = 0 f2 = e^x+ xy = 0 -5.5< x <0.18 2.1< y < 10.6 # 0.15< f1 <20.5 - not useful for this example # -10.5< f2 < -0.16 -

What does it mean when solving equation and only brackets come back in maxima? I tried to solve for phi and it keeps phi on both sides. I try to solve for A and it comes back with brackets Any ideas why? Here's the equation eq2:acos(A*cos((2*%pi*f*t+

I am trying to write a piece of python script to automate a quite time consuming task in some hydraulics problems, that occur in civil engineering. The equation is from Colebrook-White, and is the following: I have written the following code: from ma

I have been currently assigned a work where I need to translate a SAS code to R. I have been able to successfully do 80% of it and now I am stuck at the part where PROC NLIN is used. From what I read, PROC NLIN is used to fit Non-Linear Models andI a

Good day, I am struggling with R and natural logarithm (ln). Firstly, I cannot find a ln(x) function in R. I have noticed that log(x) is the same as ln(x) (when using ln(x) with a calculator). In R: log(5) = 1.609438 And with a calculator: ln(5) = 1.

This is the equation that I want to plot in MATLAB - I want to sweep the variable Vbi from -5 to +5 and then plot the variable T for each individual value of Vbi (essentially T vs. Vbi) for Nd = Na =1015, 1016 and 1017. I know Vbi can be swept by cre

I am attempting to reproduce the solutions of paper by Kostakis. In this paper an abridged mortality table is expanded to a complete life table using de Heligman-Pollard model. The model has 8 parameters which have to be fitted. The author used a mod

I need to know how to solve a system of nonlinear equations but varying a parameter, so that every time you change that parameter will throw me the result of that system (need all results), I thought a for, which is changing the parameter, solve the

I like to fit a nonlinear equation(g and h are the parameters): q = g * (h**age)/(1 + g * (h**age)); restrict q = .05 when age = 50: i.e. g * (h*50)/(1 + g (h**50)= .05. This means when age = 50 the predicted value q equals the q in the data. Thanks

I want to determine the value of x for which a certain function (similar to the next one) is maximized: It is clear that the maximum of A is reached when x = 0, and then A = 200. How could I solve this problem in Java? Update: Sorry for not making it

I was wondering if it is possible for an applescript application to run a shell script, then quit before the execution of the shell script is completed. This would be useful when running a server for a given amount of time. Instead of needing the app

I'm trying to solve the equation f(x) = x-sin(x) -n*t -m0 In this equation, n and m0 are attributes, defined in my class. Further, t is a constant integer in the equation, but it has to change each time. I've solved the equation so i get a 'new equat

I am looking for an open source implementation of a method doing constrained optimization for nonlinear multivariable function in Java.There are several open source java implementations that can do this, such as: OptaPlanner (apache license, 100% jav

I am looking at a system of nonlinear simultaneous equations. The two variables are u>0 and b>0. How can I solve this problem in Matlab, in Python, or in Fortran? Thanks. You can easily eliminate one of those equations by solving #1 for b. Then use

I have several equations and each have their own individual frequencies and amplitudes. I would like to sum the equations together and adjust the individual phases, phase1,phase2, and phase3 to keep the total amplitude value of eq_total under a speci

I am using Levenberg-Marquardt algorithm to minimize a non-linear function of 6 parameters. I have got about 50 data points for each minimization, but I do not get sufficiently accurate results. Does the fact, that my parameters differ from each othe