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 CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by