Skip to main content
May 22, 2023 11:21 PM UTC
Solved

Other

Hi, 

I'm defining Theta to be between 0 to 90 degrees, and when I reference it in the subsequent lines, I get an error indicating I did something wrong. Please see attached.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9 replies

May 23, 2023 9:09 AM UTC

Hi,

evaluate the range and then correct another errors.

MartinHanak_0-1684832813458.png

 

cadtelsimAuthor
May 23, 2023 5:07 PM UTC
Hi,
Thank you, I added the qual sign but then the sin^-1 is giving me the same error message "must be a scalar or matrix", but the same code in mahlab works, so its some syntax rule in Mathcad I'm missing here.

May 23, 2023 7:14 PM UTC

Hi

sin^-1 function does not exist. Use arcsin() or asin(). I cannot remember the right name of trigonometric function.

cadtelsimAuthor
May 23, 2023 5:22 PM UTC

I fixed two errors, I think it has to do with defining one variable with a range in terms of another but I don't know how to fix theta_t error. 

May 24, 2023 7:25 AM UTC

@cadtelsim wrote:

I fixed two errors, I think it has to do with defining one variable with a range in terms of another but I don't know how to fix theta_t error. 


Hi,

MartinHanak_0-1684912835653.png

  • remove the contents of red rectangles and you will get following state
 

MartinHanak_6-1684913108548.png

 

 

May 24, 2023 8:08 AM UTC

MartinHanak_1-1684915636341.png

MartinHanak_2-1684915661544.png