Creating User Defined Functions | TI-Nspire CX II CAS | Getting Started Series - Extension

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 29

  • @LuferXVII
    @LuferXVII 2 роки тому +2

    Thanks for the video, great video.
    Professor I have a division in the Define LibPub and Define LibPriv functions, not what is the difference, doing the tests applied in the same situation?

  • @Boost3r-jb7op
    @Boost3r-jb7op Місяць тому

    Is there any chance you would know how to import UDFs from other sources? For example there is a website called lazymath where there are a lot of free UDFs, but I do not know how to import it onto my CAS. Any help would be greatly appreciated :)

  • @ti84satact12
    @ti84satact12 2 роки тому +2

    Couldn’t you have used the dist function in the second function instead of reentering the distance formula?

    • @draco5991rep
      @draco5991rep 2 місяці тому +1

      Same thought, I mean that is exactly why we defined it in the first place

  • @ghotioutofh2o
    @ghotioutofh2o 2 роки тому +1

    Good intro.
    How do you get a description to show up for your function. For example, at 6:36 - 6:39, "solve(" is selected, and there's a description showing what arguments the "solve(" function can take. How do we put those argument reminders into a UDF so they show up there?

    • @TIAustralia
      @TIAustralia  2 роки тому

      If you add a 'comment' (c) in the first line of the function definition, the text you enter will show up when you access the function through Catalogue > Tab 6 [User defined functions]. Let me know if you need more detail ... we could post another video .

    • @ghotioutofh2o
      @ghotioutofh2o 2 роки тому

      @@TIAustralia Thank you! That worked.
      Do you know how to get multiple lines to show up there?

    • @TIAustralia
      @TIAustralia  2 роки тому

      @@ghotioutofh2o Good question ... try multiple comments. If that doesn't work, let us know and I'll track the answer down.

    • @ghotioutofh2o
      @ghotioutofh2o 2 роки тому

      @@TIAustralia Multiple comment line doesn't seem to work. I'm not even sure what terms to search for.

    • @gina6750
      @gina6750 2 роки тому

      @@TIAustralia Could you please elaborate on this? I can't seem to make this happen. Also, how do you delete a user defined function? Thank you

  • @gcloptonAPSU
    @gcloptonAPSU 2 роки тому

    How do you delete a user-defined function from the catalog without deleting the entire document?

  • @anguss-a4774
    @anguss-a4774 Рік тому

    Hi looking for some help on output'ing of a function as a fraction not a decimal. ie I have b/2a in a function block, I want it as a fraction. I have tried propFrac(b/2a) doesn't output as a fraction (currently outputs as a dec). ideas?

    • @TIAustralia
      @TIAustralia  Рік тому

      Assuming you are using TI-Nspire CAS, you can use "exact", it will preference fractions, but beware, things like sin(23) would not be evaluated. If you are using CAS, fractions will be automatically returned in 'auto' mode, provided none of the entries are done as decimal.

    • @anguss-a4774
      @anguss-a4774 Рік тому

      @TI Australia thanks but no luck on that command. Yes TI-NSPIRE CX II. Using it for fractions with a square root, no sin cos or tan functions.
      Define sqrm(a,b,c)=
      Func
      { m=exact(b/(2a)
      n=exact(c-((b*b)/(4ac)))
      EndFunc
      Oh the curly bracket spans 2 lines that include m & n to output as fractions.
      Ideas?

    • @TIAustralia
      @TIAustralia  Рік тому

      @@anguss-a4774 You mention you are using the TI-Nspire CX II not TI-Nspire CX II CAS. The CAS has exact arithmetic, the non-CAS does not. The TI-Nspire CX II is 'numeric' and approximate.

  • @MrDanielhadad
    @MrDanielhadad 11 місяців тому

    is there a way to put comment to see how to use them before selecting the function

    • @TIAustralia
      @TIAustralia  11 місяців тому

      Use the "Comment" command (Short Cut: Ctrl + T) at the start of your UDF (User Defined Function). One line of text only.

  • @andr4eq168
    @andr4eq168 2 роки тому

    how can i create the description of my program or function?

    • @TIAustralia
      @TIAustralia  Рік тому

      Place a comment (Ctrl + T) at the start of the UDF.

  • @franciscomurillorojas1533
    @franciscomurillorojas1533 2 роки тому +1

    Great!

  • @andrewlam6796
    @andrewlam6796 Рік тому

    how do you add syntax to a udf in the catalog?

    • @TIAustralia
      @TIAustralia  Рік тому

      If you have already defined the function, open up the relevant document in the MyLib folder and edit the definition. Navigate to the first line and add a comment (CTRL + T). One line of text can be used to create assistance. Save ... refresh libraries ... start a new document and access the UDF and you should see the help text below.

  • @hamzarachidi2520
    @hamzarachidi2520 2 роки тому

    Why this method only works in laptop not my calculator

    • @TIAustralia
      @TIAustralia  2 роки тому +1

      It will work on the handheld the same as it does on your computer. Make sure you refresh the library.