cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to add two terms to the same defined variable

AS_10562569
4-Participant

How to add two terms to the same defined variable

I am trying to type the following into Mathcad for a lab: 

 

Capture.PNG

 I can define F1:=(f1*cos(a1), but when I press enter to input the second function, Mathcad exists the math block. I have tried searching numerous forms, but have not found an answer on how to type this in. Ultimately it should produce the following: 

Capture.PNG

Any assistance would be greatly appreciated. I am working with Mathcad Express Prime 8.0.0.0    

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:AS_10562569)

Type F Ctrl-- 1 : and then Press Ctrl-M to create a matrix/vector (you  may instead just type a [ ). Now type the first function call  and then Shift-Enter to create the placeholder for the second. Type it in and then leave the region by pressing Enter or left-click somewhere outside the region.

 

You may consider to study the help pages more thoroughly, maybe using the tutorials, too, for a first flight ...

https://support.ptc.com/help/mathcad/r8.0/en/#page/PTC_Mathcad_Help/keyboard_shortcuts_for_editing_arrays_and_tables.html#

https://support.ptc.com/help/mathcad/r8.0/en/#page/PTC_Mathcad_Help/Tutorials/gs_tutorial/task4-2_defining_matrices.html#

View solution in original post

3 REPLIES 3
Werner_E
25-Diamond I
(To:AS_10562569)

Type F Ctrl-- 1 : and then Press Ctrl-M to create a matrix/vector (you  may instead just type a [ ). Now type the first function call  and then Shift-Enter to create the placeholder for the second. Type it in and then leave the region by pressing Enter or left-click somewhere outside the region.

 

You may consider to study the help pages more thoroughly, maybe using the tutorials, too, for a first flight ...

https://support.ptc.com/help/mathcad/r8.0/en/#page/PTC_Mathcad_Help/keyboard_shortcuts_for_editing_arrays_and_tables.html#

https://support.ptc.com/help/mathcad/r8.0/en/#page/PTC_Mathcad_Help/Tutorials/gs_tutorial/task4-2_defining_matrices.html#

Hi,

Elaborating on Werner's answer there are two ways to enter the F1 matrix (square brackets)

a) element by element using keystroke [ to set the element index to F1. Elements start numbering at 0 by default.

b) create the two element matrix and fill in the rows. Matrices have square brackets around them.

Capture.JPG

Cheers

Terry

Its rather f1:=170 N and alpha1:=111°  🙂

Announcements

Top Tags