Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: Munchor on March 17, 2011, 11:49:37 am

Title: Branch defined functions NSpire
Post by: Munchor on March 17, 2011, 11:49:37 am
In the 8x Series I can:
Code: [Select]
Y1= (2.5X)(X>10)
Y2 = (5X)(X<=10)

This meaning:
If x>10, y=2.5x
If x<=10, y=5x

How can I do this on the nspire?
Title: Re: Branch defined functions NSpire
Post by: Goplat on March 17, 2011, 12:41:36 pm
try: y=piecewise(2.5x,x>10,5x,x<=10
Title: Re: Branch defined functions NSpire
Post by: Munchor on March 17, 2011, 05:12:17 pm
I managed to do it.
Library_Button>>>3>>>Branch defined functions icon

Worked ;)
Title: Re: Branch defined functions NSpire
Post by: phenomist on March 17, 2011, 07:04:15 pm
Oh, and if you need to actually take the value on the piecewise graph without having to switch between graphs, you can add them together; e.g. Y1 = (2.5X)(X>10)+(5X)(X<=10). (This is on the TI-83/84)