Тёмный

How to create and use user defined keys on the HP Prime. 

Bernhard Arp Sørensen
Подписаться 9
Просмотров 674
50% 1

A quick introduction to setup and use user-defined keys on the HP Prime.
For more information, look at chapter 29 in the user manual on page 615.
Please comment below. I would love some contructive feedback.

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@giubin
@giubin 8 месяцев назад
Where did you get the rlc app?
@bernhardarpsrensen
@bernhardarpsrensen 7 месяцев назад
Here's the program. You need to initialize 3 variables before running the programs: IC, XC and UCC. Just give them random values. After that, it doesn't matter. 🙂 There might be other variables that needs initializing before first run of the program. Let med know if you learn a better way than mine. Good luck. EXPORT UCC; EXPORT XC; EXPORT XL; EXPORT UR; EXPORT UC; EXPORT UL; EXPORT IL; EXPORT IR; EXPORT IZ; EXPORT SerialRLC() BEGIN LOCAL thechoice = 1; PRINT(); WHILE thechoice == 1 DO CHOOSE(thechoice, "MAIN MENU", "Enter values", "QUIT"); IF thechoice==1 THEN PRINT(); INPUT( {UCC, R, XC, XL}, "Serial RLC filter", {"Voltage:", "Resistance:","Capacitance:","Inductance:"}, { "Input an voltage in volts.", "Input an resistance in Ohm.", "Input an capacitance in Ohm.", "Input an inductance in Ohm."} ); UCC▶UCC; R▶R; XL▶XL; XC▶XC; print("Voltage: " + UCC + " UCC"); print("Resistor: " + R + " Ohm"); print("Capacitance: " + XC + " Ohm"); print("Inductance: " + XL + " Ohm"); Z9 := R+(XL*)-(XC*); Z9▶Z9; PRINT("Impedance: " + Z9 + " Ohm [Vector]"); PRINT("Impedance: " + ABS(Z9) + " Ohm [Scalar]"); PRINT("Angle: " + ARG(Z9) + " degrees"); IF ARG(Z9) < 0 THEN PRINT("Circuit is capacitive."); ELSE PRINT("Circuit is inductive."); END; I := UCC/ABS(Z9); PRINT("Current: " + I + " A"); UR := R * I; PRINT("UR: " + UR + " V"); UC := XC * I; PRINT("UC: " + UC + " V"); UL := XL * I; PRINT("UL: " + UL + " V"); PRINT("Press any key to continue ..."); WAIT(0); END; END; END; EXPORT ParallelRLC() BEGIN LOCAL thechoice = 1; PRINT(); WHILE thechoice == 1 DO CHOOSE(thechoice, "MAIN MENU", "Enter values", "QUIT"); IF thechoice==1 THEN PRINT(); INPUT( {UCC, R, XC, XL}, "Serial RLC filter", {"Voltage:", "Resistance:","Capacitance:","Inductance:"}, { "Input an voltage in volts.", "Input an resistance in Ohm.", "Input an capacitance [XC] in Ohm.", "Input an inductance [XL] in Ohm."} ); UCC▶UCC; R▶R; XL▶XL; XC▶XC; print("Voltage: " + UCC + " UCC"); print("Resistor: " + R + " Ohm"); print("Capacitance: " + XC + " Ohm"); print("Inductance: " + XL + " Ohm"); IF R > 0 THEN IR := UCC/R; ELSE IR := 0; END; PRINT("IR: " + IR + " A"); IF XC > 0 THEN IC := UCC/XC; ELSE IC := 0; END; PRINT("IC: " + IC + " A"); IF XL > 0 THEN IL := UCC/XL; ELSE IL := 0; END; PRINT("IL: " + IL + " A"); IZ := IR + IC* + IL*−; PRINT("Current: " + IZ + " A"); PRINT("Current: " + ABS(IZ) + " A"); Z9 := UCC/IZ; PRINT("Impedance: " + Z9 + " Ohm"); PRINT("Impedance: " + ABS(Z9) + " Ohm"); PRINT("Angle: " + ARG(Z9) + " degrees"); IF ARG(Z9) > 0 THEN PRINT("Circuit is capasitive."); END; IF ARG(Z9) < 0 THEN PRINT("Circuit is inductive."); END; IF ARG(Z9) == 0 THEN PRINT("Circuit is resisitive."); END; PRINT("Press any key to continue ..."); WAIT(0); END; END; END;
@giubin
@giubin 7 месяцев назад
@@bernhardarpsrensen many thanks... I had to add "EXPORT IC;" to define IC, but it's all ok. Thanks.
Далее
My HP Prime G2 Long Term Review.
16:11
Просмотров 116 тыс.
HP Prime - video review and initial impressions
12:30
Просмотров 146 тыс.
Меня Забанили в Steam CS2 / PUBG
19:19
Просмотров 220 тыс.
In Depth Tutorial On How To Graph With Your HP Prime
21:54
HP Prime - Apps as current working environments
12:38
HP Prime - Plotting APP (Advanced Graphing) Intro.
12:07
HP Prime vs TI-nspire CX II CAS | Review and Comparison
16:45
HP Prime Graphing Calculator Review
10:43
Просмотров 66 тыс.