Solve a quadratic with trigonometric values in degrees
01-27-2020, 03:41 PM
Post: #1
 axekick Junior Member Posts: 6 Joined: Jan 2020
Solve a quadratic with trigonometric values in degrees
I'm trying to solve for x in the function:

-16.1(15/cos(x))^2 + 800*sin(x)*(15/cos(x)) =2000

It should be a "zeros" problem but my HP50g calculator is making me put it in radians mode and won't solve the equation in degrees. Does anyone know what I'm doing wrong? I can't find an example like this anywhere.
01-27-2020, 05:24 PM
Post: #2
 Albert Chan Senior Member Posts: 2,243 Joined: Jul 2018
RE: Solve a quadratic with trigonometric values in degrees
Hi, axekick

I tried this in emu48, degree mode, but cannot reproduce your problem.

[Orange]  for Num. Slv
Pick 1. Solve equation [Enter]

Eq: '-16.1*(15/COS(X))^2 + 800*SIN(X)*(15/COS(X)) - 2000'

X: 0 [SOLVE] → 29.4603650656
X: 60 [SOLVE] → 70.0019571424
01-27-2020, 05:52 PM
Post: #3
 axekick Junior Member Posts: 6 Joined: Jan 2020
RE: Solve a quadratic with trigonometric values in degrees
Thank you for trying that. I still can't get the answer I'm looking for. Also, when doing it that way, does the calculator write a value to the variable 'X' that then needs to be cleared?
01-27-2020, 06:33 PM
Post: #4
 Moggul Member Posts: 68 Joined: Jun 2019
RE: Solve a quadratic with trigonometric values in degrees
I duplicated Albert Chan's operations on my HP48G+ and get the same results.

11C 12C 15C 17BII 18C 19BII 21 25 27S 28S 32E 32S 32SII 33C 33S 34S 35S 38C 39gs 39GII 40gs 41C 41CV 41CX 42S 45 48G+ 48GII 49G 49G+ 50 67 71B 97
01-27-2020, 07:39 PM
Post: #5
 axekick Junior Member Posts: 6 Joined: Jan 2020
RE: Solve a quadratic with trigonometric values in degrees
I did it like that again and it worked. However, I was hoping i could just solve for zeros using "ZEROS" but I get a prompt to switch to radians and it doesn't perform the calculations unless I do. I suppose I'll just have to learn to use the equation solver. Thanks for the help!
01-28-2020, 03:11 AM (This post was last modified: 01-28-2020 03:11 AM by axekick.)
Post: #6
 axekick Junior Member Posts: 6 Joined: Jan 2020
RE: Solve a quadratic with trigonometric values in degrees
I'm about to give up on this calculator. I've used it for quite a few classes but usually my problems had numbers that worked out better and this calculator is not going to work for me on exam day if it won't solve these seemingly simple equations. I'm on a new problem now, again I know what the answer is from the solution manual but I can't get to it with my calculator and I've spent hours trying to figure out how. We're not even to the hard stuff yet and I'm scared! The algebra problem I'm stuck on is:

d*cos(30) = 25*sqrt(d/9.81)

The solution is d=84.95. I can't even get my calculator to give me a solution. I've tried solve, solvevx (using x as my variable), zeros and the equation solver with no luck.
01-28-2020, 05:16 AM
Post: #7 Carsen Member Posts: 206 Joined: Jan 2017
RE: Solve a quadratic with trigonometric values in degrees
The past replies are pointing you in the right direction. The equation solver is the best tool for the job on the 50g because your problem is asking for a numerical answer. If the equation solver doesn't work or spits out an error, enter a guess for the variable you are solving for and try again. It will find the answer closest to that guess.

However...

You can use SOLVE, SOLVEVX, & ZEROS to find the solutions as well. These functions are known as CAS (computer algebraic system) functions. Typically, to use CAS functions...
1. The calculator needs to be in radian mode
2. The calculator needs to be in exact mode. See the equals sign by R= in the header? You need that = sign.
3. The equation must have no decimal points in them. If they have decimal points in them, press [white shift] [ 6 ] REWRITE [ NXT] ->Q. This command will take the whole equation & convert decimals to fractions.

In order to understand the above, here are the steps used to solve your problem d*cos(30) = 25*sqrt(d/9.81) with the SOLVE command. I am assuming you are in RPN mode.
1. Look at the image attached & make sure the 50g's header has RAD & '=' displayed.
2. Type 'D*COS(30) = 25*SQRT(D/9.81)' and press ENTER
3. Now press [white shift] [ 6 ] REWRITE [ NXT ] ->Q.
4. Type 'D'. Then use the PURGE command.
5. Type 'D'. Then use the SOLVE command. You should get { D=62500/(981*COS(30)^2) D=0 }
6. Press [white shift] [ EVAL ] TYPE OBJ->
7. Get D=62500/(981*COS(30)^2) on level 1 of the stack & put the 50g in degree mode
8. Press [down arrow] [down arrow] [backspace] [backspace] [backspace] [orange shift] [ENTER]. It should say 84.9473326539.

A lot of work huh! This really shows that the equation solver is the best tool for the job. This calculator is hard to learn BUT once you get it, you'll cut through problems like a hot knife through butter.

If you have questions, let me know.

Attached File(s) Thumbnail(s) 01-28-2020, 05:51 AM (This post was last modified: 01-28-2020 05:52 AM by Mark Hardman.)
Post: #8 Mark Hardman Senior Member Posts: 525 Joined: Dec 2013
RE: Solve a quadratic with trigonometric values in degrees
(01-28-2020 05:16 AM)Carsen Wrote:  A lot of work huh!

Most of that work could be eliminated if the OP recognized that cos(30) = √3/2. From there, it is only a minor mental effort to come up with d = 2500/(3*9.81). Why on earth would you need a CAS to solve that?

IMO, this is an example of the dangers of symbolic calculators in the classroom.

I know... "OK, Boomer"...

Ceci n'est pas une signature.
01-28-2020, 09:57 AM
Post: #9
 Albert Chan Senior Member Posts: 2,243 Joined: Jul 2018
RE: Solve a quadratic with trigonometric values in degrees
(01-28-2020 05:51 AM)Mark Hardman Wrote:  Most of that work could be eliminated if the OP recognized that cos(30) = √3/2. From there, it is only a minor mental effort to come up with d = 2500/(3*9.81). Why on earth would you need a CAS to solve that?

Same with OP

Let t = tan(x), the equation is just quadratics: -16.1*225*(1+t²) + 800*15*t = 2000
Remember that t = tan(x) have period of Pi = 180°, x have 4 solutions

d*cos(30) = 25*sqrt(d/9.81) is also a quadratics (of √d), d thus have 2 solutions.
01-28-2020, 02:15 PM
Post: #10
 axekick Junior Member Posts: 6 Joined: Jan 2020
RE: Solve a quadratic with trigonometric values in degrees
Thanks everyone, especially you Carsen. That is a good explanation of how the CAS get used. I know this problem shouldn't need the CAS or any fancy calculator to solve this problem but I can't spend my meek brain power on solving the algebra when exam day is here. I spend too much time on it and if I have a tool in front of me that'll save me that time I just need to know how to use it on whatever comes up.

How do you get multiple answers from the equation solver in the case that there are multiple answers?
01-28-2020, 08:09 PM
Post: #11 Massimo Gnerucci Senior Member Posts: 2,620 Joined: Dec 2013
RE: Solve a quadratic with trigonometric values in degrees
(01-28-2020 02:15 PM)axekick Wrote:  (...) I can't spend my meek brain power on solving the algebra when exam day is here.(...)

The Times They Are a-Changin'

:)

Greetings,
Massimo

-+×÷ ↔ left is right and right is wrong
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)