how to write in matlab
y = e^ int(75/80)dt

5 件のコメント

James Tursa
James Tursa 2018 年 12 月 12 日
Please provide more detail. What differential equation are you trying to solve?
Brenda Galabe
Brenda Galabe 2018 年 12 月 12 日
d dtx1(t) = − x1(t) 2 + 20 d
solved using linear DE equation to get
y = exp^int(1/2)dt ** not 75/80
James Tursa
James Tursa 2018 年 12 月 12 日
編集済み: James Tursa 2018 年 12 月 12 日
Is it this? (where x1 is a function of time)
d(x1)/dt = -x1 / 2 + 20 * d
What is that d at the end?
Brenda Galabe
Brenda Galabe 2018 年 12 月 12 日
sorry no d so just
d(x1)/dt = -x1 / 2 + 20
Stephan
Stephan 2018 年 12 月 12 日
編集済み: Stephan 2018 年 12 月 12 日
Hi Brenda,
i saw that you got some answers on your severa questions here in the forum. Did you notice that you can accept and/or vote for answers, in order to thank the volunteers here for taking the time to help you with your problems?

サインインしてコメントする。

 採用された回答

madhan ravi
madhan ravi 2018 年 12 月 12 日
編集済み: madhan ravi 2018 年 12 月 12 日

1 投票

You can verify the result with wolfram but here you will see a C which is constant which arises after antiderivative(without limits):
syms y(t)
ode=diff(y) == exp(75/80)
dsolve(ode)

9 件のコメント

Brenda Galabe
Brenda Galabe 2018 年 12 月 12 日
what about the exponential before the integral how to represent that
madhan ravi
madhan ravi 2018 年 12 月 12 日
exp() see edited answer
madhan ravi
madhan ravi 2018 年 12 月 12 日
編集済み: madhan ravi 2018 年 12 月 12 日
This is how you write the equation:
syms t y
eqn = y == vpa(exp(1)^(int(75/80,t))) % in decimal form
eqn = y == exp(1)^(int(75/80,t)) % in fractions form
madhan ravi
madhan ravi 2018 年 12 月 12 日
Brenda Galabe's answer moved here for consistency:
but the equation looks like this
y = exp^int(75/80)dt . so the exp is before the integral
madhan ravi
madhan ravi 2018 年 12 月 12 日
Brenda Galabe's answer moved here for consistency:
ok cool. answer im getting is
eqn =
y == (3060513257434037/1125899906842624)^((15*t)/16)
i know on paper answer suppose to be exp^(75/80)t
madhan ravi
madhan ravi 2018 年 12 月 12 日
Basically they are the same but represented in different forms just substitute the values and see as below:
>> t=1;
>> exp(1)^(75/80)*t
ans =
2.5536
>> (3060513257434037/1125899906842624)^((15*t)/16)
ans =
2.5536
>>
madhan ravi
madhan ravi 2018 年 12 月 12 日
Brenda Galabe's answer moved here for consistency:
ok thank you
madhan ravi
madhan ravi 2018 年 12 月 12 日
Anytime :)

サインインしてコメントする。

その他の回答 (1 件)

Brenda Galabe
Brenda Galabe 2018 年 12 月 12 日

0 投票

not sure what that means

1 件のコメント

madhan ravi
madhan ravi 2018 年 12 月 12 日
upload the photo of that equation

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Linear Algebra についてさらに検索

製品

リリース

R2015b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by