login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

fricas
-- m:(FLOAT,FLOAT,INT) -> FLOAT
m(L, r, n) ==  
  r := 1 + ( r / 12)
  ss := eval( series(1/(1-'r)), r)
  s0_n_1 := ss.(n-1)
  result := (L * (r ^ n))  / (1 + (r * s0_n_1 ))
Type: Void
fricas
m( 240000, 0.055, 300)
There are 10 exposed and 6 unexposed library operations named eval having 2 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op eval to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation. Cannot find a definition or applicable library operation named eval with argument type(s) Any Float
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need. FriCAS will attempt to step through and interpret the code.

\label{eq1}1473.8099814755 \<u> 285914(1)
Type: Expression(Float)
fricas
m( 240000, 0.05367, 300)

\label{eq2}1454.8085767520 \<u> 394177(2)
Type: Expression(Float)




  Subject:   Be Bold !!
  ( 15 subscribers )  
Please rate this page: