Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Discussions


Index du Forum » Discussions » Casio Basic Beginner Questions
Timothy529 Hors ligne Membre Points: 32 Défis: 0 Message

Casio Basic Beginner Questions

Posté le 19/10/2021 16:40

Hello everyone, apologies for the english, I can google translate my posts to french before posting in the future if that is preferred. I am working on some projects for my classes to make tests easier and expand my knowledge of these calculators, and while there are a few good resources for the Casio BASIC programming language, I still have quite a few questions that are left unanswered. I am making this post to see if anyone would be kind enough to help me understand how I should go about accomplishing a few things I am unsure of how to do. Any replies would be appreciated. Thanks!

My first question is: when using
SolveN( Det (Mat A-(XIdentity M))=0)
in an If statement, how do I pause on the ListAns that is displayed after running this, or even store it in a list for later use? And how would I display that list?


Thebigbadboy Hors ligne Maître du Puzzle Points: 455 Défis: 16 Message

Citer : Posté le 25/03/2022 00:50 | #


I know it's been a while

Congrats for your exam !

You remember I said that, perhaps, I would write a prog to compute all eigenvalues of a given matrix ?
I was quite busy (well, seems like it's always the case, so surely my time management is slammed to the ground - french expression haha).
So during my playtime I managed to write a "beta" prog, using the QR algorithm explained previously.

The algorithm I wrote works really well, and computes all eigenvalues (real and complex) of (almost) any real matrix. I'm not currently sharing it, since there is one problem : "orthogonal-like" matrices make that the QR algorithm does not converge (see my thread at math.stackexchange).

Well, if anyone want it already (don't hesitate to ask !), I can of course publish it (I'm trying to not upload as many updates as my prog "Calcul Limites" ). But the fact is QR algorithm is therefore not the way to go (probably). I'll dig in another iterative algorithms, but the number of papers we can found online is absolutly pharaonic

Stay tuned !
Un problème sans solution est un problème mal posé — Albert Einstein
Lephenixnoir Hors ligne Administrateur Points: 24574 Défis: 170 Message

Citer : Posté le 25/03/2022 09:11 | #


Just a quick pointer: have you looked at this program by Alex_1186?
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Thebigbadboy Hors ligne Maître du Puzzle Points: 455 Défis: 16 Message

Citer : Posté le 25/03/2022 10:24 | #


Yes LephénixNoir, I have already looked at it

The program you linked (to diagonalize the matrix) is quite simple : it uses SolveN(), and using the results contruct the diagonal on which element are the eigenvalues.

The problem already mentionned is that SolveN() :
- can not compute complex eigenvalues
- can only compute a maximum of 10 eigenvalues
- can "forgot" an eigenvalue if it is far away from the others.

SolveN() is therefore not the way to go. The program that I wrote can already compute more than 40 (real and complex) eigenvalues (for a 40x40 matrix and bigger - but we are limited in memory...), the only problem is the "orthogonal-like" matrices. These matrices can also have complex eigenvalues.

What I could do is to add a pre-test to know if the matrix is an orthogonal-like one, but I don't know any alternative - for the moment.
Un problème sans solution est un problème mal posé — Albert Einstein

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2024 | Il y a 211 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd