Docsity

Mathcad Basics - Lecture Notes | CGN 3421, Study notes of Civil Engineering

Toggle sidebar
bg1
Mathcad Basics




•  
• !"
• #
$%&"'
() 
*+"
,-
.
/0
12+3

'4*
'12
5'4*
6'73182(1*29*:12
'43;</
'43;-.,
'43;) +"(*
3;= ;=5,3/ =
3;= ;=15,32/ =5
3;= ;=5,3( =>
?;=5,(,6 ?=
;=/ ='

)""""
1"%2')"1''9"
 2')"" 
'@":9: "
 "'A"
03'
pf3
pf4
pf5

Partial preview of the text

Download Mathcad Basics - Lecture Notes | CGN 3421 and more Study notes Civil Engineering in PDF only on Docsity!

      "'A   " 

  B         '

i := 1 2, .. 5 j := − 4 , − 2 .. 4 x := 0 0.1, ..0.4 y := 1 .. 5 z := 5 .. 1

i 1 2 3 4 5 = j

  • 0 2 4

= x 0

= y 1 2 3 4 5

= z 5 4 3 2 1

C0   9    " *   3 

: 'D& 9 EC0 @ FG% : '$ %

 " 3  H"'

2" 3   !@I@ 8 " : "  :'@

"  3 "   3  E G0 3  3 

E G'      & 3 3 

   K  

i := 1 .. 5 vec i := 1 +0.5 i⋅

valuei (vec i)

3 :=

valuei

OR

value

             

8    0 1 3 2E =G E H=G

A   ?   " 3    'A 0

80  "J%    J%

inc =0.

xT^ 1 2 3 4 5 6 7 8 9 10 1 -2 -1.222 -0.444 0.333 1.111 1.889 2.667 3.444 4.222 5

A      3    '+ @05" 3 0

;=  5 L;= ?9L;=(L

z

   

   

"    " L'

  'A3* 3     F

)0"  09  J 3 % 9 0J% 9  '  9 L

J 3  3 1 "  2 =% 0 '80     

"J;= 9''' '%0  60 '

y t( ) 5 + 0.6t .2 t 2 := − ⋅ +log sin t( ( ) + 2 )

y .1( ) = 5.38 y 30( ) =−156.

x 6 y 4( ) 2 := + x =24.

i := 1 1.5, ..2.5 y i( )

:"&  9 J  % J%"1  0=M" 2 

QuadEq a b( , ,c) radical b 2 ← −4 a⋅ ⋅c

ans (^1)

− b +radical 2 a⋅

ans 2

− b −radical 2 a⋅

ans

QuadEq solves the quadratic equation of the form (^) a x ⋅ 2 + b x⋅ + c= 0

QuadEq 2 3( , , 1 )

  

  

= QuadEq 4 0( , ,− 16 )

  

  

= radical :=    8 :5  9  0   'A 00  0 & 0& 1   2' @   0 @&  3  '  ' ()+!8  "  ?    9       '@ 9J%    9 0J %