SlideShare a Scribd company logo
jsMath



         CRL 1.8 Functions MrG 2011.0920
#1)
var('y,a,z')
f(x)=x^3-10*x^2+31*x-30
print(f(0))
print(f(y))
print(f(2))
print(f(a))
print(f(3))
print(f(5))
print(f(y*z))
print(f(1))
print(f(-3))
print(expand(f(x-2)))
print(f(-1))
print(-6*f(6))
    -30
    y^3 - 10*y^2 + 31*y - 30
    0
    a^3 - 10*a^2 + 31*a - 30
    0
    0
    y^3*z^3 - 10*y^2*z^2 + 31*y*z - 30
    -8
    -240
    x^3 - 16*x^2 + 83*x - 140
    -72
    -72
#3)
phi(x)=x^4-55*x^2-210*x-216
print(f(2))
print(phi(-2))
print(f(3))
print(phi(-3))
print(f(5))
print(phi(-4))
print(f(0)+phi(0)+246)
    0
    0
    0
0
      0
      0
      0
#5)
F(x)=x*(x-1)*(x+6)*(x-1/2)*(x+5/4)
print(F(0))
print(F(1))
print(F(-6))
print(F(1/2))
print(F(-5/4))
    0
    0
    0
    0
    0
#7)

More Related Content

PDF
CRL 1.8 Functions
DOCX
graficas matlab
DOC
PDF
Christian Gill ''Functional programming for the people''
PPTX
حساب النهايات جبرياً
PDF
ARM 7 LPC 2148 lecture
PDF
Regras diferenciacao
CRL 1.8 Functions
graficas matlab
Christian Gill ''Functional programming for the people''
حساب النهايات جبرياً
ARM 7 LPC 2148 lecture
Regras diferenciacao

What's hot (17)

PDF
RM FUNCIONAL
PDF
Htdp27.key
PDF
Sheet 1
PDF
Sheet 2
PPTX
Answers sign-charts
PDF
RTF
Compte rendu com op touati
PPTX
Root locus of_dynamic_systems
PPTX
adders/subtractors, multiplexers, intro to ISA
 
TXT
Script clases ide bd espacial
PDF
Equation of linear regression straight line
PDF
maths basics
PPTX
Lambda calculus
PDF
Copia de derivadas tablas
PDF
Quadratic Function Graphs2
PPTX
Num Integration
RM FUNCIONAL
Htdp27.key
Sheet 1
Sheet 2
Answers sign-charts
Compte rendu com op touati
Root locus of_dynamic_systems
adders/subtractors, multiplexers, intro to ISA
 
Script clases ide bd espacial
Equation of linear regression straight line
maths basics
Lambda calculus
Copia de derivadas tablas
Quadratic Function Graphs2
Num Integration
Ad

More from A Jorge Garcia (20)

PDF
LIMACON 2023 Brochure
PDF
2022-RESUME-NEW
PDF
MAT122 DAY508 MEETING 44 of 45 2021.1217 FRIDAY
PDF
MAT122 DAY507 MEETING 43 of 45 2021.1216 THURSDAY
PDF
MAT122 DAY506 MEETING 42 of 45 2021.1215 WEDNESDAY
PDF
MAT122 DAY308 Lesson 26 of 45
PDF
MAT122 DAY307 Lesson 25 of 45
PDF
MAT122 DAY306 Lesson 24 of 45
PDF
MAT122 DAY305 Lesson 23 of 45
PDF
MAT122 DAY304 Lesson 22 of 45
PDF
MAT122 DAY303 Lesson 21 of 45
PDF
MAT122 DAY302 Lesson 20 of 45
PDF
MAT122 DAY301 Lesson 19 of 45
PDF
MAT122 DAY205
PDF
MAT122 DAY204
PDF
MAT122 DAY203
PDF
MAT122 DAY202
PDF
MAT122 DAY201
PDF
MAT122 DAY06
PDF
MAT122 DAY05
LIMACON 2023 Brochure
2022-RESUME-NEW
MAT122 DAY508 MEETING 44 of 45 2021.1217 FRIDAY
MAT122 DAY507 MEETING 43 of 45 2021.1216 THURSDAY
MAT122 DAY506 MEETING 42 of 45 2021.1215 WEDNESDAY
MAT122 DAY308 Lesson 26 of 45
MAT122 DAY307 Lesson 25 of 45
MAT122 DAY306 Lesson 24 of 45
MAT122 DAY305 Lesson 23 of 45
MAT122 DAY304 Lesson 22 of 45
MAT122 DAY303 Lesson 21 of 45
MAT122 DAY302 Lesson 20 of 45
MAT122 DAY301 Lesson 19 of 45
MAT122 DAY205
MAT122 DAY204
MAT122 DAY203
MAT122 DAY202
MAT122 DAY201
MAT122 DAY06
MAT122 DAY05
Ad

