{"id":30838667,"url":"https://github.com/0pkunal/sin-value-calculator-with-python","last_synced_at":"2025-10-26T02:18:29.804Z","repository":{"id":312851162,"uuid":"1048987931","full_name":"0PKunal/Sin-Value-Calculator-with-Python","owner":"0PKunal","description":"A simple Python script that calculates the sine of a given angle in degrees.","archived":false,"fork":false,"pushed_at":"2025-09-02T10:38:48.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T12:27:10.760Z","etag":null,"topics":["python","python-3","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0PKunal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-02T10:18:01.000Z","updated_at":"2025-09-02T10:38:51.000Z","dependencies_parsed_at":"2025-09-02T12:27:12.724Z","dependency_job_id":"b0a5fde3-9d72-45a2-8693-96dbaaf8ef38","html_url":"https://github.com/0PKunal/Sin-Value-Calculator-with-Python","commit_stats":null,"previous_names":["0pkunal/sin-value-calculator-with-python"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/0PKunal/Sin-Value-Calculator-with-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0PKunal%2FSin-Value-Calculator-with-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0PKunal%2FSin-Value-Calculator-with-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0PKunal%2FSin-Value-Calculator-with-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0PKunal%2FSin-Value-Calculator-with-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0PKunal","download_url":"https://codeload.github.com/0PKunal/Sin-Value-Calculator-with-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0PKunal%2FSin-Value-Calculator-with-Python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273941526,"owners_count":25195104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-3","python3"],"created_at":"2025-09-06T18:05:15.788Z","updated_at":"2025-10-26T02:18:24.773Z","avatar_url":"https://github.com/0PKunal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sin Value Calculator with Python\n\nA simple Python script that calculates the sine of a given angle in degrees.\n\n##  Features\n\n- Ask user to how many times they want to calculate sine values.\n- Takes user input for an angle in degrees\n- Converts the input to radians\n- Calculates the sine value using Python’s built-in `math.sin`\n- Displays the result with clear formatting\n- Supports multiple calculations in a single run.\n- Rounds results to **4 decimal places** for readability.\n\n##  Getting Started\n\n### Prerequisites\n\n- Python 3.x installed on your system\n\n### Usage\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/0PKunal/Sin-Value-Calculator-with-Python.git\n\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd Sin-Value-Calculator-with-Python\n   ```\n\n3. Run the script using:\n\n   ```bash\n   python sin_value_calculator.py\n   ```\n\n\n## Example\n\n```bash\nHow many times to calculate: 3\n\nSet 1\nEnter the angel: 30\nThe Sin value of 30.0° is 0.5000\n\nSet 2\nEnter the angel: 45\nThe Sin value of 45.0° is 0.7071\n\nSet 3\nEnter the angel: 60\nThe Sin value of 60.0° is 0.8660\n```\n\n## Expected Input \u0026 Output\n\n| Input (degrees) | Output (sine value) |\n| --------------- | ------------------- |\n| 0               | 0.0                 |\n| 90              | 1.0                 |\n| 180             | 0.0                 |\n| 270             | -1.0                |\n| 360             | 0.0                 |\n\n*(Results may vary slightly due to floating-point precision.)*\n\n## How It Works\n\nThe script:\n1. Prompts the user to enters how many times they want to calculate sine values.\n2. Prompts the user for an angle in degrees\n3. Converts it to radians using `math.radians`\n4. Calculates the sine using `math.sin`\n5. Prints the result\n\n## Requirements\n\n* Python 3.x (3.13.5 Recomended)\n* Standard library only (`math` module)\n\n## Optional Enhancements\n\nIf you’d like to extend this project, consider adding:\n\n* Support for radians input as an alternative\n* A graphical user interface (GUI) using Tkinter\n* Additional trigonometric functions (cos, tan, etc.)\n* Command-line arguments using `argparse` for automation\n  \n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003eMade with ❤️ by \u003ca href=\"https://github.com/0PKunal\"\u003e0PKunal\u003c/a\u003e\u003c/p\u003e\n  \u003cp\u003eIf this project helped you, please give it a ⭐️\u003c/p\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0pkunal%2Fsin-value-calculator-with-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0pkunal%2Fsin-value-calculator-with-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0pkunal%2Fsin-value-calculator-with-python/lists"}