Write a matlab function romberg

Assignment Help Computer Engineering
Reference no: EM132205964

Write a Matlab function Romberg.m allowing to calculate the integral f(x)dx from a to b using the method of Romberg.

We want to use the Matlab function "inline(‘f')" in order to read the function to be integrated in its analytical form, expl:

f = inline (‘sin(x)2') if f(x) = sin2(x).

The input of the function: the expression to be intergrated, the a and b values and the maximum number of intervals n.

The output of the function: the integral value.

Reference no: EM132205964

Questions Cloud

What are your ideal qa methods and why : What are your ideal QA methods and why? (e.g. manual, automated)
Write a matlab program to compute the sum of the series : Write a MATLAB program to compute the sum of the series 12 + 22 + 32 ... such that the sum is as large as possible without exceeding 1000.
Difference between symmetric and asymmetric encryption : What is the difference between Symmetric and Asymmetric Encryption to include the process each uses to secure the information
Define a marketable form of the drink : Your team is looking for a way to make some revenue as either a for-profit or not-for-profit organization. This organization can market locally, nationally.
Write a matlab function romberg : Write a Matlab function Romberg.m allowing to calculate the integral f(x)dx from a to b using the method of Romberg.
What is affective computing and affordances : What is affective computing and affordances. What does it mean to say when an object has affordance?
Write an matlab function to solve a second-order polynomial : Check for real/imaginary roots Solve mathematically and store the solutions in variables x1 and x2 Return the solutions to the user (x1, x2).
What is normalization of a database : What is Normalization of a Database? How do you start the process, what steps are involved in this?
Is it legal to grab up domains and park them : Is it legal to grab up domains and park them? Is it ethical? What about changing the TLD of a well-known website

Reviews

Write a Review

Computer Engineering Questions & Answers

  Consider the following snapshot of a system

Problem 1: Consider the following snapshot of a system:

  What bandwidth in bits per second

What bandwidth in bits per second between the keyboard and main memory is required to transmit the information?

  Deign a synchronization solution using only locks

Deign a synchronization solution using only locks, semaphores and integer variables that achieve.

  How does an operating system keep track of secondary memory

How can an operating system make use of the file types that it recognizes? How does an operating system keep track of secondary memory?

  Construct an e-r diagram for the registrars office in crows

The enrollment of students in courses and grades awarded to students in each course they are enrolled for must be appropriately modeled.

  Suppose it would take 100 hours in execution

For a certain program, 1% of the code accounts for 50% of the execution time. evaluate the following strategies with respect to programming time and execution time.

  Analyze the means in which data moves within organization

CIS 359 Analyze the means in which data moves within the organization and identify techniques that may be used to provide transmission security safeguards.

  Create an assemblyline class

Create a ManufacturedProduct class. The ManufacturedProduct class is a simplified representation of a product that is being built on an assembly line.

  What sorts of network servers and resources

What sorts of network servers and resources.

  Is platos view of knowledge more closely aligned

Heraclitus concluded that everything is "becoming", or that everything is in a state of flux. Parmenides concluded reality is Being, one thing which is motionless, eternal etc. Compare their conclusions with the ideas of Plato in the divided line ..

  Why are computer simulations

Why are computer simulations playing an increasingly important role in science and engineering.

  Write a function that takes inputs of quarts and pints

Write a function that takes inputs of quarts and pints (whole numbers), then calculates and returns an output of the total number of gallons (a floating-point value). There are 4 quarts in a gallon, and 2 pints in a quart.

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