Let us worry about your assignment instead!

We Helped With This Mechanical Engineering Homework: Have A Similar One?

SOLVED
CategoryEngineering
SubjectMechanical Engineering
DifficultyCollege
StatusSolved
More InfoBending Moment Mechanical Engineering Homework Help
381011

Assignment Description

Spring 2018 Matlab Project

The Matlab project will comprise two parts.

Let the user draw and close a figure

Set up a blank figure where the user can click to enter points to create a closed figure. Set the axes to go from 0 to 100 along the x-axis and make sure the axis scaling is equal. Make sure that that scaling is maintained throughout the process. You may find axisvec = axis; call to be useful in finding the scaling after it is initially set, then axis(axisvec); to reset it to that after each change is made to the figure.

Draw a new line segment or finish and close the figure.  Prompt the user to either left-click to add a point to the figure or right-click to finish. As the user clicks on each point, record its location in a list. Put a circle marker at the point clicked and draw a line to connect the last point to the point clicked before it, drawing a figure as the points are clicked. The user can create a figure with as many points as he chooses. When he is done, he right clicks anywhere on the figure to end the process and the last point is connected to the first to close the figure. As each point is clicked, echo its (x, y) coordinates to the console.

Use a loop to calculate the area of the closed figure

There are easy ways to do this with a list of coordinates of a polygon. One with a description and example of the process is at wikihow. Do this using a loop, with any additional code needed to handle the first or last points, as needed. Note that figures drawn in the opposite direction assumed in a particular method may result in negative areas. Use that knowledge to determine if the user drew the figure clockwise or counterclockwise.

 

A sample run is shown:

>> MatlabProject

Left-click on a point for the figure (right-click to quit): (29.839, -0.191)

Left-click on a point for the figure (right-click to quit): (30.069, 20.316)

Left-click on a point for the figure (right-click to quit): (39.747, 20.085)

Left-click on a point for the figure (right-click to quit): (39.977, 29.763)

Left-click on a point for the figure (right-click to quit): (69.700, 0.039)

Left-click on a point for the figure (right-click to quit): Quit! The closed polygon has area = 649.488 and was drawn clockwise.

>> 

Frequently Asked Questions

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

Regular homework$20 - $150
Advanced homework$100 - $300
Group project or a report$200 - $500
Mid-term or final project$200 - $800
Live exam help$100 - $300
Full thesis$1000 - $3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for $100, we could tell that the price is $200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On

soc fb soc insta


Paypal supported