Solution of this non-linear eqution
Ältere Kommentare anzeigen
w= 0: 0.01: 20;
d=100
g=10
w^2=g*k*tanh(k*d)
find the values of 'k'.
Antworten (1)
Dimitris Kalogiros
am 2 Sep. 2019
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.
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!