Skip to main content
10-Marble
May 22, 2023
Solved

Other

  • May 22, 2023
  • 2 replies
  • 2984 views

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best answer by MartinHanak

https://www.youtube.com/watch?v=dJdJopgQA_Q

 

2 replies

24-Ruby III
May 23, 2023

Hi,

evaluate the range and then correct another errors.

MartinHanak_0-1684832813458.png

 

cadtelsim10-MarbleAuthor
10-Marble
May 23, 2023
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.

24-Ruby III
May 23, 2023

Hi

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

cadtelsim10-MarbleAuthor
10-Marble
May 23, 2023

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. 

24-Ruby III
May 24, 2023

@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

 

 

24-Ruby III
May 24, 2023

MartinHanak_1-1684915636341.png

MartinHanak_2-1684915661544.png