In the 2019 curriculum, there’s a formula on p. 313, the first formula under Stated and Effective Rates, that is equivalent to this one; that formula is solved for EAR instead of being solved for the stated rate, but you can get this formula from that one using bit of algebra.
Good news: A quick look at the HP manual showed functionality to calculate nominal rates based on compounding frequency, amounts, and time. You will read the manual to familiarize yourself with this potentially exam-saving tool, riiiiiiiiiiiiiiiiiiiight??? Because they actually LET you bring in an officially approved calculator, riiiiiiiiiiiiight???