Solution of this non-linear eqution

1 回表示 (過去 30 日間)
A HOSSAIN
A HOSSAIN 2019 年 9 月 2 日
回答済み: Dimitris Kalogiros 2019 年 9 月 2 日
w= 0: 0.01: 20;
d=100
g=10
w^2=g*k*tanh(k*d)
find the values of 'k'.

回答 (1 件)

Dimitris Kalogiros
Dimitris Kalogiros 2019 年 9 月 2 日
Hi A. Hossain
Try this:
clear; clc;
syms w d k
d=100
g=10
for w=0:0.1:20
fprintf('----- w = %f -----\n', w);
eq=w.^2==g*k*tanh(k*d)
vpasolve(eq)
fprintf('\n\n');
end
Of Course, it does not provide an analytical solution, but a numerical one.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by