I need to determine omega.
I came so far to think that i need a while loop to do so but I get an error, so want to check my syntax is correct.
%Exercise 3
m=[3.3e2 3.3719e2 2.7564e2 2.2902e2 1.9140e2 1.6692e2 1.5947e2... 8.4519e1 4.7877e1 3.3029e1 2.5357e1 1.9990e1]; %constants given
py_guess=zeros(1,length(x));pz_guess=zeros(1,length(x));py_guess(2:length(x))=100;pz_guess(2:length(x))=100;tolerance=0.001;whileomega=sqrt(pz_guess(12)/(u_zGuess(12)*m(12)))if omega_old=omega break else [u_yGuess,u_zGuess]=UyUzCalcGuess(x,py_guess,pz_guess,EI1,EI2,B);endend
my function runs as it should.
Assignment3Error: File: Assignment3.m Line: 210 Column:6Expression or statement is incomplete orincorrect.
Best Answer