Why do I get a Warning: "cannot find explicit solution"?
Show older comments
I want to calculate in a mass-spring-damper system which "k0" value will be A<25. I have a following MatLab code:
clc
clear
syms k0
v0 = 2.5
c0 = 221229.947
m0 = 53.375
t = 0:0.01:1
alfa = sqrt(c0/m0)
beta = k0/(2*m0)
delta = sqrt(alfa^2 - beta^2)
A = v0/(sqrt(alfa^2 - (k0/(2*m0))^2)) .* exp(-(k0/(2*m0) .* t)) .* sin((sqrt(alfa^2 - (k0/(2*m0))^2)) .* t) * 10^3
solA = solve(A < 25, k0, 'MaxDegree', 4)
Thank you in advance.
Accepted Answer
More Answers (1)
Juhász Marcell
on 11 Nov 2018
0 votes
Categories
Find more on Utilities for the Solver in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!