Skip to content

How to define variables values with units defined in an equation? #25

@Nits7029

Description

@Nits7029

@kgram first of all thanks for creating such a great library. and It's working like a charm.

But here I want to achieve one thing, How to define variables values with units defined in an equation?

So here is the explanation:

Screenshot 2022-06-28 at 10 52 14 AM

It gives me the correct result with the correct unit = 1*10^6 N

Now I am trying to use a real equation with variables as below:

Screenshot 2022-06-28 at 10 51 12 AM

And it's giving me a wrong result with wrong unit = 1⋅10^5 kN/m cm

I am not sure whether the way I passed the variables is correct or not.

So could you please give me a proper example to achieve the correct result?

Thanks

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