<commit_before>#!/usr/bin/python

from __future__ import division
from Tkinter import *

import re
import math
import tkMessageBox

xVar = input("input x variable: ")
print xVar
deltaE = input("input your delta E variable: ")
print deltaE<commit_msg>laptop about to die, might need to transition to school computer<commit_after>#!/usr/bin/python

from __future__ import division
from Tkinter import *

import math
import tkMessageBox

xVar = input("input x variable: ")
print xVar , "is your x var"
deltaE = input("input your delta E variable (predefined error value): ")
print deltaE, "is your delta e"


newX = xVar * (math.pi/180)
c = math.sin(newX)
print c , "is your c"

y = 0
k = 1
n = 0

while ((math.fabs(c - y)) > deltaE):
	if (y % 2 == 0):
		y = y + (newX**k)/(math.factorial(k))
		print y
		print "hey"
	else:
		y = y - (newX**k)/(math.factorial(k))
		print y
		print "hoe"
	n = n + 1
	print n, "cycles"
	k = k + 2

print y , "is your final y value"
print "cycled ", n , " total times"
{'fraction_non_alphanumeric': 0.1285140562248996, 'fraction_numerical': 0.010040160642570281, 'mean_word_length': 3.702830188679245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7360142', 'n_tokens_mistral': 387, 'n_tokens_neox': 362, 'n_words': 134}