Last active
December 16, 2015 21:29
-
-
Save DecisionNerd/5499977 to your computer and use it in GitHub Desktop.
Python function for solving the polynomial substitution problems in Udacity College Algebra Lesson 2 Problem 6 (SJSU MA008)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def l2p6(x): | |
ans = (x**3)+(2*(x**2))+(3*x)-2 | |
print ans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment