` ``Output(1,1,"Y= (X- )+") Output(1,3,Y₂(Z)) Output(1,11,A) Output(1,18,Y₁(Z))`

In this example I put 5 spaces between each part so that it will show up to five decimal places of the values, but you can adjust the number of spaces and the starting column (the second argument of the Output command) to make the numbers show up exactly how you want!

Two quick notes: For clarity I included the closing quotes/parenthesis on the end of each line, but to save space you can remove them, since the Output command works without them! Also, there may be a more complicated but more efficient way to achieve this same result by using the toString command. If you're interested I can explain it, or feel free to check out the toString command page for more info!

]]>I've played around with it and the 2nd one seems to be working perfectly, which I am thankful for.

To clarify what I am trying to do, I am trying to program the calculator into finding the tangent line of an equation I have given one point.

I know the formula y = Df(a)(x-a) + f(a) and I am trying to make usage of that.

` ``Input "Function:",Str1 StringEqu(Str1,Y₁ Input "Derivative:",Str2 StringEqu(Str2,Y₂ Input "X=",Z Y₂(Z)(X-A)+Y₁(Z)→Y Disp "Y=",Y`

This is what I currently have, this seems to be working well excluding the fact that it is giving a certain value to "X" and not leaving it just as "X"

For example it returns me "Y= 5" (Because it assumes that x = 0?

Is there a way to go around it or is it impossible?

Thanks

Edit: if not, is there a way to use matrices and display the coefficients or something similar, perhaps?

]]>If you have a function stored to one of the Y= variables such as Y₁, you can use the notation Y₁(X) to return the y-value for a corresponding x-value. So simply ask the user to input a value for X, then display Y₁(X).

If you want the user to input a function *during* the program, instead of using one that was previously typed into the Y= page, you can use the Input command! Doing this

` ``Input "Y₁:",Y₁`

will take what is entered and store it to Y₁. However, using the Input command to store to Y₁ requires the user to put quotes around the function when they type it in, which I find annoying and unintuitive. Instead, you can do

` ``Input "Y₁:",Str1 StringEqu(Str1,Y₁`

This stores to a string variable, which doesn't need to be entered with quotes around it, and then stores that string to Y₁. The code is longer but provides a nicer experience, so take your pick! ]]>

So I am working on a school project and I was wondering if there was a way to make a program that asks you to insert a function equation, together with an x variable. I want to have the calculator use that x variable to fill the equation in and return you the y value.

I need this to program something else which I have in mind.

I am a novice when it comes to programming but I catch on things quickly, if you can give me an idea or example of how to do it I will be sure to pick it up!

I am using a Ti-84 and the "Ti Connect CE" app to program my calculator.

Any help is very appreciated!

Thanks.

]]>