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

  Which strings is not generated by the grammar

What is the decimal value of the sum of the binary number 11001 and hexadecimal number 84 - Which of these are not desired characteristics of a hash function in used to construct a hash table?

  Design an application that either sums or averages

make a menu bar with a file menu that includes a Perform Action command and an Exit command. The Perform Action command computes either the sum or the average of the rows or columns in the array and displays the result in a message box. The Exit c..

  Write a function that swaps the values of all the samples

Write a function that swaps the values of all the samples in the first half of the sound with those in the second half.

  Discuss and develop a risk assessment report for a company

The objective of this assignment is to develop a Risk Assessment Report for a company, government agency, or other organization

  Determining pearson correlation coefficient

Determining the Pearson correlation coefficient you need to write down the program computing Pearson correlation coefficient utilizing the parallel loop templates from the Intel Threading Building Blocks library (TBB).

  Ehy the focus of the os is all over the place

Functionally, we'll definitely find that Unix or Linux will be the best choice for a web server as it doesn't require all of the "extras" for the graphics. What problems can we have if the focus of the OS is all over the place?

  Prepare a web page about your favorite recipe

Prepare a Web page about your favorite recipe. Use an unordered list for the ingredients and an ordered list to describe the steps needed to prepare the food.

  Discuss the most effective security management framework

There are many methods, mechanisms, and practices discussed for the management of security. Discuss what you deem is the most effective security management.

  Write a program that can be used by a concert hall

Write a program that can be used by a concert hall to sell tickets for performances. The auditorium has 15 rows of seats, with 30 seats in each row.

  Devise a solution for preventing the conflicts

From the e-Activity, Amore's and Quesada's article discusses the challenges of incorporating Natural Command Language Dialogs (NCLDs) into a phone system.

  Design the requires and the provides interfaces of at least

as the lead software engineer for a medium-sized hospital you have been asked to spearhead an effort to improve the

  Interpreted code execute much more slowly than compiled code

interpreter mode and compiler mode), JavaScript and special case of interpretation of Java programs. Discuss the merits and weaknesses of interpreting, as opposed to compiling, and explain when and why they are used.

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