Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

where is the error how to adjust it % Detine the constants below theta0 =0.1 g=9.8;L=0.5; % Define the angular position, velocity, and acceleration functions

image text in transcribed
image text in transcribed where is the error how to adjust it
\% Detine the constants below theta0 =0.1 g=9.8;L=0.5; \% Define the angular position, velocity, and acceleration functions below theta (t)= theta cos(sqrt(g/I)t); dtheta (t)=diff( theta); ddtheta(t) =diff( dtheta ) \% Plotting code figure; hold on; grid on; T=[0.05.0]; fplot (theta(t), T ) fplot(dtheta(t),T) fplot(ddtheta(t),T) legend ( { 'Angular position', 'Angular velocity', 'Angular acceleration' } ) Unrecognized function or variable 'theta'. Error in solution (line 8) theta(t)=thetacos(sqrt(g/1)t)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions