- Electronics calculator for TI CXII-T
- 18 Mar 2020 04:42:14 pm
- Last edited by malagas_fire on 24 Mar 2020 04:34:15 pm; edited 2 times in total
This is a port from the Casio CG50 that is on going on this thread / post, which consists in a Electronics Calculator for some components and currently is being developed on TI CXII-T non-cas :
https://www.cemetech.net/forum/viewtopic.php?t=16393
It will provide same functionality as the Casio and is written in BASIC, please read the description on the link for further details.
For now just Resistive Diivider:
- Vout= Vin*(R2/(R1+R2))
2020-03-23:
-----------------
- Added simple / single condition for zero input for typing error
- Approximate result for Vout.
- Use optimization sugested by Izder456 for Disp value in same line... not seen in the manual... Thanks
2020-03-24:
- Added link for git repository for future updates for now on
Code:
Code:
Later i'll put on git repo for further and easier updates:
https://github.com/malagasonfire/electronicscalc.git
https://www.cemetech.net/forum/viewtopic.php?t=16393
It will provide same functionality as the Casio and is written in BASIC, please read the description on the link for further details.
For now just Resistive Diivider:
- Vout= Vin*(R2/(R1+R2))
2020-03-23:
-----------------
- Added simple / single condition for zero input for typing error
- Approximate result for Vout.
- Use optimization sugested by Izder456 for Disp value in same line... not seen in the manual... Thanks
2020-03-24:
- Added link for git repository for future updates for now on
Code:
Code:
Define rdiv()=
Prgm
:Disp "Resistive Divider"
:Request "Vin?",vin
:Request "R1?",r1
:Request "R2?",r2
:If r2=0 Then
: Disp "Error Div Zero"
: Goto end
:EndIf
:vout:=approx(((r2)/(r1+r2))*vin)
:Disp "Vout="&string(vout)
:Lbl end:
:Disp "End"
:EndPrgm
Later i'll put on git repo for further and easier updates:
https://github.com/malagasonfire/electronicscalc.git