Posts

Showing posts with the label Volume of cone

In Sketchware: How to create a calculator for any simple formula?

Image
Create a simple formula calculator Android app in Sketchware Here is a tutorial to calculate using any simple formula, for users of Sketchware Android app. I'll take the example of calculating volume of a cone. Formula is:  V cone  = 1/3 × pi × r 2  × h Step 1 Download Sketchware Step 2 Go to my projects and start a new project. Fill details in Project Settings:- Package name: com.cone Project name: conevolume App name: Cone Volume App icon: App version: 1.0 Step 3 Create View of your app. It is saved as main.xml. The process is simple. In the view field drag and drop 'linear', 'textview', 'button' and 'edittext' to places where you want them to appear. In my project I have inserted 5 'linear', 4 'textview', 3 'edittext' and 2 'button'. Edit the 'textview' fields to write details. Modify text of 'button' to write calculate, Reset, etc. Change background color of ...