Questions tagged [nonlinear-functions]

A function that does not validate the additivity or homogeneity properties is characterized as non-linear.

In mathematics, a linear function (or map) f(x) is one which satisfies both of the following properties:

  • Additivity or superposition: f(x + y) = f(x) + f(y)
  • Homogeneity: f(alpha * x) = alpha * f(x)

A function that does not confirm the above is characterized as non-linear.

374 questions
0
votes
2 answers

Python solve nonlinear (transcedental) equations

I have an equation 'a*x+logx-b=0,(a and b are constants)', and I want to solve x. The problem is that I have numerous constants a(accordingly numerous b). How do I solve this equation by using python?
Wang
  • 11
  • 2
0
votes
2 answers

What does it mean when solving equation and only brackets come back in maxima

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…
Rick T
  • 3,349
  • 10
  • 54
  • 119
0
votes
1 answer

maxima multiple trigonometric equations

I'm trying to solve an equation using maxima 13.04.2 but the answer isn't what I expect. Example: y2=A2*cos(2*pi*f2*t+phase2) we know A2=.4,f2=6.4951,t=1, trying to find **phase2** y2=.4*cos(2*pi*6.4951+phase2) I tried to solve the y2 equation…
Rick T
  • 3,349
  • 10
  • 54
  • 119
0
votes
1 answer

Simulating nonlinear differential quation in MATLAB?

I was assigned a program where I have to create a MATLAB model for the equation and figure as follows-- https://i.stack.imgur.com/wV0ro.png. Unfortunately, I've been stuck for quite a while. or dh/dt = (-r^2*sqrt(2*g*h))/(0.5r+htan(phi))^2 where…
0
votes
1 answer

Extract covariance matrix nonlinear fit

Using a JSL script, I would like to extract the covariance matrix of a nonlinear model. I have a 4PL curve. But when I request: m["Logistic 4P"]["Parameter Estimates"]["Covariance of Estimates"]["Reference"][""]; It is said that it is an outlinebox…
PerrySun
  • 187
  • 1
  • 1
  • 8
0
votes
1 answer

r, formula with linear and nonlinear parts

I have a regression that looks like this: fit <- nls (data$y ~ (data$v1 + data$v2 + data$v3 + data$v4) *(1 + exp(theta1 - theta2*data$v5 - theta3*data$v6)^-1), data = data, start = c (theta1 =0, theta2= 0, theta3= 0)) summary(fit) In…
0
votes
1 answer

fsolve error in MATLAB

I am dealing with the following code: function opemployment=eqns(unknown); global kappa varphi lgamma beta r delta s x b e theta…
idol2k
  • 5
  • 4
0
votes
1 answer

Finding nonlinear data dependencies

I have a multidimensional array of data (x1,x2,x3,...,y). There are no information about data correlation, nature and boundaries. I have performed some analyses to find linear dependence using regression but nothing were found. I would like try to…
Yurei
  • 1
  • 3
0
votes
0 answers

Non-linear equation - fsolve output ambiguity

I wrote the following code to solve a system of 2 non-linear equations f[0] and f[1] in 2 unknowns th2 and th3: from math import radians,degrees,sin,cos from scipy import zeros from scipy.optimize import…
VitOne
  • 439
  • 1
  • 4
  • 8
0
votes
0 answers

newton raphson method using dataframes

I am using newton() function from the scipy to solve a particular non linear equation which works for a single values def iv(p): I=p diode=Il-(Io*(np.exp((v+(I*RS))/a)-1))-((v+(I*RS))/Rsh)-I return diode I=[opt.newton(iv,2)for v in…
0
votes
2 answers

How to get Loess function for my data in R?

I have a some data and I draw them on a plot, using R. After that, I draw the loess function about that data. Here is the code: data <- read.table("D:/data.csv", header=TRUE, sep=",", na.strings="NA", dec=".", strip.white=TRUE) ur <- subset(data,…
Abraham
  • 5
  • 8
0
votes
1 answer

Correaltion and regression analysis

How should I analysis the correlation between four ordinal numbers (0,1,2,3) and various range of the continuous values? The scatter plot looks like a 4 parallel horizontal dots .
0
votes
1 answer

R - Adjusting squared root function with lm

I want to adjust a function like this: fit4 = lm(mut ~ ent + score + wt + I(ent^2) + I(score^2) +I(wt^2)) when I summary(fit4) I get: Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) …
PGreen
  • 3,239
  • 3
  • 24
  • 29
0
votes
1 answer

How to load images linearly or non-linearly in Objective-C / iOS?

I want to create an iOS app that utilizes full-screen photographs, which may turn into a lot of wait time for the end user if they are on a slow connection. Instead of showing them a "loading" icon, I want to display the image as it loads either…
user3314426
  • 33
  • 1
  • 6
0
votes
1 answer

fitting a nonlinear curve into another nonlinear curve

This is not a question of fitting data points into a curve but I want to actually fit a sample curve to my standard curves. So I have data frames with just Wavelength and Abs as variable and I have my sample data frame (df) and three standard curves…
Kaye11
  • 359
  • 5
  • 17