Jump to content



Photo
- - - - -

Writing algebraic formulae in programs


  • Please log in to reply
8 replies to this topic

#1 SpaceWalrus31556

SpaceWalrus31556

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750GII

Posted 14 November 2019 - 11:39 AM

Hi all,

I'm trying to write a simple program to work out the binomial expansion for me quickly, but can't seem to find an "x" character which will behave as an unknown number and not a changeble variable, and will always display as "x".

Does this exist? Or do I need to book a visit to my optician?



#2 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 14 November 2019 - 05:04 PM

If you need to print the character X, then put X in double quotes. Like this: "X"

 

But there is no string concatenation as far as I know, so you may need to do multiple Locate commands. Check out how I print the results in this program for example: 

 

Locate 1,4,"B="
Locate 3,4,b

 

From: https://community.ca...ation-fx-5800p/


Edited by Tritonio, 14 November 2019 - 05:05 PM.


#3 SpaceWalrus31556

SpaceWalrus31556

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750GII

Posted 15 November 2019 - 09:51 AM

If you need to print the character X, then put X in double quotes. Like this: "X"

 

But there is no string concatenation as far as I know, so you may need to do multiple Locate commands. Check out how I print the results in this program for example: 

 

Locate 1,4,"B="
Locate 3,4,b

 

From: https://community.ca...ation-fx-5800p/

I'll be honest, I'm a bit of a noob, I just need to type x as an algebraic variable, such that if I were to do a binomial expansion, i would get 1+2X+3X^2+4X^3+..... etc. Where X won't act as a number, it'll just be X



#4 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 15 November 2019 - 10:21 AM

How do you do a binomial expansion in fx-9750GII? AFAIK it doesn't support CAS out of the box (perhaps you can install some CAS program for it) so it should not have any concept of "symbols".

 

There is X the variable, which contains a number. And there is X the character which is printed as is. But neither of these is understood as an algebraic symbol for solving algebraically something, since there is no CAS on the calc.



#5 SpaceWalrus31556

SpaceWalrus31556

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750GII

Posted 15 November 2019 - 01:43 PM

How do you do a binomial expansion in fx-9750GII? AFAIK it doesn't support CAS out of the box (perhaps you can install some CAS program for it) so it should not have any concept of "symbols".

 

There is X the variable, which contains a number. And there is X the character which is printed as is. But neither of these is understood as an algebraic symbol for solving algebraically something, since there is no CAS on the calc.

Ok briiliant, I don't suppose there is any CAS program that you know of?



#6 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 15 November 2019 - 03:27 PM

I don't. I don't have 9750 or 9850, yet so I only know few things about them. A quick google search found this: http://cas.jeuxcasio.com/en/ but it is for 9850, so maybe 9750 will be unable to run it? I'm not sure. Try googling around or asking in a new thread if nobody chimes in here after a couple of days. IIRC some people run the 9850 firmware on 9750 so perhaps you will be able somehow to run that CAS program I linked.



#7 Tritonio

Tritonio

    Casio Addict

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male

  • Calculators:
    fx-5800P, fx-991ES+, fx-991EX, HP Prime, fx-9750GIII, fx-3650P II

Posted 15 November 2019 - 11:08 PM

Check this: https://community.ca...for-fx-9860gii/



#8 pan.gejt

pan.gejt

    Casio Freak

  • Members
  • PipPipPipPip
  • 262 posts
  • Gender:Male
  • Location:CZ

  • Calculators:
    .

Posted 16 November 2019 - 07:31 AM

Another option is buying fx-CG50 and install Khicas addin if you need to deal with symbolic manipulations and computations

https://www-fourier....nstall_en#casio



#9 SpaceWalrus31556

SpaceWalrus31556

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750GII

Posted 18 November 2019 - 02:23 PM

Thank you all!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users