Skip to content

solve equations with units #444

@prfpeste

Description

@prfpeste

Hi,

if I solve an equation including units, I get an error message.

The code is:
p_1=1bar
T_1=20°C|K
T_2=200°C|K
k=1.4
f(x) = (x/p_1)^((k-1)/k)-T_2/T_1
p_2 = $Find{f(x) @ x = 0 : 10^10}

The error message is:
Error in "p_2 = $Find{f(x) @ x = 0 : 10^10}" on line [6]: Inconsistent units: "ht^(-0.29)·m^0.29·s^0.57 - unitless".

Is there an option to overcome this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions