Hello, I was trying to solve equations with solve, The code is attached. I was trying to find out the values of x
clear; clc;
syms x, l1=0.5; l2=0.5;
A=(cosh(x*l1)-cos(x*l1))/(sinh(x*l1)-sin(x*l1)); B=(0.5)*(cosh(x*l1)+ cos(x*l1)-A*(sinh(x*l1)+sin(x*l1))); C=((-1+cosh(x*l2)*cos(x*l2)-sinh(x*l2)*sin(x*l2))/(sinh(x*l2)*cos(x*l2)-cosh(x*l2)*sin(x*l2)))*B; D=((1-cos(x*l2)*cosh(x*l2)-sinh(x*l2)*sin(x*l2))/(sin(x*l2)*cosh(x*l2)-cos(x*l2)*sinh(x*l2)))*B;
SS = solve(C+D+sinh(x*l1)+sin(x*l1)-A*cosh(x*l1)+A*cos(x*l1)==0,x);
Best Answer