how do i solve for 't' ?

syms t
assume([t] > 0);
eqn1 = (380/2) == 380.0 - 379.69109947074029287421462846085*exp(-1000842.1052631578947368421052632*t)*sinh(1000813.5574673472470455156078349*t)
solve(eqn1,t)
the result that i am getting is,
eqn1 =
190 == 380 - (6679596461298125*exp(-(8597168221130105*t)/8589934592)*sinh((4298461498715673*t)/4294967296))/17592186044416
Warning: Unable to find explicit solution. For options, see help.
> In solve (line 317)
ans =
Empty sym: 0-by-1
>>
i want to find a constant value for 't'.

Risposte (2)

madhan ravi
madhan ravi il 7 Gen 2019
I think there is no solution :
syms t
eqn1 = matlabFunction(380.0 - 379.69109947074029287421462846085*exp(-1000842.1052631578947368421052632*t)*sinh(1000813.5574673472470455156078349*t)-(380/2));
t=0:.001:10;
eqn1(t) % returns NaN everywhere
Torsten
Torsten il 7 Gen 2019
Modificato: Torsten il 7 Gen 2019

0 voti

Try
eqn1 = 190.0 == 380.0-379.69109947074029287421462846085/2*(exp((-1000842.1052631578947368421052632+1000813.5574673472470455156078349)*t)-exp((-1000842.1052631578947368421052632-1000813.5574673472470455156078349)*t))

Richiesto:

il 7 Gen 2019

Modificato:

il 7 Gen 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by