Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline scb  
#1 Posted : 10 April 2009 17:02:37(UTC)
scb

Rank: Newbie

Groups: Registered
Joined: 08/04/2009(UTC)
Posts: 6
Location: Denmark

I often have to compute the net present value of monthly payments of say 100,00 kr. on 240 consecutive months with an interest rate of 0,05% pr year.
In SMATH the summation goes from k=1 to k=240 of the calculation -100/(1+0,05/12)^k, and the result is
-21063,356, but the same calculation in MathCad and Excel computes to -15152,53.
It seems that the summation is correct in the interval k=1 to k=130, but from 131 upwards the calculation is
increasingly wrong compared to MathCad's solution.
The counter variable seems correct, so I can't figure out what goes wrong. Is there a problem or am I mistreating the program in some way (like I did with the "solve" function)?
I tried the same summation with the for-loop, and got the same result (-21063,356), and also found that the for-loop summation is correct up to 130 as the upper limit of the loop-counter.

Edited by user 10 April 2009 17:15:55(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Andrey Ivashov  
#2 Posted : 10 April 2009 19:26:09(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello. Thank you! Observation reproduced. This will be fixed in 1-2 days and fix will be available in next version of SMath Studio (on the end of April).
Users browsing this topic
Similar Topics
ploting function that has the summation sign in it. (Questions)
by Pe1bjt 11/08/2023 21:47:51(UTC)
Summation Equivalent (Questions)
by ianlh 09/12/2021 15:10:03(UTC)
Output summation function elements into array / vector (Questions)
by jdoe1 02/01/2020 06:49:14(UTC)
Summation of log functions (Questions)
by ianlh 20/10/2019 15:20:14(UTC)
Integrating summations (Questions)
by Camden 21/02/2019 00:47:27(UTC)
Summation error - imaginary i as sum iterator (Bugs & Problems)
by janclaeys 18/03/2018 23:55:24(UTC)
Summation of odd numbers to infinity (Questions)
by RFreund 21/08/2016 04:30:00(UTC)
Error of a function with Summation (Questions)
by Novice 17/05/2016 21:15:15(UTC)
[SS-1249] Summation in For Loop (Bugs & Problems)
by RFreund 01/12/2014 00:25:47(UTC)
matrix and summation (Questions)
by arts1983 17/05/2012 13:19:55(UTC)
summation operator sum(1) ? (Feature Requests)
by omorr 06/04/2012 00:53:29(UTC)
summation operator question? (Bugs & Problems)
by omorr 16/02/2012 12:22:29(UTC)
Summation of Matrices (Bugs & Problems)
by rsunny 13/02/2011 16:20:45(UTC)
Problem with summation 2 (Bugs & Problems)
by Guest 11/01/2011 04:47:49(UTC)
Problem with summation (Bugs & Problems)
by TheWizEd 09/01/2011 18:30:22(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.