Eong Koungmeng

Eong Koungmeng - អ៊ឹង គួងម៉េង

Hot

Post Top Ad

Saturday, 23 July 2022

Chapter 7 Vector exercises 7.2 7.3

July 23, 2022 0

Eong Koungmeng ITE-G8-A2 Chapter 7 Vector exercises

Read More

Calculate Area of Irregular Polygon with C++

July 23, 2022 0

About program

Use C++ to calculate area using shoelace formula.

Usage

To calculate area you need to change the variable number_of_polygon to the number of polygon your shape has. And change the coordinates array to the coordinate of each vertices of your shape. You need to list it in counter-clockwise position, and don't forget to add the first vertex to the back of the array to create a loop.

Example and output



Read More

Convert Degrees to Degrees Second Minute

July 23, 2022 0

About Program

Convert Longtitude and Latitude degrees to DSM and vice versa

Download

Read More

Tuesday, 12 July 2022

Earth Escape

July 12, 2022 0

About my Game

Earth is escaping from obstacles to meet his star. Programming in Scratch 3..

Read More

Thursday, 30 June 2022

Use program to calculate area under curve with trapezoidal rule

June 30, 2022 0

Exercise

Use program to calculate area under curve with trapezoidal rule.
Here is the data.

The program in C++

First it read the data from the CSV file. Then it put the data into arrays. After that the program calculate trapezoidal area using for-loop. Finally, it output the result. NOTE: You must convert the excel file to csv file and remove the header and store it in the same directory in order to make the program work.

The output

Read More

Tuesday, 28 June 2022

Riemann Sum Program

June 28, 2022 0

Exercise

Using C++ to calculate Riemann Sums

This program creates a CSV file containing numbers of subintervals(n), left Riemann sum(L_n), right Riemann sum(R_n), and midpoint Riemann sum. Using for-loop to do the summation.

Github Repo

Result

Google Sheets

Read More

Thursday, 16 June 2022

Prove limits 7-8

June 16, 2022 0

Eong Koungmeng ITE-G8-A2 limits proof

Read More

Post Top Ad