Message Boards Message Boards

GROUPS:

How to solve Pythagorean Formula with Quantity Variables?

Posted 4 years ago
2307 Views
|
0 Replies
|
0 Total Likes
|

When I use Quantity Variables the online notebook can not solve PythagoreanTheorem

f=FormulaData["PythagoreanTheorem"] /. { 
QuantityVariable["a","Length"]->QuantityVariable["l","Length"], 
QuantityVariable["b","Length"]->QuantityVariable["t","Time"] QuantityVariable["v", "Speed"],
QuantityVariable["c","Length"]->QuantityVariable["t","Time"] Quantity[1,"SpeedOfLight"]}

Solve[f, QuantityVariable["t","Time"]]

Does nothing!

But when I use usual variables the online notebook return solution

f=FormulaData["PythagoreanTheorem"] /. { 
QuantityVariable["a","Length"]->l, 
QuantityVariable["b","Length"]->t v,
QuantityVariable["c","Length"]->t Quantity[1,"SpeedOfLight"]}

Solve[f, t]

Return correct solution.

How to solve Pythagorean Formula with Quantity Variables?

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract