Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB (WANT TO KNOW THE VALUES FROM Q to AE 0 m g Figure 1: Pendulum system in which a mass, m, is connected with
MATLAB (WANT TO KNOW THE VALUES FROM Q to AE
0 m g Figure 1: Pendulum system in which a mass, m, is connected with a ceiling with a non- deformable rod with a length of I. (c) Make a function named "force. This function inputs X and the constant parame- ters and outputs X. The constant parameters should be defined using a structure variable. Test this function by getting the output, given the following values. i. x = [0.1,0), g = 9.81 m/sec?, 1 = 1.23 m, m= 4.1 kg, and t = 10 sec. Q x 100 Rx 10-1 (6) S x 10 ii. x = [0.32,017, g = 9.81 m/sec, 1 = 0.93 m, m= 1.5 kg, and t = 1 sec. T x 10 U x 10 (7) V x 10 ii. x = [0, -0.01]", g = 3.87 m/sec?, 1 = 7.01 m, m= 3.2 kg, and t = 2.33 sec. W x 10-2 X x 100 (8) Y x 10 (d) Let's develop the RK4 (Runge-Kutta 4th) scheme. Assume x = [0, -0.01), g = 3.87 m/sec, 1 = 7.01 m, m = 3.2 kg, t = 2.33 sec, and dt = 0.01 sec. dt is the time step i. Compute ki. 2 x 10-2 ki AA X 100 (9) AB x 10 ii. Compute ka. AC x 10-2 k2 AD x 10-5 (10) AE x 100 0 m g Figure 1: Pendulum system in which a mass, m, is connected with a ceiling with a non- deformable rod with a length of I. (c) Make a function named "force. This function inputs X and the constant parame- ters and outputs X. The constant parameters should be defined using a structure variable. Test this function by getting the output, given the following values. i. x = [0.1,0), g = 9.81 m/sec?, 1 = 1.23 m, m= 4.1 kg, and t = 10 sec. Q x 100 Rx 10-1 (6) S x 10 ii. x = [0.32,017, g = 9.81 m/sec, 1 = 0.93 m, m= 1.5 kg, and t = 1 sec. T x 10 U x 10 (7) V x 10 ii. x = [0, -0.01]", g = 3.87 m/sec?, 1 = 7.01 m, m= 3.2 kg, and t = 2.33 sec. W x 10-2 X x 100 (8) Y x 10 (d) Let's develop the RK4 (Runge-Kutta 4th) scheme. Assume x = [0, -0.01), g = 3.87 m/sec, 1 = 7.01 m, m = 3.2 kg, t = 2.33 sec, and dt = 0.01 sec. dt is the time step i. Compute ki. 2 x 10-2 ki AA X 100 (9) AB x 10 ii. Compute ka. AC x 10-2 k2 AD x 10-5 (10) AE x 100Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started