Notes
Notes - notes.io |
program toplam
character::cevap
pi=acos(-1.0)
print*,"radyan veya derece?"
read*,cevap
if (cevap=="r") then
y=1
else
y=pi/180
end if
print*,"x=?"
carpan=1
read*,x
x=x*y
n=0
sepet=1-X**2/2
terim=444
n=2
do while (terim.GT.0.000001)
n=n+2
faktor=1
do i=1,n,1
faktor=faktor*i
end do
terim=x**n/faktor
sepet=sepet+carpan*terim
carpan=carpan*(-1)
end do
print*,sepet
end program
---------------------------------------------------------------------------
integral x**2*cosx
program integral
print*,"a,b,n"
read*,a,b,n
dx=(b-a)/n
sepet=0
do x=a,b-dx,dx
fx=x**2*cos(x)
alancik=fx*dx
sepet=sepet+alancik
end do
print*,sepet
end program
-------------------------------------------------------------------------------
ingtegral x**2*cosx yamuğa göre
program integral
print*,"a,b,n"
read*,a,b,n
dx=(b-a)/n
sepet=0
do x=a,b-dx,dx
fx=x**2*cos(x)
fxdx=(x+dx)**2*cos(x+dx)
alancik=(fx+fxdx)/2*dx
sepet=sepet+alancik
end do
print*,sepet
end program
--------------------------------------------------------------------------------
select komutu
integer::deger
program secim
print*, "notunuz?"
read*,deger
select case (deger)
case ( :0)
print*,"cok soguk"
case (1:5)
print*, "kayseriye gidiyorsun"
case (6)
print*, "ankara"
case (7)
print*, "antalya"
case(8:180)
print*, "yurtdisi"
case default
print*, "uzay"
end select case
end program
------------------------------------------------------------------------------------
select komutu karakter
program secim
character(15)::deger
print*, "adiniz?"
read*,deger
select case (deger)
case ("osman")
print*,"osman cok soguksun"
case ("ali")
print*, "merhaba ali"
case ("ahmet")
print*, "merhaba ahmet"
case ("mert")
print*, "antalya"
case("veli")
print*, "yurtdisi"
case default
print*, "uzay"
end select
end program
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team