Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168740
Image: ubuntu2004
#This is to show my monthly phone bill for 2012, # It will include both visual and no visuals for price projection # with the implantation of overage charges. # Monthly Charge = monthly_charge # Discount Price = given_discount # State Tax = tax # Random Fees = a #Months = m monthly_charge = 89.99 given_discount = 0.15 tax = 0.07 a = 15 m = 36
#Monthly Charge Tax wo/ Final Price tax = a + monthly_charge * tax
#Month charge w/ Tax & Ect monthly_charge + tax monthly_final = monthly_charge + tax
#Contact Final Price (36 months) monthly_final * m
4006.41480000000
plot(monthly_final, 36)
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_73.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdChtb250aGx5X2ZpbmFsLCAzNik="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single') File "", line 1, in <module> File "/tmp/tmpqNktJq/___code___.py", line 3, in <module> exec compile(u'plot(monthly_final, _sage_const_36 )' + '\n', '', 'single') File "", line 1, in <module> File "/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/misc/decorators.py", line 687, in wrapper return func(*args, **kwds) File "/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/misc/decorators.py", line 534, in wrapper return func(*args, **options) File "/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/plot/plot.py", line 3190, in plot G = _plot(funcs, *args, **kwds) File "/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/plot/plot.py", line 3224, in _plot funcs, ranges = setup_for_eval_on_grid(funcs, [xrange], options['plot_points']) File "/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/plot/misc.py", line 98, in setup_for_eval_on_grid if max(map(len, ranges)) != min(map(len, ranges)): TypeError: object of type 'sage.rings.integer.Integer' has no len()