taylor-series Questions

2

Solved

I'm using the Taylors series to calculate the cos of a number, with small numbers the function returns accurate results for example cos(5) gives 0.28366218546322663. But with larger numbers it retu...
Gaskin asked 24/5, 2021 at 0:40

2

Solved

I have numpy array and I want to use power series like taylor series of e^x, and I am wondering how to implement this in python. For the simplicity purpose, I think I can use maclaurin series at x0...
Hallowmas asked 9/7, 2020 at 13:58

2

Solved

I need to non-linearly expand on each pixel value from 1 dim pixel vector with taylor series expansion of specific non-linear function (e^x or log(x) or log(1+e^x)), but my current implementation i...

1

Solved

I am trying to implement expandable CNN by using maclaurin series. The basic idea is the first input node can be decomposed into multiple nodes with different orders and coefficients. Decomposing s...
Bufordbug asked 2/4, 2020 at 0:59

1

Solved

I have an expression like this which is entered into Sympy like this (for the sake of a reproducible example in this question) from sympy import * expression = Add(Mul(Integer(-1), Float('0.992...
Piercing asked 25/11, 2016 at 5:7

3

Solved

I need to code function in C++ which efficiently finds coefficients of Taylor Series of given rational function (P(x) / Q(x)). Function parameters will be power of polynomials (equal in nominator ...
Maypole asked 15/4, 2014 at 19:19

1

Background: I'm writing some geometry software in Java. I need the precision offered by Java's BigDecimal class. Since BigDecimal doesn't have support for trig functions, I thought I'd take a look ...
Theroid asked 20/3, 2016 at 17:47

1

Solved

I'm trying to build a simple sine function using taylor series expansion that can be evaluated at compile time using C++14 constexpr. My code is compiling, but the compiler doesn't generate a const...
Spikenard asked 11/12, 2015 at 4:52

2

Solved

I need to write my own asin() function without math.h library with the use of Taylor series. It works fine for numbers between <-0.98;0.98> but when I am close to limits it stops with 1604 itera...
Ulrike asked 25/11, 2013 at 14:49

1

Solved

Mathematica seems to be missing a function for this, or I can't find it anyway. The Series function can do expansion in succession for multiple variables, but it doesn't seem capable of doing a fu...
Josephus asked 12/10, 2011 at 23:4

3

Solved

I'm calculating fixedpoint reciprocals in Q22.10 with Goldschmidt division for use in my software rasterizer on ARM. This is done by just setting the numerator to 1, i.e the numerator becomes the ...
Stakeout asked 18/4, 2010 at 8:1
1

© 2022 - 2024 — McMap. All rights reserved.