วันจันทร์ที่ 11 กันยายน พ.ศ. 2560

Factorial 1

p=input("factorialคือ")
fact=1
for k=1:p
fact = k*fact
   
end
printf("\nจำนวนทั้งหมด%d\n",fact)

-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
factorialคือ5

จำนวนทั้งหมด120

If else 2

p=input ("ตัวเลข");
if(p>0)
    printf("\n positive")
   
elseif(p<0)
    printf("\n negative")
   
else
    printf("\n Zero")
end

-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
ตัวเลข0

 Zero 
-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
ตัวเลข5

 positive 
-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
ตัวเลข-5

 negative 

If else 1

function s=signum(x)
if(x>0)
s='positive'
elseif(x<0)
s='negative'
else
s='zero'
end
endfunction

-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
 
-->signum(0)
 ans  =
 
 zero   

My Salary 3

p=input("เงินเดือน......");
n=input("จำนวนปีที่ฝาก.......");
i=input("ดอกเบี้ยปีละ.......");
for j=1:n
f(j)=(p*12)*(1+(i/100))^j;
T=f(j);
j=j+1;
end
printf("\เงินในปีที่ %d เท่ากับ..%.3f\n",n,T)

-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
เงินเดือน......1500
จำนวนปีที่ฝาก.......20
ดอกเบี้ยปีละ.......1.25
àงินในปีที่ 20 เท่ากับ..23076.670

My Salary 2

//Future Value of money/Compound interest
clear
p=input("เงินเดือน......");
n=input("จำนวนปีที่ฝาก.......");
i=input("ดอกเบี้ยปีละ.......");
for j=15:n
f(j)=(p*12)*(1+(i/100))^j;
printf("\nจำนวนเงินที่จะมีอยู่ในธนาคาร..%.3f\n",f(j))
j=j+1;
end


-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
เงินเดือน......1500
จำนวนปีที่ฝาก.......15
ดอกเบี้ยปีละ.......1.25

จำนวนเงินที่จะมีอยู่ในธนาคาร..21686.925
 

My Salary 1

//Future Value of money/Compound interest
clear
p=input("เงินเดือน......");
n=input("จำนวนปีที่ฝาก.......");
i=input("ดอกเบี้ยปีละ.......");
for j=1:n
f(j)=(p*12)*(1+(i/100))^j;
printf("\nจำนวนเงินที่จะมีอยู่ในธนาคาร..%.3f\n",f(j))
j=j+1;
end

-->exec('C:\Users\5810110255\Desktop\dadada.sce', -1)
เงินเดือน......1500
จำนวนปีที่ฝาก.......15
ดอกเบี้ยปีละ.......1.25

จำนวนเงินที่จะมีอยู่ในธนาคาร..18225.000

จำนวนเงินที่จะมีอยู่ในธนาคาร..18452.813

จำนวนเงินที่จะมีอยู่ในธนาคาร..18683.473

จำนวนเงินที่จะมีอยู่ในธนาคาร..18917.016

จำนวนเงินที่จะมีอยู่ในธนาคาร..19153.479

จำนวนเงินที่จะมีอยู่ในธนาคาร..19392.897

จำนวนเงินที่จะมีอยู่ในธนาคาร..19635.308

จำนวนเงินที่จะมีอยู่ในธนาคาร..19880.750

จำนวนเงินที่จะมีอยู่ในธนาคาร..20129.259

จำนวนเงินที่จะมีอยู่ในธนาคาร..20380.875

จำนวนเงินที่จะมีอยู่ในธนาคาร..20635.636

จำนวนเงินที่จะมีอยู่ในธนาคาร..20893.581

จำนวนเงินที่จะมีอยู่ในธนาคาร..21154.751

จำนวนเงินที่จะมีอยู่ในธนาคาร..21419.185

จำนวนเงินที่จะมีอยู่ในธนาคาร..21686.925

วันจันทร์ที่ 4 กันยายน พ.ศ. 2560

Sci lab 4


Sci lab 3


Sci lab 2


Sci lab1


Sci lab program

http://www.scilab.org/download/6.0.0/scilab-6.0.0_x64.exe

Graph7


Graph6


Graph5


Graph4


จุดตัดจุดแรก       (-7.20 , 3.45)
จุดตัดจุดที่สอง    (1.39 , 0.78)

Graph3


Graph2




วันจันทร์ที่ 28 สิงหาคม พ.ศ. 2560

Graph



Calculation 4





Calculation 3


Calculation 2



Calculation 1


เอกสารเผยแพรอุตสาหกรรมนารู ความรูเบื้องตนเกี่ยวกับ อุตสาหกรรมเหล็กเเละเหล็กกลา

http://www.oie.go.th/sites/default/files/attachments/IndustBasicKnowledge/Master_11.pdf

Paper

อาจารย์กัลยาณี คุปตานนท์
https://drive.google.com/open?id=0B_E2CSSvxI-pQjh0ODk3X1AxeGs

อาจารย์เล็ก สีคง
https://drive.google.com/file/d/0B_E2CSSvxI-pWGd4S2d3eWhhMFU/view?usp=sharing

อาจารย์ประภาส เมืองจันทร์บุรี
https://drive.google.com/file/d/0B_E2CSSvxI-pWGd4S2d3eWhhMFU/view?usp=sharing

Materials selection in mechanical design

https://drive.google.com/file/d/0B_E2CSSvxI-pM3lHT3E3amZheUU/view?usp=sharing

Practical Heat Treating

https://drive.google.com/file/d/0B_E2CSSvxI-pYTFZc2tHSVptTlU/view?usp=sharing

วันพฤหัสบดีที่ 24 สิงหาคม พ.ศ. 2560

Find your dream computer specification

i7-6950x
asus strix 1080x2
corsair ax1500i
corsair vengeance 32gb
asus rog rampage v edition
ssd m.2 samsung 960 pro 1GB

Definition in Computer Hardware

CPU = Central Processing Unit
GPU = Graphics Processing Unit
RAM = Random-Access Memory
ROM = Read-only Memory
PC = Personal Computer
LCD = Liquid Crystal Display
UPS = Uninterruptible Power Supply
LAN = Local Area Network

Excel02

https://drive.google.com/open?id=0B_E2CSSvxI-pck9nWXNUN3NQc2s