login
Forgot?
Login with Facebook

Don't have an account? Register one now!

Read data from user and calculate number

Bids 
9
Avg Bid
$82 USD
CLOSED
  • Project ID:

    785239
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

Project Description:

We need to crate an interface for the user to enter some data, store it in a table and then use some formulas to calculate a number for the data entered. The data entered by user will consist of (number, date) pairs and the formulas for calculation are provided below. Once number is generated we create a chart by saving entry in plotalot table so that chart can be displayed on user front end using plotalot plugin example: { plotalotid id="3"}

Data input by user will have the following options:

1. Enter Initial Deposit and Date

2. Enter Recurring deposit and start and end dates (select from weekly, monthly or yearly)

3. Enter Recurring Withdrawals and start and end dates (select from weekly, monthly, yearly)

4. Enter One time Deposit and date

5. Enter One time Withdrawal and date

6. Enter Final value and date

Note that user can have multiple entries for number 2 to to 5.

Once user click submits, data is saved in table and a number R is calculated from the data using the following formula:

NPV = sum [ value(i)/(1+R)^t(i) ] where value(i) and t(i) are number and time interval from table.

To calculate R, we run random tests to find NPV(R1) >0 and NPV(R0) <0

We then use following code to find R where NPV(R) =0.

// Assumption: One of f(a) and f(b) is &#8805; 0 and the other is &#8804; 0
if f(a) <= 0 then
lo := a; hi := b
else
lo := b; hi := a
endif

mid := lo + (hi-lo)/2
while (mid &#8800; lo) and (mid &#8800; hi) do
if f(mid) &#8804; 0 then
lo := mid
else
hi := mid
endif
mid := lo + (hi-lo)/2
endwhile

return mid

Skills required:

Joomla, PHP

Project posted by:

mgrech Canada
(3 Reviews)

Last seen:

If you are the project creator or one of the bidders, please Log In for more options.


All Bids ()

codersam India
microinfosoft_log.jpg
codersam
India From India     Gold Member     Offline
$80 in 1 day 
$80 Milestone Requested
over 1 year ago
4.7

7.0

105 Reviews
81% Completion Rate
I am ready to start the work. I can do your calculation. Thanks
DesignSolutionSW Bangladesh
DesignSolutionSW
Bangladesh From Bangladesh     Gold Member     Offline
  General Freelancer Orientation (90%, 98th percentile)
  Foundation EUFreelance.com Member
$60 in 2 days 
0
over 1 year ago
5.0

6.7

58 Reviews
97% Completion Rate
Please check PM.Thanks.
netxpertindia India
netxpertindia
India From India     Offline
  Foundation EUFreelance.com Member
$60 in 1 day 
$12 Milestone Requested
over 1 year ago
4.9

6.4

70 Reviews
89% Completion Rate
NetXpertIndia is a customer-specific service oriented company has got a Professional and creative team. We are the Professional Web Development Company having rich experience in Web design and development. Our team can... more
NetXpertIndia is a customer-specific service oriented company has got a Professional and creative team. We are the Professional Web Development Company having rich experience in Web design and development. Our team can work on HTML,DHTML, JAVA SCRIPT, FLASH , ASP,ASP.NET,PHP,MY SQL, SQL Server, MS SQL. Our Bid includes development , deployment and testing. We are ready to start and send daily reports. we communicate through email,messenger,phone and skype.We will a deliver a professional looking design(s) with proposed functionality to match your concept.  less
PauloSam India
PauloSam
India From India     Offline
  General Freelancer Orientation (80%, 90th percentile)
$50 in 1 day 
0
over 1 year ago
4.8

5.2

37 Reviews
64% Completion Rate
Hello, I can do it. Please check PM. Thanks.
csolutionsuk United Kingdom
logo.jpg
csolutionsuk
United Kingdom From United Kingdom     Offline
$140 in 2 days 
0
over 1 year ago
4.7

5.0

12 Reviews
50% Completion Rate
#mgrech# I am confident I can do this for you, please see PM.
softheaven Bangladesh
logo2.jpg
softheaven
Bangladesh From Bangladesh     Offline
$80 in 3 days 
$16 Milestone Requested
over 1 year ago
5.0

4.1

10 Reviews
60% Completion Rate
Hi, I saw your requirement and I think it is a simple job. And I am very much confident about it .I have been developing different type of site for a long time. CMS blog site , ecommerce core php and designing. i a... more
Hi, I saw your requirement and I think it is a simple job. And I am very much confident about it .I have been developing different type of site for a long time. CMS blog site , ecommerce core php and designing. i am fully interested for your job. Since I am expert in this field, i can complete this within your deadline and comparatively lower budget but with best quality. Here is some of my recent site you can take a look …… http://www.prodesignwebs.com/ http://www.beckersorthopedicandspine.com/ http://www.buy.com/ http://www.jendorcorp.com/ http://coachingdads.com/ http://www.respectisms.com/ (Vitruemart + mybolg) http://www.arborland.com/ http://www.kaapz.nl/ http://www.unitedonesolutions.com/ (joomla + PHPBB) http://www.eatdrinktulsa.com/ (sobi2 site ) recent work http://www.abbilimited.com/ http://www.elexio.com/ http://scchk.com.hk http://www.kitchenfairyclub.com/ (zoomla) http://www.selfachievement.com http://theweddingshow.com.au http://www.venues2events.com.au http://www.suva.com.au http://www.bestvenues.com.au http://www.weddingnsw.com http://www.weddingvic.com http://www.functionrooms.com.au http://www.eventconnect.com http://www.alistguide.com.au You can also take a look on my portfolio to see my recent work. I can complete any design with my profound expertise maintaining W3C standard as Well as functional modification and module development also. I think my skill matches with my requirements. Let’s have details discussion about your site at Messenger or etc. I am waiting for your reply. by softheaven less
papanbamba India
papanbamba
India From India     Offline
  Foundation Freelancer.co.uk Member
$156 in 4 days 
0
over 1 year ago
0.0

0.0

1 Review
0% Completion Rate
We can develop as per your requirement. u could check that out. we can work till your satisfaction. -- Please check our PMB
Antonowich United States
Antonowich
United States From United States     Offline
$80 in 1 day 
0
over 1 year ago
I am highly expecting this work. Hope you will consider my bid.
Paul19923123 China
Paul19923123
China From China     Offline
$30 in 2 days 
0
over 1 year ago
0.0

0.0

1 Review
33% Completion Rate
Dear,sir. I'm confident I can complete it within 2 days. I have a long experience of working on web-based programming. Regards