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 = 320
import math
D[case] = (Dref[case]*((50/ t)^ m )) * ( math.exp((20/6)*((1/295) - (1/Temp))):
print (D[case])
The code is for a numerical model and so I will need to use exp on a formula full of variables.
any help would be appreciated!