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'.

回答 (2 件)

madhan ravi
madhan ravi 2019 年 1 月 7 日

0 投票

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 2019 年 1 月 7 日
編集済み: Torsten 2019 年 1 月 7 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

質問済み:

2019 年 1 月 7 日

編集済み:

2019 年 1 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by