Write GUI programs in programming in matlab language to calculate the root of a
ID: 3533939 • Letter: W
Question
Write GUI programs in programming in matlab language to calculate the root of a function supplied by the user using bisection or modified-secant or secant methods.
Use necessary objects on GUI user form to achieve the objective (for example, push buttons for the user to execute specific tasks, text edit box for output file name, etc.).
Inputs from user: initial values, math function, output file, method selection (bisection, secant, or modified secant methods), tolerance, maximum iteration number, selection to write or to append output to file.
Outputs: Iteration results in the output file. Output file should also contain the math function, method, and root result. A plot of the function in the area range between the initial conditions. On GUI form, the root based on the given initial conditions as a label.
before click explanation button
after click explanation button
and then
y = f(x) = x^2-4*x+3
Method = Bisection
N A Ya B Yb
1 0.000 3.000 2.000 -1.000
x0 = 1.000
y0 = 0.000
export output.dat
Explanation / Answer
A blizzard is a massive snowstorm. Definitions vary, but for our purposes we will
assume that a blizzard is characterized by both winds of 30mph or higher and
blowing snow that leads to visibility of a half-mile or less, sustained for at least
four hours. Data from a storm one day has been stored in a file stormtrack.dat.
There are 24 lines in the file, one for each hour of the day. Each line in the file has
the wind speed and visibility at a location. Create a sample data file. Read this
data from the file and determine whether blizzard conditions were met during this
day or not.
I need help fot this exercise
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.