Taylors Expansion For Sin X?

Dec 7, 2010

I am trying to write a program to calculate the value of sin x using sin (x)= (-1)^n*x^(2n+1)/(2n+1)! I can't seem to get the factorial part to work

View 12 Replies


ADVERTISEMENT

Determe Longest Repeating Cycle In A Decimal Expansion?

Jul 3, 2009

Today I encountered this article about decimal expansion and I was instantaneously inspired to rework my solution on Project Euler Problem 26 to include this new knowledge of math for a more effecient solution (no brute forcing). In short the problem is to find the value of d ranging 1-1000 that would maximize the length of the repeating cycle in the expression "1/d".

Without making any further assumptions about the problem that could further improve the effecienty of solving the problem I decided to stick with[code]...

View 3 Replies

Stack Expansion In Application - Lend Themselves To A Non-recursive Environment

Dec 28, 2011

I have a not too complicated problem which I do not know how to solve in vb2010. Currently I have a recurive routine for finding files/and or searching. With a recursive routine I never complete the call until the end and process growth is significant enough to radically slow down the process with the now large stack. To make maters worse, I use precoding routines which will take wildcards. which are these:

[Code]...

View 1 Replies

Using DataRelations And DevExpress Grids - Hide Expansion Control?

Jul 12, 2011

I have a bit of a weird issue. We use DevExpress controls to do all our Windows Form development. Anyway, I found a perfect use for the DataRow.SetParentRow/GetParentRow methods in my grid. So I created a DataRelation, added it to the DataSet and bound it as the data source for my grid. The issue is I now find this:On my grid. It seems to be the DataRelation (when I mouse over it the tooltip is the DataRelation name).

View 1 Replies

Datagrid Expansion - Datagrid In Form - Retrieve Data From My Sql

Jan 22, 2009

I placed a datagrid in my form which l retrive data from my sql. i am using oledb connection. if i run the form i can retrive the data but i am not getting the data in the grid at first ,there is a "+" sign, i have to clik that then it shows the table name and after clicking the table name i can view the data displays in the grid..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved