Trying to avoid the quartic formula

  • Context: Graduate 
  • Thread starter Thread starter CRYS1SX18
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary

Discussion Overview

The discussion centers on solving the equation |P + Vt + A(t^2)/2| = st for the variable t, where P, V, and A are vectors and s and t are scalars. The context involves projectile motion with constant acceleration and aims to find a solution without using the quartic formula.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents the equation and attempts to manipulate it by squaring both sides, leading to a quartic equation.
  • Another participant suggests that the original post resembles a homework problem and requests more context about the variables involved.
  • A participant clarifies that the problem is not homework and explains the physical scenario involving a projectile and a target with constant acceleration.
  • One participant proposes using a numeric solution approach, suggesting the use of Freemat, a free version of MATLAB, to compute the answer.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to solve the equation, with some suggesting numeric solutions while others focus on the algebraic approach. The discussion remains unresolved regarding the preferred method of solution.

Contextual Notes

There are unresolved aspects regarding the introduction of the variable G, which was later clarified to be A. The discussion also reflects a dependence on the definitions of the vectors and scalars involved in the equation.

CRYS1SX18
Messages
2
Reaction score
0
I need help solving for t in the following equation,

[tex]|P + Vt + A(t^2)/2| = st[/tex]

where P V and A are vectors and s and t are scalars.

I've tried squaring both sides which results in the equation

[tex](|A|^2/4)t^4+V.Gt^3+(P.G+|V|^2)t^2+2P.Vt + |P|^2 = s^2t^2[/tex]

[tex](|A|^2/4)t^4+V.Gt^3+(P.G+|V|^2-s^2)t^2+2P.Vt+|P|^2=0[/tex]

The only way I can think to solve this is through the quartic formula which is too unwieldy for my purposes and was wondering if anyone had any ideas.
 
Physics news on Phys.org
Welcome to PF!

This looks like homework and if so you should post it under the correct topic and use the homework template where you describe the problem, show relevant formula and your attempt at a solution.

Please be aware that PF will help you solve it but won't give you the answer without some work on your part.

Also it might help if you described where this equation is being used and what the P, V, A and s, t refer to.

Also your solution introduces a G which looks to be a vector too.
 
It isn't homework.

The problem is to hit a target with constant acceleration with a projectile that travels at constant speed.

Known variables are:

s(scalar) - the initial speed of your projectile

P(vector) - the initial position of the target relative to the shooter

V(vector) - the initial velocity of the target relative to the shooter

A(vector) - the constant acceleration of the target relative to the shooter

This means the targets equation of motion is
P(t) = P + Vt + 0.5 A t^2 (this formula does work in 3d)

where t is time

and no matter what direction you launch your projectile in it will always be s * t away from the shooter

and that's where |P + Vt+(At^2)/2| = st comes from

once that's solved for t you can plug it back into the equation of motion and aim at where the target will be at that time but I'm not sure how I would go about doing that without resorting to the quartic formula

I realize this is a physics problem but I've already done the physics aspect of it and just need help solving the mathematical equations.

also G is supposed to be A sorry about that
 
Last edited:
How about a numeric solution? You could use freemat a free version of MATLAB to compute the answer.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K