BIOE 371University of Maryland Linear System Questions Response here you go, again this is due next tuesday midnight (eastern time)thanks!!!i will let you know if i need help for the project as well if you are ok with that Questions:
———1. (2 points) Identify the 5 items (ITEM1 to ITEM5) needed to
make the GUI-based calculator program below work correctly.
It allows its user to press buttons to enter a mathematical
expression in the text box (for example: 3.4+5/7.1 ) and
then, when the equal button (=) is pressed it calculates the
value of that expression (using MATLAB’s eval() function)
and displays the result in the text box. The expression
can also be typed directly into the box (using the keyboard).
%=============== start of GUI-based Program ======================
function HW11_Q01
fig = ITEM5(‘numbertitle’,’off’,’menubar’,’none’,’position’,[100 200 170 140]);
ITEM4(‘style’,’edit’,’string’,”,’position’,[5 110 160 25],…
‘tag’,’x’,’horizontalalignment’,’right’);
bl = {‘7′,’8′,’9′,’/’,’4′,’5′,’6′,’*’,’1′,’2′,’3′,’-‘,’0′,’.’,’=’,’+’};
bt = {‘a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’};
bw = 40; bh = 25;
for k = 1:length(bl)
ITEM4(‘style’,’pushbutton’,’string’,bl{k},’tag’,bt{k},…
‘position’,[5+bw*rem(k-1,4) 80-bh*floor((k-1)/4) bw bh]);
end
% -+-+-+-+- Boiler Plate: Single Callback -+-+-+-+-+-+-+-+-+-+handles = guihandles(fig); guidata(fig,handles); hca = struct2cell(handles);
for k = 1:length(hca)
if isfield(hca{k},’callback’) | isprop(hca{k},’callback’)
set(hca{k},’callback’,{@main_cb,handles});
end
end
% ———- main callback (do everything) –function ITEM3(uiobject,eventdata,handles)
x = get(ITEM2,’string’); % get expression from text box
tag = get(uiobject,’tag’);
ITEM1 tag
case {‘a’,’b’,’c’,’e’,’f’,’g’,’i’,’j’,’k’,’m’,’n’,’d’,’h’,’l’,’p’}
set(ITEM2,’string’,[x get(uiobject,’string’)]);
case {‘o’}
set(ITEM2,’string’,num2str(eval(x)));
end
%=============== end of GUI-based Program ========================
Your answers:
ITEM1 =
ITEM2 =
ITEM3 =
ITEM4 =
ITEM5 =
2. (2) Use MATLAB’s function roots() to find the real solutions
of the polynomial equation:
x^5 = 15*x^3 – 125
Paste your code and results in the space below (Note: we
want only the real solutions, i.e. those with imaginary
part equal to zero).
3. (3 points) Use MATLAB’s function fzero() to find 3 distinct
real solutions of the equation:
erfc( x ) J0( 10 x ) = 1.2 ln( x + 1.65 )
in the interval:
-1.5 < x < 1.5
where J0() is the Bessel function of the first kind, of order
zero, erfc() is the complementary error function, and ln()
is the natural logarithm function. Use a for-loop over 3
appropriate guesses or intervals. Paste your script and the
solutions (values of x) below. (hint: exploring this problem by
plotting the associated function, as a first step, should be
helpful).
4. (3) A zookeeper is attempting to clean a polar bear enclosure
without waking up the two polar bears that are sleeping in it.
The body of each polar bear is viewed as a circle of diameter
1.4 meters in the x-z plane. The body of polar bear A (Arnold)
is centered at (x,z) = (-0.5,1.0) while that of polar bear B
(Bernice) is centered at (x,z) = (1.5,0.5) (all coordinates are
in meters). The zookeeper is using a water jet with a trajectory
described by: z = 2.5 - 0.33 x - 0.25 x^2 (it is sligthly
affected by convective air currents). Use a plot of the
situation and MATLAB's function fsolve() to identify whether
either (or both, or neither) bear(s) is likely to be awakened
(and angried) by being struck by the zookeeper's cleaning water
jet, and to find the exact coordinates at which the jet (which
may be upwards or downwards) hits the bear(s), if any. Paste
your code, plot, conclusions and intersection(s) in the space
below.
Purchase answer to see full
attachment
Why Choose Us
Top quality papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional academic writers
We have hired a team of professional writers experienced in academic and business writing. Most of them are native speakers and PhD holders able to take care of any assignment you need help with.
Free revisions
If you feel that we missed something, send the order for a free revision. You will have 10 days to send the order for revision after you receive the final paper. You can either do it on your own after signing in to your personal account or by contacting our support.
On-time delivery
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & confidential
We use several checkers to make sure that all papers you receive are plagiarism-free. Our editors carefully go through all in-text citations. We also promise full confidentiality in all our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
You are welcome to choose your academic level and the type of your paper. Our academic experts will gladly help you with essays, case studies, research papers and other assignments.
Admissions
Admission help & business writing
You can be positive that we will be here 24/7 to help you get accepted to the Master’s program at the TOP-universities or help you get a well-paid position.
Reviews
Editing your paper
Our academic writers and editors will help you submit a well-structured and organized paper just on time. We will ensure that your final paper is of the highest quality and absolutely free of mistakes.
Reviews
Revising your paper
Our academic writers and editors will help you with unlimited number of revisions in case you need any customization of your academic papers