Recently uploaded (20)

PDF
Ct.pdffffffffffffffffffffffffffffffffffff
PDF
MAGNET STORY- Coaster Sequence (Rough Version 2).pdf
PDF
Rakshabandhan – Celebrating the Bond of Siblings - by Meenakshi Khakat
PPTX
E8 ssssssssssssssssssssssssssssssssssQ1 0101 PS.pptx
PDF
Keanu Reeves Beyond the Legendary Hollywood Movie Star.pdf
PPTX
The story of Nomuzi and the way she was living
DOC
NSCAD毕业证学历认证,温哥华岛大学毕业证国外证书制作申请
PPTX
Other Dance Forms - G10 MAPEH Reporting.pptx
PPTX
SPARSH-SVNITs-Annual-Cultural-Fest presentation for orientation
PPT
business model and some other things that
PDF
oppenheimer and the story of the atomic bomb
PDF
Songlyrics.net-website for lyrics song download
PPTX
Understanding Colour Prediction Games – Explained Simply
PDF
Between the Reels and the Revolution Enzo Zelocchi’s Unscripted Path Through ...
PDF
High-Quality PDF Backlinking for Better Rankings
PDF
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
PPTX
What Makes an Entertainment App Addictive?
DOCX
Nina Volyanska Controversy in Fishtank Live_ Unraveling the Mystery Behind th...
PPTX
providenetworksystemadministration.pptxhnnhgcbdjckk
PDF
Commercial arboriculture Commercial Tree consultant Essex, Kent, Thaxted.pdf
Ct.pdffffffffffffffffffffffffffffffffffff
MAGNET STORY- Coaster Sequence (Rough Version 2).pdf
Rakshabandhan – Celebrating the Bond of Siblings - by Meenakshi Khakat
E8 ssssssssssssssssssssssssssssssssssQ1 0101 PS.pptx
Keanu Reeves Beyond the Legendary Hollywood Movie Star.pdf
The story of Nomuzi and the way she was living
NSCAD毕业证学历认证,温哥华岛大学毕业证国外证书制作申请
Other Dance Forms - G10 MAPEH Reporting.pptx
SPARSH-SVNITs-Annual-Cultural-Fest presentation for orientation
business model and some other things that
oppenheimer and the story of the atomic bomb
Songlyrics.net-website for lyrics song download
Understanding Colour Prediction Games – Explained Simply
Between the Reels and the Revolution Enzo Zelocchi’s Unscripted Path Through ...
High-Quality PDF Backlinking for Better Rankings
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
What Makes an Entertainment App Addictive?
Nina Volyanska Controversy in Fishtank Live_ Unraveling the Mystery Behind th...
providenetworksystemadministration.pptxhnnhgcbdjckk
Commercial arboriculture Commercial Tree consultant Essex, Kent, Thaxted.pdf

CRL 1.8 functions MrG 2011.0920 - sage

  • 1. jsMath CRL 1.8 Functions MrG 2011.0920 #1) var('y,a,z') f(x)=x^3-10*x^2+31*x-30 print(f(0)) print(f(y)) print(f(2)) print(f(a)) print(f(3)) print(f(5)) print(f(y*z)) print(f(1)) print(f(-3)) print(expand(f(x-2))) print(f(-1)) print(-6*f(6)) -30 y^3 - 10*y^2 + 31*y - 30 0 a^3 - 10*a^2 + 31*a - 30 0 0 y^3*z^3 - 10*y^2*z^2 + 31*y*z - 30 -8 -240 x^3 - 16*x^2 + 83*x - 140 -72 -72 #3) phi(x)=x^4-55*x^2-210*x-216 print(f(2)) print(phi(-2)) print(f(3)) print(phi(-3)) print(f(5)) print(phi(-4)) print(f(0)+phi(0)+246) 0 0 0
  • 2. 0 0 0 0 #5) F(x)=x*(x-1)*(x+6)*(x-1/2)*(x+5/4) print(F(0)) print(F(1)) print(F(-6)) print(F(1/2)) print(F(-5/4)) 0 0 0 0 0 #7)