- #1
tigertan
- 25
- 0
Homework Statement
hey there,
i'm trying to solve for beta which I tought i'd easily be able to figure out using MATLAB (i'm not the most proficient MATLAB user) but i can't get it to work..
Homework Equations
The Attempt at a Solution
My code is as follows:
clear all;
close all;
clc;
Code:
m = 8;
a = 0.3;
l = 0.5;
g = 9.81;
I2y = 2;
I2z = 0.2;
omega = 7;
syms b
omega^2=(m*g*l*tan(b))/((sin(b)*(m*l^2+I2y-I2z)+m*a*l)
I would like to solve for beta within the range of -pi to pi