Find the taylor polynomial of degree

Assignment Help Programming Languages
Reference no: EM133168949

CSCI 4650 Numerical Analysis - University of Colorado

Assignment 1:

Question 1. What is the smallest number of multiplications and additions needed to evaluate P (x) = 4x6 + 2x2 + 2x + 6 at x = 1/3.

Question 2. What are the most number of multiplications and additions needed to evaluate a degree n polynomial, a0 + a1x + a2x2 + .... + + anxn using nested multiplication.

Question 3. Convert 110 .110 from binary to decimal.

Question 4. Covert 7 .2 from decimal to binary.

Question 5. Create a function in Python which takes a positive integer as an input and outputs its binary repre- sentation.

Question 6. A long double floating point number has 1 bit for a sign, 15 bits for an exponent, and 64 bits for the mantissa. What is ∈mach? Explain your reasoning.

Question 7. Consider the function

f (x) = 1 - (1 - x)3/x

(a) Give an alternate form of f (x) which avoids the issue of subtraction by nearly equal numbers when x is close to 0.

(b) Create a table of the values that Python outputs for f (x) and your alternate form from (a) for x = 10-k for k = 0, 1, 2, . . . , 10.

Question 8. Consider the function

f (x) = ln(x)

(a) Find the Taylor polynomial of degree 4 around the point x = 1.

(b) Use your answer from (a) to estimate ln(1.01) and use the remainder theorem to say how large your error could be between the estimate and true value. Finally use Python to calculate the error.

Extra Credit: Create a function in Python which takes two numbers, the numerator and denominator of a fraction, as input and outputs the exact binary representation of the number. Determine some readable way for dealing with repeating values.

Reference no: EM133168949

Questions Cloud

Create a function which runs newtons method : Create a function which runs Newton's method for k steps on the previous system of equations. Include a table of the approximate solutions
Calculate the depreciation on the building : Calculate the depreciation on the building and building addition for 2018 and 2019 assuming that the addition did not change the life or residual value
Find the fixed point iteration produced : Find the fixed point iteration produced by Newton's Method on f (x) = x3 - A, where A is an an arbitrary number (a parameter). That is, find a general formula
Compute the total unreleased appropriations : As of December 31, 2021, total disbursements for Personnel Services, Maintenance and Other Operating Expenses, Compute the total unreleased appropriations
Find the taylor polynomial of degree : Create a function in Python which takes a positive integer as an input and outputs its binary repre- sentation
Compute the dollar markup per unit on variable cost : Rios Company makes drones and uses the variable cost method in setting product price. Compute the dollar markup per unit on variable cost
Prepare a differential analysis dated july : Prepare a differential analysis dated July 31 to determine whether the company should make (Alternative 1) or buy (Alternative 2) the bottles
CSCI 4650 Numerical Analysis Assignment : CSCI 4650 Numerical Analysis Assignment Help and Solution, University of Colorado - Assessment Writing Service
Journalize the bond issuance : On the first day of the fiscal year, a company issues a $4,000,000, 8%, 10-year bond that pays semi-annual interest of $160,000. Journalize the bond issuance

Reviews

Write a Review

Programming Languages Questions & Answers

  Create class using static variable to store annual interest

Create class SavingAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance indicating the amount.

  Discuss the feasibility and practicality

In Coffee's (2006) article, IT professionals discuss the role application developers take in software security. Pick one of these IT experts, summarize his or her perspective on building security into software, and then discuss the feasibility and..

  Implement the calculator using stacks and queues

You will implement the calculator using stacks and queues. Your calculator should support following operators: Parenthesis. The input will be given in form of infix expressions, e.g. ( 2 + 3 ) * 5.

  Pseudocode for a program to solve mathematical problem

Pseudocode for a program to solve the following problem. A student borrows $3,000 at an interest rate 2% per month on the unpaid balance.

  Wap using function that will calculate the area of a circle

Write a program using function that will calculate the area of a circle. Formula of a circle = pi*r^2. Value of PI = 3.14159.

  Design your game in bluej

Your task is to complete various exercises in BlueJ, using the Java language - create a new instance of the Game class, run the play method

  Discuss what is meant by low-level programming

Discuss what is meant by "low-level" programming. What are the advantages of assembly language over higher-level languages for this type of programming?

  Write a console application that requests ten numbers

Write a console application that requests 10 numbers from the user as individual inputs. Each number must be between 10 and 100, inclusive.

  Write junit test methods for the starter code given

Write JUnit test methods for the starter code given in the Filtering Data exercise of the Abstract Classes and Interfaces lesson.

  Write the ruby source code for problem

Write the Ruby source code for Problem - Write a PhoneContact class that gets initialized with a phone number and a label.

  Implement the program using procedural programming

CSCI251/CSCI851 Advanced Programming Assignment, University of Wollongong, Australia. Implement the program using procedural programming

  Write program for real estate agent

Write a program for a real estate agent. The program should perform the following tasks: ask users for the average house price for the each of past 5 years for a single family residence of 1500 square feet.

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