Author Topic: Use of seq()? (83/84)  (Read 2512 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Use of seq()? (83/84)
« on: October 12, 2011, 12:35:00 pm »
What is the syntax and use for seq() ?
Sig wipe!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Use of seq()? (83/84)
« Reply #1 on: October 12, 2011, 12:56:00 pm »
http://tibasicdev.wikidot.com/sub is a good article on its uses ^^

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: Use of seq()? (83/84)
« Reply #2 on: October 12, 2011, 01:00:43 pm »
that's sub(
maybe this?

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Use of seq()? (83/84)
« Reply #3 on: October 12, 2011, 01:01:33 pm »
seq(f(X),X,n,m) where f(X) is an equation, n is the lower bound, and m is the upper bound. For example, seq(X^3+3X2+3X+1,X,0,5)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Use of seq()? (83/84)
« Reply #4 on: October 12, 2011, 01:02:56 pm »
Thank you ppl!
Sig wipe!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Use of seq()? (83/84)
« Reply #5 on: October 16, 2011, 01:19:28 pm »
It's a really useful routine, but it's slow. Remember to use [tibd]binomcdf[/tibd] instead for sequences like {1,2,3,4...
« Last Edit: October 16, 2011, 01:19:58 pm by Deep Thought »