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:

765 questions
-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…
Pintspin
  • 15
  • 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
  • 219
  • 2
  • 16
-3
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
  • 855
  • 2
  • 8
  • 11
-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
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
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
  • 2,905
  • 6
  • 28
  • 51
-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
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
-5
votes
1 answer

Python math.exp function Syntax

I have an issue after using an the exponent function. it keeps throwing syntax errors on the line underneath. I am wondering if I am using "math.exp()" properly. as an example set of code case = 1 Dref = [1,2,3,4] i = 2 j = 1 t = 1 m = 1 Temp =…
-5
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
  • 157
  • 6
-5
votes
1 answer

Exponential integral and gamma function

In order to solve this problem, without iteration: Recursion: Sum of series of n terms calculating for a given n: 1 + 2*3 + 3*4*5 + 4*5*6*7 + ... + n*(n+1)...(2n-1) with this mathematical…
-6
votes
1 answer

how can I calculate exponential fraction

If I want to calculate 5.24^3.2478. The base and exponential is fractional. Is there some function to realize it? the base of frexp is 2.
ernst
  • 5
  • 4
1 2 3
50
51