フィルターのクリア

Having problems with integration equations.

1 回表示 (過去 30 日間)
Thomas
Thomas 2023 年 12 月 10 日
回答済み: Sulaymon Eshkabilov 2023 年 12 月 10 日
syms t
v_1 = 90/(1+0.3*t);
d_1 = int(v_1,t);
a_1 = diff(v_1,t);
pretty(d_1)
pretty(v_1)
pretty(a_1)
In this code the d_1 value is incorrect
d_2 = 300*log(1+0.3*t);
v_2 = diff(d_2,t);
a_2 = diff(v_2,t);
pretty(d_2)
pretty(v_2)
pretty(a_2)
syms t
The above code uses the correct integral of 'v_1' (verified by hand) and differentiates accordingly with both the 'v' and 'a' equations being the same across both segments of code

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 12 月 10 日
Hi Thomas,
Actually, all calcs are correct - see:
syms t
v_1 = 90/(1+0.3*t);
d_1 = int(v_1,t)
d_1 = 
% Here d_1 is verified
Ver = diff(d_1, t)
Ver = 
Verified = (300*(3/10))/((3/10)*(t+10/3)) % Numerator and Denominator is multiplied by (3/10)
Verified = 
v_1 % Compare with the given
v_1 = 
[Verified v_1]
ans = 

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by