Hello! Does anyone know how to use the plotfield() command on khicas? using fx 9750 giii. I want to try and graph y' = ysin(x) but everytime I try to put it as plotfield(y*sin(x)), it says bad argument value. How can I fix this and plot it as is?
Variables must be passed as arguments,
plotfield(y*sin(x),x,y)
You can also specify the x and y range there
plotfield(y*sin(x),x=-pi..pi,y=-2..2)
I have just added a new experimental feature in KhiCAS and Micropy on the FXCG50, when you save a session (or if you leave the application), the calculator will display a QR code. If you scan the QR code with your favorite mobile device, it should open your browser on the web version of Xcas and clone your session there.
It is unfortunately more complicated to do the reverse operation...
@parisse Is it possible to solve trigonometric equations exactly (within an interval)? For example, if I had solve(cos(x)=1/2,x=(0,pi)) it would return pi/3 ... etc
Yes:
solve(cos(x)=1/2 and x>0 and x<pi)
Thanks. Is there plans for implementing reciprocal trigonometric functions and calculus with them?
I don't understand your question: asin, acos and atan are implemented and available for CAS computations
Sorry @parisse, I meant sec, cosec and cot. I know sec is implemented but I don't see the others working.
That's because sec,cosec and cot are not fundamental trigonometric functions like sin/cos. If they are not already defined like sec, you can easily define them as user functions , e.g. for cosecant you can run
csc(x):=1/sin(x)
I have 5 issues with the project, 4 of which are bug reports:
1. The source tree is littered with temporary backup files, which confuses me how they didn't get deleted. One file is a symlink to something in /Users/parisse, and a couple were symlinked to files on your network. Please exclude those files from being part of the source code tarball.
2. The bundled app_tools directory is old enough that it can neither be built on the latest nightly nor the latest stable toolchain release.
3. When attempting to build using the latest nightly, the abs function in line 4494 of giac/kdisplay.cc should be replaced with fabs.
4. The bash scripts hardcode the absolute paths for rm and cp. Almost all of the time, they can be used without the /bin/ part, and I recommend you remove it because my OS does not respect the FHS and only has the sh executable in /bin.
5. The code below in both the Python interpreter and KhiCAS program differ in result. A previous version had returned 9.

Code:
def f(x):
    return x
print(f(f)(3))

clevor, you are not in the right topic according to the screenshot and comments, this topic is for the Casio fxcg50 not for the ti84+.
1-4/ The source tree is mostly a backup archive for me. There is probably some adaptation work if you want to compile it yourself, I can only insure that it compiles on my PC:-)
5/ As displayed on the calc screen, the parser is using implicit multiplication for f(f)(3), more precisely for f(f) because that's what math user expects for expressions like f(f+1).
The KhiCAS interpreter is not Python, it has a a Python compatibility mode, that will work for "normal" small programs like those you are writing using a CAS.
Hey @parisse do you think it would be possible to add a function that would be able to solve something like a trig integral step by step? like output the expression given as a series of steps with each step being its own output line something like: integrate((tan^2(x)+sin^2(x))/(ln(secx)))? Which would then give lines of working out for example:
1: “tan^2(x) = sec^2(x) - 1”
2: “Numerator = sec^2(x) - 1 + sin^2(x)
3: “sin^2(x) = 1 - cos^2(x)”
4: “sec^2(x) - 1 + 1 - cos^2(x)”
5: “ Numerator = sec^2(x) - cos^2(x)
So on and so forth.


That would be an incredibly useful function especially for differentiating and integrating complex integrals/derivations. sorry if I'm asking for a bit much haha.
There is support for step by step integration and derivation in the source code, it is currently not activated because there is no adapted UI. I can easily add 1-d logs in the shell.
You might however be surprised, because the CAS may not follow the same intermediate steps as you for integration, for derivation it should be more similar.
Now added, in the full version only.
Thanks! step by step processes are always amazing and especially useful when it comes to stuff like derivation and integration. I honestly didn't it was possible to implement with file constraints and all, props to you for already having it mostly integrated.

Quote:
You might however be surprised, because the CAS may not follow the same intermediate steps as you for integration, for derivation it should be more similar.
Probably because I was using trig identities.

That was actually another thing I kind of wanted to ask about implementing but I get that you don't have all the time in the world and cant possibly add everything into a program with very limited file size like KhiCas50, things like trig substitution, product/chain/quotient rules and their antiderivatives, u substitution suggestions, PDE's etc, things like that would just be incredibly difficult to add into the program and have a hierarchy for, though it would certainly be impressive and extremely useful if they were apart of the program.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 4 of 4
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement