Algoritma – LAB 3 (Solution)

$ 29.99
Category:

Description

1. İki sayının toplamını bulan algoritma. (The algorithm that finds the sum of the two numbers.)
2. Doğum tarihi verilen kişinin yaşını bulan algoritma. (Draw the algorithm that calculates the age of a person who is born in a given year.)
3. Verilen yılın artık yıl olup olmadığını bulan algoritma. (The algorithm that finds whether the entered year is leap year or not.)
4. Verilen bir S sayısının, T tabanına göre logaritmasını bulan algoritma. Örneğin; 512 sayısının 2 tabanına göre logaritması: Log2512 = Log229 = 9.log22 = 9.1 = 9 olur. Çözüm olarak => ln S / ln T kullanılabilir (T, 0 ve 1 olmamak üzere). (The algorithm that finds the logarithm of a given number S according to the base T. For example; The logarithm of the number 512 according to the base 2 is as follows: Log2512 = Log229 = 9.log22 = 9.1 = 9. As a solution use ln S / ln T (T is not 0 and 1).
5. Kenarları A, B, C, D olarak verilen bir dörtgenin kare olup olmadığını bulan algoritma. (Draw the algorithm to find out whether a given rectangle with edges A,B,C,D is a square or not.)
6. A ve B sayıları 50’den büyük ise C=A+B işlemini yapan algoritma. (If A and B numbers are greater than 50, calculate C = A + B.)
7. Bir uçak 15 dakika boyunca düzgün hızlanarak hızı 480 km/dk oluyor. Sonra 20 dk. sabit hızla gidiyor ve 15 dk. boyunca düzgün yavaşlayarak hızı sıfır oluyor. Herhangi bir t anında hızı veren algoritma. (An airplane is accelerating smoothly for 15 minutes at a speed of 480 km / min. Then goes steady for 20 minutes. It then slows down smoothly for 15 minutes and the speed is zero.
Plot the flow diagram of the algorithm giving the speed at any time.)

Reviews

There are no reviews yet.

Be the first to review “Algoritma – LAB 3 (Solution)”

Your email address will not be published. Required fields are marked *