Question

We want to evaluate the integral e t dt

Write the program in Python!

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Tom mati n, pi das Stapion C, a,b,n): enone retum none elue Sumi : 0 tum1 at(2 I -) h Sun 24-2 Simpson apoumalionveļuvn (37x++ 2) Pint int

Add a comment
Know the answer?
Add Answer to:
Write the program in Python! We want to evaluate the integral integral_0^1 e^-t^2 dt. Write a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. (a) We want to develop a method for calculating the function sint dt f)-inf t...

    1. (a) We want to develop a method for calculating the function sint dt f)-inf t 0 for small or moderately small values of x. This is a special function called the "sine integral", and it is related to another special function called the "exponential integral". It arises in diffraction problems. Derive a Taylor-series expression for f(x), and give an upper bound for the error when the series is terminated after the n-th order term. [HINT: (-1)"*z ? + R...

  • Since t is difficult to evaluate the integral e dx exactly, we will approximate t using Maclaurınn polynomials 2 (a) De...

    Since t is difficult to evaluate the integral e dx exactly, we will approximate t using Maclaurınn polynomials 2 (a) Determine P4(x), the 4th degree Maclaurin polynomial of the integrand e" (b) Obtain an upper bound on the error in the integrand for r in the range 0S S 1/2 (c) Find an approximation to the original integral by integrating P4(x) (d) Obtain an upper bound on the error in the integration in (c) 2, when the integrand is approximated...

  • 2. Since it is difficult to evaluate the integral / e dx exactly, we will approximate it using Maclaurin 0 polynomials...

    2. Since it is difficult to evaluate the integral / e dx exactly, we will approximate it using Maclaurin 0 polynomials (a) Determine Pa(x), the 4th degree Maclaurin polynomial of the integrand e (b) Obtain an upper bound on the error in the integrand for a in the range 0 S x 1/2, when the integrand is approximated by Pi (r) (c) Find an approximation to the original integral by integrating Pa(x) (d) Obtain an upper bound on the error...

  • Q1 2016 a) We want to develop a method for calculating the function f(x) = sin(t)/t...

    Q1 2016 a) We want to develop a method for calculating the function f(x) = sin(t)/t dt for small or moderately small values of x. this is a special function called the sine integral, and it is related to another special function called the exponential integral. it rises in diffraction problems. Derive a Taylor-series expression for f(x), and give an upper bound for the error when the series is terminated after the n-th order term. sint = see image b)we...

  • USING PYTHON 1. Write a small program that asks for an integer number from the user...

    USING PYTHON 1. Write a small program that asks for an integer number from the user and print all the prime numbers (2,3,5,7,etc) less than the input number. 2. How long it takes for your program to print the prime numbers less than 100. (Use magic functions)

  • 1) Translate the following equation into a Python assignment statement 2) Write Python code that prints...

    1) Translate the following equation into a Python assignment statement 2) Write Python code that prints PLUS, MINUS, O ZERO, depending on the value stored in a variable named N. 3) What is printed by: 3 - 1 while 5: while 10 Print ) Page 1 of 9 4) Write a Python while loop that reads in integers until the user enters a negative number, then prints the sum of the numbers. 1-2 of 9 4) Write a Python while...

  • Python Simple Programming Write a program in Python that calculates the tip and total for a...

    Python Simple Programming Write a program in Python that calculates the tip and total for a meal at a restaurant. When your program is run it should ... Calculate the tip and total for a meal for a restaurant Print the name of the application "Tip Calculator" Get input from the user for cost of meal and tip percent Print the tip and total amounts. The formula for calculating the tip amount is: tip = cost of meal * (tip...

  • . Use what you learned from our First Python Program to write a Python program that...

    . Use what you learned from our First Python Program to write a Python program that will carry out the following tasks. Ask user provide the following information: unit price (for example: 2.5) quantity (for example: 4) Use the following formula to calculate the revenue: revenue = unit price x quantity Print the result in the following format on the console: The revenue is $___. (for example: The revenue is $10.0.) . . Use the following formula to calculate the...

  • Vending Machine (Python 3) Thinking Outside the box Write a program that asks the user to...

    Vending Machine (Python 3) Thinking Outside the box Write a program that asks the user to enter a bill value (1 = $1 bill, 5 = $5 bill, etc.) and the price of an item they want to buy in pennies and calculate their change amount in dollars, quarters, dimes, nickels, and pennies. Your code should start like this: ## # This program simulates a vending machine that gives change # Define constants PENNIES PER DOLLAR = 100 PENNIES PER...

  • We want to create a program which prints off what letter grade an individual receives based...

    We want to create a program which prints off what letter grade an individual receives based upon whether or not their grade obeys the following condition: grade>= 90 and grade = 80 and grade<89, we will print off “You made a B”, so on and so forth. In this program, we can assume that we are asking the user to enter whatever grade they recieved as a numeric input. NEED HELP WITH ALL PARTS! 4.) Consider the example of grades...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT