Questions tagged [exponential]

Exponential can refer to a mathematics function, a curve / graph / dataset that follows the growth of that function, the exponential distribution in statistics, or a format to represent floats.

Exponential can refer to a mathematics function, a curve / graph / dataset that follows the growth of that function, the exponential distribution in statistics, or a format to represent floats.

Definitions from wikipedia:

888 questions
-3
votes
2 answers

Lambda in front of exponential function

In the following case I'm very confused as to why there is a lam in front of the expression in line 3. Could someone please clarify what this lambda does? lam = 0.5 x = np.arange(0, 15, 0.1) y = lam * np.exp(-lam * x)
bugsyb
  • 5,662
  • 7
  • 31
  • 47
-3
votes
1 answer

How can I truncate 6.280369834735099E-16 to double in Java?

How can one truncate 6.280369834735099E-16 to 000000000000000628 in Java?
Ahmad Ali
  • 1
  • 2
-3
votes
1 answer

Exponential values vs double ( big decimal conversion already used)

i am using following function to format the double value to x.xx , but after that the result value started to end up with exponential value ( i have already read the answers which are advising to use the DecimalFormat or to plain text () methods but…
Nayyar
  • 17
  • 4
-3
votes
1 answer

how to write a exponent value in php?

How to write 9.2903e-6 in php? I have to convert sq-feet to hectares, so I have to write the conversion code. Where 1 sq-meter = 9.2903e-6 I have to call a function in which I have to write a conversion code. So, how to write a exponential value in…
Sai sri
  • 515
  • 12
  • 25
-3
votes
1 answer

Check number has exponent or not in java

I would like to check whether the double value has exponent or not. There is no such method in Math using which I can determine. I do not want to convert it to string and then use indexOf() or contains() methods. Thanks in advance.
Technocrat
  • 15
  • 1
  • 1
-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
2 answers

I am having a hard time converting fluid dynamics equation into MATLAB code

I converted these two equations into MATLAB code before but I lost the file and now I am trying to write them again but there is a problem and I can't figure it out. This is the main equation: This is the equilibrium radius equation: This is the…
-4
votes
1 answer

Given an integer, w, find n and k such that n^k = w

I'm working on a Uva problem (#107) and I know I have the right answer, and now I just need to optimise it so it doesn't time out. I believe this snippet is the culprit. I need to find n and k such that n^k = working. I tried making my own power…
-4
votes
1 answer

How to compute the sum of exponentials of a list of numbers, if we know the summation of the numbers?

Imagine we know the summation of a list of numbers (that is computed by dynamic programming): a+b+c+d+... How can we compute the sum of exponentials of these numbers without re-iterating over all…
malaguena
  • 1
  • 1
  • 4
-4
votes
1 answer

Haskell - Is it possible to take 2 ints and find a common exponent?

Lets say i want to find if the relation between the amount of possible triangles with integer angles and quadrilaterals with integer angles can be represented by an exponent. like say T is triangles and Q is quadrilaterals Q = T^x Is there a…
jaw2233
  • 161
  • 6
-4
votes
2 answers

How to get values of exponential functions in java and how to code the exponential functions

I want to get value of an exponential function to my code, but I don't know how to code to exponential functions in Java. What is the way to code exponential functions in Java? public class Demo { // inputs are declared private int x[] =…
Kasun Siyambalapitiya
  • 3,956
  • 8
  • 38
  • 58
-4
votes
1 answer

What is 6.280369834735099E-16 in just 3 decimal places? (Like x.xxx)

I just need the answer in 3 decimal places. How much is it? Is the answer 0.628 or should I put 16 zero's before 6, in that case the answer might be 0.000 in 3 decimal places.
Ahmad Ali
  • 1
  • 2
-4
votes
2 answers

Matlab plot for exponential decay function

I have empirical data of 9 sets of patients the data looks in this format input = [10 -1 1 20 17956 1 30 61096 1 40 31098 1 …
Devak
  • 97
  • 1
  • 8
-4
votes
1 answer

Elementwise Power in IT++

I was wondering if it was possible to do element wise power in it++. I have not seen a builtin function, and if I overlooked it. How can I achieve this?
Carnez Davis
  • 863
  • 2
  • 8
  • 12
-4
votes
4 answers

How to calculate and print 3^9999 in c++?

can someone explain how to let operations like 3^9999 work in c++, as i found, if number is too long it causes problems. I've heard that there is a way to work it out. (Please do not suggest any external libraries)
bla2e
  • 47
  • 8
1 2 3
59
60