Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is matlab. Can you do it and send me codes thanks. ENGIN 77 Lab #s Part 1: plotting As a class we will create

This is matlab. Can you do it and send me codes thanks.

image text in transcribed

image text in transcribed

ENGIN 77 Lab #s Part 1: plotting As a class we will create a plot that shows sin(x) plotted for the following xvectors The X1, X2. x3, and X4 lines should be red dotted, red solid, black dotted, and black solid, respectively. Use a linewidth of 2 Use the following plotting functions to add a title, legend, x-axis label, and a y-axis label title( type the title of your plot here) legend("X1X2 x3,x4) x1abel('type the x-label here') ylabel('type the y-label here') Change the font size in your plot using the following line set(gca, font size", 14) Turn in the plot we made as a class saved as sinplot.fig Part 2: bisection method create a function with the headerline root find roots(x, y, tol) that will output all of the roots of a function (along the interval of x) using the bisection method. This function uses the inputs x which is a vector that has the starting and ending point over which you are lo roots (x = starting:interval:ending) y which is an inline function (see examples below) tol which is the tolerance used to find the roots (see examples below) oking for

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

Students also viewed these Databases questions

Question

Describe Balor method and give the chemical reaction.

Answered: 1 week ago

Question

How to prepare washing soda from common salt?

Answered: 1 week ago

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago