a.
Write a question dialog statement to generate the dialog box shown in the Question (a), and to place the user’s response in the variable MyStatus.
b.
Write a question dialog statement to generate the dialog box shown in the Question (b), and to place the user’s response in the variable MyStatus.
c.
Write a question dialog statement to generate the dialog box shown in the Question (c), and to place the user’s response in the variable MyStatus.
d.
Write the content that placed in the variable MyStatus when the user clicks Cancel in Part(a).
e.
Write the content that placed in the variable MyStatus when the user closes the dialog box obtained in Part(b).
f.
Write the content that placed in the variable MyStatus when the user presses Enter in Part(c).
Want to see the full answer?
Check out a sample textbook solutionChapter 17 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- You are recently promoted as the chief traffic management officer of a major city in the country. Based on recent data, you learned that one of the leading causes of road accidents is over speeding.In your desire to minimize road accidents, you went out to observe how traffic management rules are implemented on the streets. Your attention was caught by a fast - moving car that seemed to be breaking the speed limit of 100 kilometers per hour(km/hr.), and so you followed it along the highway. After a short time, the driver of the car noticed you and started to slow down. Eventually, he stopped on the side of the road. Supposed the speed of the car had been noted during this time and is modeled by the quadratic equation y = 3x² + 17x - 20, where y represents the speed of the car in km/hr. and x represents the number of minutes after you started following the car. How long did it take for the car to be under surveillance before it could finally stop on the side of the road? Did the driver…arrow_forwardThe following tools / resources may be useful for you to complete the assignment:a. Chatgpt (You may use it to learn Matlab coding or any other computer language. An example is given here: https://shareg.pt/mXHGne9 ). Please take note that code generated by chatgpt can be directly copied and pasted.b. Matlabi) Useful cheat sheet (https://n.ethz.ch/~marcokre/download/ML-CheatSheet.pdf)ii) Getting started with Matlab (https://matlabacademy.mathworks.com/en/details/gettingstarted )iii) Getting 30-day Matlab trial license (https://www.mathworks.com/campaigns/products/trials.html ) iv) Polyfit (https://www.mathworks.com/help/matlab/ref/polyfit.html )v) Exponential Fit (https://www.mathworks.com/matlabcentral/answers/91159-how-do-i-fit-an-exponential-curve-to-my-data)c. PlotDigitizer (https://plotdigitizer.sourceforge.net/ ) or a free online app that does not requires installation (https://plotdigitizer.com/app )You may use your own engineering judgement to make any assumptions on any…arrow_forward2. (If relevant) A clearly labeled diagram (or diagrams) clearly pertaining to your analysis with a coordinate system and relevant labels. Final answer with appropriate units and significant figures. You can use the fprintf() command in MATLAB to format numerical results A 2-3 sentence reflection on your answer. Does it make sense? Why or why not? What are some implications?arrow_forward
- I need a MATLAB code that uses image segmentation to take this photo and single out the weeds in the yard. It also needs to calculate the number of pixels/percentage of the pixels that are in the weeds. Please provide notes in the lines as well so it is easy to follow and understand. Thank you for your help!arrow_forwardSuppose your CFD code can handle nonelementary blocks. Combine as many blocks of Fig. as you can. The only restriction is that in any one block, the number of i-intervals and the number of j-intervals must be constants. Show that you can create a structured grid with only three nonelementary blocks. Renumber all the blocks and indicate how many i- and j-intervals are contained in each block. Add up all the cells and verify that the total number of cells does not change.arrow_forwardPosted below is a picture of a data table and a diagram of an experiment. In the experiment you rolled a marble down a ruler ramp off the end of a coffee table to observe projectiles and conservation of energy. You do 3 trials for each initial height. Each height is measured in meters. h= initial height of marble off of table Y= height of table off floor X= horizontal distance marble goes from edge of table to where it strikes the floor a) use the table to find information you need to solve for theoretical range and % of error in measured range.arrow_forward
- Which clause of an SQL query displays the results in a specific sequence?arrow_forwardSimulated Annealing How would Simulated Annealing perform if the temperature, T, is always equal or very close to 0, where we omit the termination test (except that we terminate the search when a goal node, either a local or global optimum, is met)? Please pick up one option from the following options and explain.(a) A random walk(b) Hill-Climbing(c) It would halt immediately(d) It would never haltarrow_forwardLearning Goal: To use equilibrium to calculate the plane state of stress in a rotated coordinate system. In general, the three-dimensional state of stress at a point requires six stress components to be fully described: three normal stresses and three shear stresses (Figure 1). When the external loadings are coplanar, however, the resulting internal stresses can be treated as plane stress and described using a simpler, two-dimensional analysis with just two normal stresses and one shear stress (Figure 2). The third normal stress and two other shear stresses are assumed to be zero. The normal and shear stresses for a state of stress depend on the orientation of the axes. If the stresses are given in one coordinate system (Figure 3), the equivalent stresses in a rotated coordinate system (Figure 4) can be calculated using the equations of static equilibrium. Both sets of stresses describe the same state of stress. The stresses σx′and τx′y′ can be found by considering the free-body…arrow_forward
- You own a wheat warehouse with a capacity of 20,000bushels. At the beginning of month 1, you have 6,000 bushels of wheat. Each month, wheat can be bought and sold at theprice per 1000 bushels given in Table 46.The sequence of events during each month is as follows:a You observe your initial stock of wheat.b You can sell any amount of wheat up to your initialstock at the current month’s selling price.c You can buy (at the current month’s buying price) asmuch wheat as you want, subject to the warehouse sizelimitation.Your goal is to formulate an LP that can be used to determine how to maximize the profit earned over the next 10monthsarrow_forwardHelp me!! Using the table below. Help me graph and find the graphing equation and step by step calculations on finding the fuel efficiency on a car weighing 3,300. How to get obtain these following areas in the graph. Click insert and select "Line" or "Sparklines." You should obtain a graph of your findings. Use the graph and click on a point within the graph to highlight all points with the graph. Right click and select the option to "Trendline." Select the options "Linear" and "Add equation to chart." Select on option to obtain your equations. Using this equation find the fuel efficiency of a car that weighs 3,300 pounds. show step by step calculation after obtaining the graph equations. Then, SWOT analysis: Highlight your findings for column two and three using the selection tool in Excel. Year, Name, Make | Weight | Milage per gallon (city) 2023 Toyota Pruis 3199 57 2023 Hyundai Elantra Hybrid 3069 50 2023 Hyundai Sonata Hybrid 3505 51 2023 Toyota Camry Hybrid 3528 51…arrow_forwardNeed help with these Q2. Identify any zero force members. ( there can be more than one ) Member AB Member AJ Member BCBC Member BH Member BJ Member CD Member CG Member CH Member DE Member DF Member DG Member EF Member FG Member GH Member GJ q3. You are asked to find the forces in members GHGH and CGCG using the Method of Sections. Which members should you make a cut through? Member AB Member AJ Member BC Member BH Member BJ Member CD Member CG Member CH Member DE Member DF Member DG Member EF Member FG Member GH Member GJ Q4. Having made a cut through the members in the previous part, you next want to solve for Member GH. Which of the following equilibrium equations is the most efficient? (i.e. which one will allow you to solve for the required member in one equation?) a. ΣFx=0. b. ΣMC=0. c. ΣMH=0. d. ΣFy=0 e ΣMD=0arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY