home *** CD-ROM | disk | FTP | other *** search
- (defun hdd93()
- (setvar "CMDECHO" 0)
- (command "vslide" "\\house1\\sld\\s754")
- (setq g "f")
- (setq g1 0)
- (while (and (/= g "s5") (/= g "S5"))
- (setq g1 (getint "\n╩Σ╚δ╝╞╦π╧ε<1-5>: "))
- (cond ((= g1 1) (jx51))
- ((= g1 2) (jx52))
- ((= g1 3) (jx53))
- ((= g1 4) (jx54))
- ((= g1 5) (jx55))
- )
- (setq g (getstring "\n╝╠╨°╝╞╦π <c> ╗≥═╦│÷ <s5>: "))
- )
- (check 'hdd75 "hdd75")
- )
- (defun jx51()
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq kq (getreal "\nkq= "))
- (setq ied (getreal "\nied= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* kk (* kjx (* kq ied))) nl))
- (setq km (getstring "\n╥¬╨ú╤Θ┴Θ├⌠╢╚┬≡?<Y/N>: "))
- (if (or (= km "y") (= km "Y"))
- (progn (setq a56 (getreal "\nid(2).min= "))
- (setq idz (/ (* idzj nl) kjx))
- (setq yu (/ a56 idz))
- (if (>= yu 2)
- (progn (setq k1 "yes")
- (print k1)
- (setq q "km= ")
- (setq yu (strcat q (rtos yu 2 4)))
- (print yu)
- )
- (print "no")
- )
- )
- )
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx52()
- (setq i "h")
- (setq i1 0)
- (while (and (/= i "s52") (/= i "S52"))
- (setq i1 (getint "╩Σ╚δ╝╞╦π╧ε<1-4>: "))
- (cond ((= i1 1) (jx521))
- ((= i1 2) (jx522))
- ((= i1 3) (jx523))
- ((= i1 4) (jx524))
- )
- (setq i (getstring "\n╝╠╨°╝╞╦π <c> ╗≥═╦│÷ <s52>: "))
- )
- )
- (defun jx521()
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq kq (getreal "\nkq= "))
- (setq ied (getreal "\nied= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* kk (* kjx (* kq (* ied 0.05)))) nl))
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx522()
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq ied (getreal "\nied= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* kk (* kjx ied)) nl))
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx523()
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq a533 (getreal "\nidd(3)= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* kk (* kjx (* a533 0.05))) nl))
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx524()
- (setq awo (getreal "\nawo= "))
- (setq idzj (getreal "\nidzj= "))
- (setq wjs (/ awo idzj))
- (setq q "wjs= ")
- (setq wjs (strcat q (rtos wjs 2 4)))
- (print wjs)
- )
- (defun jx53()
- (setq ied (getreal "\nied= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* 1.75 ied) nl))
- (setq km (getstring "\n╥¬╨ú╤Θ┴Θ├⌠╢╚┬≡?<Y/N>: "))
- (if (or (= km "y") (= km "Y"))
- (progn (setq a53 (getreal "\nid(2).min= "))
- (setq Idz (/ (* Idzj nl) kjx))
- (setq yu (/ a53 Idz))
- (if (>= yu 2)
- (progn (setq k1 "yes")
- (print k1)
- (setq q "km= ")
- (setq yu (strcat q (rtos yu 2 4)))
- (print yu)
- )
- (print "no")
- )
- )
- )
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx54()
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq ied (getreal "\nied= "))
- (setq kh (getreal "\nkh= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* kk (* kjx ied)) (* kh nl)))
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx55()
- (setq ic (getreal "\nic = "))
- (setq icd (getreal "\nicd= "))
- (setq idz (getreal "\nidz= "))
- (setq z1 (/ (- ic icd) 1.25))
- (if (<= idz z1)
- (progn (setq k1 "yes")
- (print k1)
- )
- (print "no")
- )
- (setq q "(Ic -Icd)/1.25=")
- (setq z (strcat q (rtos z1 2 4)))
- (print z)
- )
- (hdd93)