Write a script to integrate a function

Assignment Help MATLAB Programming
Reference no: EM131026491

Problem:

Write a script to integrate a function in three different ways: by eyeballing it, by calling trapz with a list of points, and by calling quad with a function.

Equation we're going to integrate: y(x) = -x4 + 2x2 + 2.

Additional information

This problem belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operations.

Answer is in MATLAB format

Reference no: EM131026491

Questions Cloud

Prove that there are no matrices : Show that the trace is a linear map of the space of n n matrices into K.
Create a ppt on a training method for executives : You have been asked to create a PowerPoint presentation on a training method for executives at an organization you currently work for or an organization you wish to work for in the future.
Which degree do you think best represents the data : Write a Matlab script to try fitting a 1st, 2nd, and 3rd degree polynomial to the dataset described by volume of water vs. volume of ice. Use subplot to draw all three
What power of reading glasses should be prescribed for her : A person struggles to read by holding a book at arm's length, a distance of 49cm away. What power of reading glasses should be prescribed for her, assuming they will be placed 1.9cm from the eye and she wants to read at the "normal" near point of ..
Write a script to integrate a function : Write a script to integrate a function in three different ways: by eyeballing it, by calling trapz with a list of points, and by calling quad with a function.
Why an electronic device might be able to interfere : Explain why an electronic device might be able to interfere with equipment in the airplane. What exactly would your electronic device be doing and why would it cause a problem?
Proportions favoring the proposition and place : Estimate the difference in the proportions favoring the proposition and place a 2-standard-deviation bound on the error of estimation.
Calculate its kinetic energy at the low point : Calculate its kinetic energy at the low point. Ignoring air resistance, how high will the bob swing above the low point before reversing direction?
Write a script to use a polynomial : Write a script to use a polynomial to create data and then practice fitting - belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operations.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Make a program that will graph the parabolas

Make a program that will graph the parabolas each parabola a different color and put all the parabolas in the same figure or graph

  Write a matlab m-code which solve finite difference equation

Write a Matlab M-code program which solves the Finite Difference equations for the unknown temperatures Ti where the value of N, the number of internal nodes in the vertical direction.

  Use regression algorithms

The proposal which are two pages and here is the demands - Use Regression Algorithms or any type to achieve the target In Data Mining matter dealing with E-Learning Students' Data.

  Create an animation of a square

create an animation of a square according to the directions below. Create a square with a side length of 3 with the square centered at (5,5). Translate this square along a cosine wave on the interval [0, 6*pi].

  Find the acceleration by taking the derivative again

We can find the acceleration by taking the derivative again.

  Boundary conditions for the finite element model

The computer program or the finite element model for one value of a and the excel file for finite element results processing;Boundary conditions for the finite element model

  Write a script that simulates a casino machine

Write a script that simulates a casino machine. To play a single round on the machine user pays $ 5. Now when the user start the machine, the machine rolls a pair of dice (simulate both dice with help of random number generator) and user only wins..

  Write a function called crazygrade

Write a function called CrazyGrade that will take in the string and flip the grades according to the specifications - Define the inputs and outputs to each problem

  Write a matlab code of cubic spline method

To write a MATLAB code of cubic spline method to find out the value of a function at certain point while we are given a set of data points.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Vb and matlab to calculate the cumulative days

Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inputs, by employing array vector in VB or a vector matrix in Matlab.

  Prepare a matlab code for triangulation

Prepare a matlab code for triangulation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd