Cheap Essay logo
  • Home
  • Custom Papers
  • Dissertation Help
  • Essay Writing
  • My account
  • Order now
Order Now
Homework Help

Matlab | Mechanical Engineering homework help

1 min read
Posted on 
April 28th, 2022
Home Homework Help Matlab | Mechanical Engineering homework help
  • Use the Matlab function, integral(·) to numerically integrate the function, y=x2 −2x−4 from1to5.Youwillhavetocreateafunctionandpassafunction

    handle to quad(·). See Attaway 14.5. (Answer = ~4/3)

  • Write a function using “for-loops” to integrate the mathematical function in Problem #1 using Rectangular integration. Use “Left-corner” Rectangular Integration. The function should take as inputs, a, b, N and a function handle and output the integrated result. (try N=1000) (Answer = ~4/3)

  • Using “for-loops”, integrate the same function in Problem #1 using Trapezoidal integration. Use the same function structure as in Problem #2. (Answer = ~4/3)

  • Using “for-loops”, integrate the same function in Problem #1 using Simpson’s 1/3 and 3/8 Rule integration. Use the same function structure as in Problem #2. (try N=100) (Answer = ~4/3)

  • Write three different functions using “for-loops” to integrate the Gaussian normal distribution curve from [-σ, σ ], [-2σ, 2σ ], and [-3σ, 3σ ], using Rectangular integration. Perform all three types of Rectangular integration: 1) Left-corner; 2) Midpoint and 3) Right-corner. Use the same function structure as in Problem #2. Let μ be 0 and let σ be 1. (try N=1000)

    (Answer = ~68.2%,~95.4%,~99.7%)

  • Order an Essay Now & Get These Features For Free:

    Turnitin Report

    Formatting

    Title Page

    Citation

    Outline

    Place an Order
    Share
    Tweet
    Share
    Tweet
    Calculate the price
    Pages (275 words)
    $0.00
    Cheap Essay
    Company
    • About Us
    • Coursework Writing
    • Custom Papers
    • Dissertation Help
    • Dissertation Writing
    • Essay Writing
    Legal
    • Term Papers
    • Terms
    • Thesis Format
    • Thesis Statement
    • Why Choose Us
    • Write My Essay
    How Our Service is Used:
    Cheap Essay essays are NOT intended to be forwarded as finalized work as it is only strictly meant to be used for research and study purposes. Cheap Essay does not endorse or condone any type of plagiarism.
    Subscribe
    No Spam
    © 2023 Cheap Essay. All rights reserved.
    Cheap Essay will be listed as ‘Cheap Essay’ on your bank statement.