Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab programming question. I've finished part A and B need help completing part C Computational Methods for Engineers Programming Problem #4 L. W Lo Problem:

Matlab programming question. I've finished part A and B need help completing part C

image text in transcribed

image text in transcribed

Computational Methods for Engineers Programming Problem #4 L. W Lo Problem: A cable of length L supports a beam of length L, so that it is horizontal when the weight W is attached to the beam end. The tension force T' in the cable is given by the following equation: L, LW T= D/L-D Where D is the distance of the cable attachment point to the beam pivot. Create a Script M-file that uses an anonymous function to compute the tension T as a function of D. You might want to use W = 400N, L. = 5 m, and L = 3 m as initial test values. This Script M-file should: a) Prompt the user and accept values for W, L, and from the Command Window (the weight is in Newtons, and the lengths are in meters). b) Use these values as parameters in defining the anonymous function, and use the fminbnd function together with the anonymous function to compute and display in the Command Window the value of D that minimizes the tension, T. It should also display the minimum Sf a) Prompt the user and accept values for W, Ly, and L, from the Command Window (the weight is in Newtons, and the lengths are in meters). b) Use these values as parameters in defining the anonymous function, and use the fminbnd function together with the anonymous function to compute and display in the Command Window the value of D that minimizes the tension, T. It should also display the minimum tension value. c) Use fzero to determine by how much the value of D can vary from it's optimal value before the tension increases by more than 10% from it's minimum, and display this value in the Command Window

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_2

Step: 3

blur-text-image_3

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions

Question

Distinguish between recruitment sources and recruitment methods.

Answered: 1 week ago

Question

What is the environment we are trying to create?

Answered: 1 week ago

Question

How would we like to see ourselves?

Answered: 1 week ago