Skip to main content
4-Participant
August 30, 2015
Solved

I am getting error as this value as unit:current^2 but must have units :unitless

  • August 30, 2015
  • 4 replies
  • 3646 views

Hi all,

I am getting error as this value as unit:current^2 but must have units :unitless.

Can anyone help me how to overcome this error.

I attached my code below.

Thanks in advance

Best answer by ValeryOchkov

You have the variable A as ampere (current) in the function v(t).

It is one case for Mathcad Mad House

4 replies

24-Ruby IV
August 30, 2015

You have the variable A as ampere (current) in the function v(t).

It is one case for Mathcad Mad House

1-Visitor
June 5, 2020

Hi,
I am also getting the same error. Program is saying it should be unitless. Please help me.

Please find attached the program.

23-Emerald IV
June 5, 2020

There are a couple of errors in your sheet:

1.

LucMeekes_0-1591338475123.png

When defining a range, you MUST apply the same unit to each of the elements of the range (the start value, the second value  and the end value). Now only the end value has a unit.

2. & 3.:

LucMeekes_1-1591338638862.png

lambda1 is undefined, I can find no definitionj of the function lambda1. That makes the function PT1 also undefined.

y1 is undefined, I can find no definition of that variable.

 

Success!

Luc