I need help in MATLAB code for general tan function with taylor series
3 views (last 30 days)
Show older comments
I cant understand the B term in the formula and also doesnt know how to code this properly for
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/921499/image.jpeg)
I just need help in recognizing this B term I will make the code myself
I have searched everywhere but doesnt seem to understand this term
Accepted Answer
Jan
on 10 Mar 2022
WikiPedia is the first point to start a search for mathemtical questions: https://en.wikipedia.org/wiki/Trigonometric_function#Power_series_expansion . Here you find a hint to Bn also.
More Answers (1)
Sam Chak
on 10 Mar 2022
Edited: Sam Chak
on 10 Mar 2022
If we are looking at the same source, then you should be able to view this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/921509/image.png)
4 Comments
Sam Chak
on 10 Mar 2022
Don't mention it, @Haseeb Hashim. More importantly, you have learned something today. A small achievement to move forward!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!