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

Solve nonlinear equation in matlab

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…
0
votes
2 answers

nonlinear equation R

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…
user1582755
  • 213
  • 1
  • 2
  • 9
0
votes
1 answer

Cross characteristics of a non-linear equation in Matlab

I'd like to create a Matlab plot of propeller angular velocity in terms of applied current. The point is, this requires combining two interdependent sets of data. Firstly, drag coefficient c_d depends on angular velocity omega (I have no formula,…
mmm
  • 1,277
  • 5
  • 18
  • 34
0
votes
1 answer

Solving large number of ill-defined non-linear equations in MATLAB

I will try to describe my problem, but there are some specific questions in the end. I am having some trouble solving a turbomachinery problem in Matlab. The goal is to calculate the efficiency of a turbine with known physical measurements and…
0
votes
3 answers

Solving an equation with scipy's fsolve

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…
Saybia
  • 3
  • 1
  • 1
  • 2
0
votes
2 answers

How to solve the system of nonlinear simultaneous equations (in Matlab, in Python, or in Fortran)

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.
Bill TP
  • 1,037
  • 2
  • 16
  • 29
-1
votes
1 answer

I can't see the output of my Matlab code for Newton's Method, what am I missing?

So I have the following matlab code where I am attempting to calculate Newton's Method to solve a non-linear equation (in particular, identify the square root). I am unable to see the output of my two fprintf() statements, so I think I fundamentally…
-1
votes
2 answers

TypeError: unsupported operand type(s) for *: 'NoneType' and 'float' help FOR "nonlin np.dot"

import numpy as np def nonlin(x, deriv=False): if(deriv==True): return(x*(1-x)) return 1/(1+np.exp (-x)) x = np.array([[0,0,1], [0,1,1], [1,0,1], [1,1,1]]) y =…
a guy
  • 15
  • 1
  • 5
-1
votes
1 answer

How to solve two coupled nonlinear Schrodinger equations in MATLAB?

The two coupled equations are as follows: where i->sqrt(-1); 'u_t' refers to the first order derivative w.r.t. the time 't', 'u_z' is the first order derivative w.r.t. 'z', similarly, 'u_tt' means second order derivative w.r.t. time. |u|^2 is…
Miracles
  • 21
  • 7
-2
votes
1 answer

How to solve an equation that has tanh() in python

I know how to solve an algebraic Equations : x^4-1=0 as below from sympy import solve, symbols x = symbols('x') solve(x**4 - 1, x) But I got a problem cuz I have tanh() in my equation today like below: tanh(C1+x*C2) + tanh(C1-x*C2) = C3 Where…
Jula
  • 13
  • 3
-3
votes
1 answer

python plot non linear equation

What is the easiest way to plot a non linear equation in python. For example: 0 = sqrt((-6 - x) ** 2 + (4 - y) ** 2) - sqrt((1 - x) ** 2 + y ** 2) - 5 I would like to plot that equation for x in [0, 10] and look like a continuous curve. Thanks!
9uzman7
  • 409
  • 8
  • 19
-3
votes
1 answer

Does f(x) = 2*x + 1 belong to $o(X)$?

Suppose a function f: R -> R defined as f(x) = mx + c for some m, c > 0 and x in R. Does f(x) belong to o(x)? If the answer is "NO", can we conclude that o(x) does not properly contain the set of sub-linear functions? The reason I'm asking this: It…
aroyc
  • 890
  • 2
  • 13
  • 26
-3
votes
1 answer

Mathematic non linear equation solver

I need to solve below equation for the x using mathematica,basically i need numberical values for x,interms of A,B,K,a and b Ax^(-a)+Bx^(-a-b)=K
-4
votes
3 answers

Solve this equation with fixed point iteration method in python

f(x) = x^2- 2x - 3 = 0 How can I solve this equation non-linear, and used fixed point iteration method in Python ?
1 2 3
24
25