Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What do I need to write in f2 (u1, u2) so that I do not have the error : Undefined function or variable 'ETA'. (

image text in transcribedWhat do I need to write in f2 (u1, u2) so that I do not have the error : Undefined function or variable 'ETA'.

( this program is MATLAB )

Editor - C:\Users\Unnun\Downloads\f1.m f1.m X f2.m X targil.m X function cout 11 (2) load('data.mat'); fout = u2; Sf1(u2) 1 f1.m xf2.m Xtargil.m TyRZM X + function fout = f2 (ul, u2) load('data.mat.'); 1 40; n 100; A pi/10000; g 9.81; tout=g- (ETA* ((ul (end)-1)^0.8) *u2 (end))/(m*ul (end) )-(Gl*ul (end) *A)/(m* 1); 3 1 - f2(u1,u2) + f1.m f2.m targil.m X clear clc 2 format compact 3 format short 9 4 load('data.mat'); 5 h = 0.1; 6- t = 0; 1=40; m=100; A=pi/10000; g=9.81; 8 ul = 0; 9 u2 = 0; 0- Llwhile ul

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

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions