photo

Tarik


Con actividad desde 2013

Followers: 0   Following: 0

Mensaje

I am practicing solving transcendental equations in matlab

I have the given equation and I want to solve for t

1.6*10^8 = t^3 * e^(-12993.03/t)

Here is my matlab code

syms t;
s = '160750000/(t*t*t)= exp(-12993.03/t)'
solve(s)

When I do this i get

4331.01/lambertw(0, (433101*160750000^(2/3))/16075000000)
4331.01/lambertw(0, (433101*exp((pi*4*i)/3 - log(160750000)/3))/100)
4331.01/lambertw(0, (433101*exp((pi*2*i)/3 - log(160750000)/3))/100)

But the correct solution should be 2701

What am I doing wrong in my code?

Tarik's Insignias

MATLAB Answers Insignias

Todo
  • Thankful Level 1Thankful Level 1
    20 Jul 2017