blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
a42c35fe613761a8afbf6b85dbf371c8694210a8
1d15736922eae7a30a6bf117ae005d351abb0aad
/DungeonCrawler/data/img/tileset/Cave01.tst
4a49790c0ea7613929ebdf49696964bd2ba21132
[]
no_license
weyzohorth/DungeonCrawler
884cfa125dbcd396b5019a2c059d982cf26bb98c
cf8152791b16d0e2f51c498b9010fd4f46665f3d
refs/heads/master
2021-01-01T20:06:26.387732
2017-10-15T23:53:08
2017-10-15T23:53:08
6,539,738
0
0
null
null
null
null
UTF-8
Scilab
false
false
296
tst
Cave01.tst
01100001 01100010 00000000 00111111 00011000 11111101 11111111 11100111 11100111 11100111 11110001 11111111 11100000 11100111 11100000 11100000 11100000 11100000 11100000 00100000 00100000 00000000 00000000 00000000 00000000 00000000 10100000 11100000 11111111 11111110 10000000 00000000 11111111
b55a3c1febd34c3ab38a03668a00b0c5d28d58a8
449d555969bfd7befe906877abab098c6e63a0e8
/3819/CH3/EX3.14/Ex3_14.sce
60f77ad30cb16f6e22c049be15f176cff0aa6bf8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
813
sce
Ex3_14.sce
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal // Chapter 3-Hydrostatic Forces on surfaces // Problem 3.14 //Problem a) //Data given in the Problem b=2 d=3 theta=30 dens=1000 g=9.81 //Calculations //1)total pressure A=b*d h=1.5+1.5*sin(30/180*%pi) F=dens*g*A*h mprintf("Part a)\nThe total pressure is %f N\n",F) //2) IG=(b*(d^3))/12 H=IG*sin((30/180*%pi))^2/(A*h)+h mprintf("The COP is %f m \n",H) //Problem b) //Data given in the Problem b=3 d=4 theta=30 dens=1000 A=b*d h=2+2*sin(theta/180*%pi) //Calculations //1) F=dens*g*A*h mprintf("Part b)\nThe total pressure is %f N\n",F) //2) //2) IG=(b*(d^3))/12 H=IG*sin((30/180*%pi))^2/(A*h)+h mprintf("The COP is %f m \n",H)
950c6b12871833d2e810b25dabb90ad783843bc2
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.4/ex_3_4.sce
ec6f585764137eecd888af405588111ade6799c4
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
339
sce
ex_3_4.sce
errcatch(-1,"stop");mode(2);//Example 3.4: Resistor,current and power loss ; ; //given data : S=0.1;// in ohm Vs=1.0235;// in V Vr=0.4211;// in V R=(Vr/Vs)*S; disp(R,"Resistance of unknown resistor,R(ohm) = ") I=Vs/S; disp(I,"Current through the resistor,I(A) = ") P=I^2*R; disp(P,"Power loss in the unknown resistance,P(W) = ") exit();
12d06161bf43863ee4b1e3ce07df3c43076ee132
6e257f133dd8984b578f3c9fd3f269eabc0750be
/ScilabFromTheoryToPractice/CreatingPlots/entetegrille.sce
2cbe28d8b4900561319a629e11da2410f9fccfcc
[]
no_license
markusmorawitz77/Scilab
902ef1b9f356dd38ea2dbadc892fe50d32b44bd0
7c98963a7d80915f66a3231a2235010e879049aa
refs/heads/master
2021-01-19T23:53:52.068010
2017-04-22T12:39:21
2017-04-22T12:39:21
89,051,705
0
0
null
null
null
null
UTF-8
Scilab
false
false
67
sce
entetegrille.sce
clf; plot2d(0,0,0,rect=[0,0,10,10],frameflag=3) xgrid(4) // grid
fc2fc4f0362e3b7df80277fa3f8b5b81c9bab1a7
e223a3388730b3a8ab63f7565156d5bf7a65e44b
/scilab/c2s.sci
5df2077997eed3ad8479d656f8e1466875e7cb9f
[]
no_license
YSBF/flight_control
1cfef21947c9497659eea3cf631b4de207a0a851
fc74021c2bd62819ea4f637b45936ab2edf9e7af
refs/heads/master
2020-04-15T21:47:09.796455
2018-06-07T21:28:29
2018-06-07T21:28:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
80
sci
c2s.sci
function s = c2s(c,n) s = c; s(s>=2^(n-1)) = s(s>=2^(n-1)) - 2^n; endfunction
9ca493c1c2dfdb6e5808ea23fb2691ce64632edc
36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd
/4D Tracking.sce
524020297b12b2e7f4a7780cfa18975e996193bf
[]
no_license
Ahmad6543/Scenarios
cef76bf19d46e86249a6099c01928e4e33db5f20
6a4563d241e61a62020f76796762df5ae8817cc8
refs/heads/master
2023-03-18T23:30:49.653812
2020-09-23T06:26:05
2020-09-23T06:26:05
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
30,071
sce
4D Tracking.sce
Name=4D Tracking PlayerCharacters=A_air_trace_frozen BotCharacters=Bot Rotation air.rot IsChallenge=true Timelimit=240.0 PlayerProfile=A_air_trace_frozen AddedBots=Bot Rotation air.rot PlayerMaxLives=0 BotMaxLives=1 PlayerTeam=1 BotTeams=2 MapName=square_novertical.map MapScale=2.0 BlockProjectilePredictors=false BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=100.0 ScorePerDamage=0.0 ScorePerKill=0.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=100.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=Track, Trace, 360 WeaponHeroTag=TM100 DifficultyTag=3 AuthorsTag=fuglaa BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=false Description=Track a bot in four dimensions GameVersion=1.0.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=air1_close_long DodgeProfileNames=Long Strafes Close DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1 SeeThroughWalls=false [Bot Profile] Name=air1_far_long DodgeProfileNames=Long Strafes Jumping DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1 SeeThroughWalls=false [Bot Profile] Name=air_close_short DodgeProfileNames=Short Strafes Close DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1 SeeThroughWalls=false [Bot Profile] Name=air1_far_short DodgeProfileNames=Short Strafes Jumping DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1 SeeThroughWalls=false [Bot Profile] Name=air1F_close_long DodgeProfileNames=Long Strafes Close DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1_fast SeeThroughWalls=false [Bot Profile] Name=air1F_far_long DodgeProfileNames=Long Strafes Jumping DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1_fast SeeThroughWalls=false [Bot Profile] Name=air1F_close_short DodgeProfileNames=Short Strafes Close DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1_fast SeeThroughWalls=false [Bot Profile] Name=air1F_far_short DodgeProfileNames=Short Strafes Jumping DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1_fast SeeThroughWalls=false [Bot Profile] Name=air1_UFO DodgeProfileNames=Very Short Strafes + Jump;Long Strafes Close DodgeProfileWeights=1.0;0.5 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=air1_UFO SeeThroughWalls=false [Bot Rotation Profile] Name=Bot Rotation air ProfileNames=air1_close_long;air1_far_long;air_close_short;air1_far_short;air1F_close_long;air1F_far_long;air1F_close_short;air1F_far_short;air1_UFO ProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 Randomized=false [Character Profile] Name=A_air_trace_frozen MaxHealth=100.0 WeaponProfileNames=Track Master 100;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=0.0 MaxCrouchSpeed=500.0 Acceleration=16000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=0.0 Gravity=0.0 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=55.0 MainBBHasHead=true MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 [Character Profile] Name=air1 MaxHealth=1000.0 WeaponProfileNames=;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=1000.0 MaxCrouchSpeed=500.0 Acceleration=16000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=3.0 AirControl=0.25 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=100.0 MainBBHasHead=false MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=true JetpackActivationDelay=0.2 JetpackFullFuelTime=100000.0 JetpackFuelIncPerSec=0.1 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=1.0 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 [Character Profile] Name=air1_fast MaxHealth=1000.0 WeaponProfileNames=;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=1500.0 MaxCrouchSpeed=500.0 Acceleration=16000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=3.0 AirControl=0.25 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=100.0 MainBBHasHead=false MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=true JetpackActivationDelay=0.2 JetpackFullFuelTime=100000.0 JetpackFuelIncPerSec=0.1 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=1.0 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 [Character Profile] Name=air1_UFO MaxHealth=1000.0 WeaponProfileNames=;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=2000.0 MaxCrouchSpeed=500.0 Acceleration=16000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=3.0 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=100.0 MainBBHasHead=false MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=true JetpackActivationDelay=0.2 JetpackFullFuelTime=100000.0 JetpackFuelIncPerSec=0.1 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=1.0 AbilityProfileNames=Blink.abilmov;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 [Dodge Profile] Name=Long Strafes Close MaxTargetDistance=750.0 MinTargetDistance=200.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.0 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.1 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Long Strafes Jumping MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.65 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Short Strafes Close MaxTargetDistance=750.0 MinTargetDistance=200.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.0 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.1 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Short Strafes Jumping MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.65 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.5 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Very Short Strafes + Jump MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.1 MaxLRTimeChange=0.3 MinFBTimeChange=0.1 MaxFBTimeChange=0.3 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.6 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Weapon Profile] Name=Track Master 100 Type=Hitscan ShotsPerClick=1 DamagePerShot=1.0 KnockbackFactor=0.0 TimeBetweenShots=0.01 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=1000000.0 GravityScale=1.0 HeadshotCapable=false HeadshotMultiplier=2.0 CooldownType=InfiniteUse MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.5 ReloadTimeFromPartial=0.5 CooldownTimer=5.0 MaxCharges=3 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=None ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileWorldHitRadius=1.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomFactor=0.7 ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.05 HitSoundCooldown=0.01 ShootSound=Shot HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.0 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=0.0 TaggingHitFactor=0.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Quake Champions ADSAllowUserOverrideFOV=true HitscanGraphicOriginAtWeapon=true ProjectileGraphicOriginAtWeapon=true Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,5.0 SpreadSCA=1.0,1.0,-1.0,5.0 SpreadMSA=1.0,1.0,-1.0,5.0 SpreadMCA=1.0,1.0,-1.0,5.0 SpreadSSH=0.0,0.1,0.0,0.0 SpreadSCH=1.0,1.0,-1.0,5.0 SpreadMSH=0.0,0.1,0.0,0.0 SpreadMCH=1.0,1.0,-1.0,5.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=1.0 AAMaxSpeed=1000.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Movement Ability Profile] Name=Blink MaxCharges=3.0 ChargeTimer=3.0 ChargesRefundedOnKill=0.0 DelayAfterUse=0.1 FullyAuto=false AbilityDuration=0.075 LockDirectionForDuration=true NegateGravityForDuration=true MainVelocity=15000.0 MainVelocityCanGoVertical=false MainVelocitySetToMovementKeys=true UpVelocity=0.0 EndVelocityFactor=0.075 Hurtbox=false HurtboxRadius=50.0 HurtboxDamage=50.0 HurtboxGroundKnockbackFactor=1.0 HurtboxAirKnockbackFactor=1.0 AbilityBlocksTurning=false AbilityBlocksMovement=true AbilityBlocksAttack=false AttackCancelsAbility=false AbilityReloadsWeapon=false HealthRestore=0.0 AIUseInCombat=true AIUseOutOfCombat=false AIUseOnGround=true AIUseInAir=true AIReuseTimer=1.0 AIMinSelfHealth=0.0 AIMaxSelfHealth=100.0 AIMinTargHealth=0.0 AIMaxTargHealth=100.0 AIMinTargDist=1500.0 AIMaxTargDist=1000000.0 AIMaxTargFOV=15.0 AIDamageReaction=true AIDamageReactionIgnoreChance=0.75 AIDamageReactionMinDelay=0.125 AIDamageReactionMaxDelay=0.25 AIDamageReactionCooldown=1.0 AIDamageReactionThreshold=25.0 AIDamageReactionResetTimer=1.0 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -936.000000 -1088.000000 1216.000000 1064.000000 -1088.000000 1216.000000 1064.000000 -1088.000000 -784.000000 -936.000000 -1088.000000 -784.000000 -936.000000 -1152.000000 1216.000000 1064.000000 -1152.000000 1216.000000 1064.000000 -1152.000000 -784.000000 -936.000000 -1152.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -1120.000000 912.000000 1216.000000 -936.000000 912.000000 1216.000000 -936.000000 912.000000 -784.000000 -1120.000000 912.000000 -784.000000 -1120.000000 -1088.000000 1216.000000 -936.000000 -1088.000000 1216.000000 -936.000000 -1088.000000 -784.000000 -1120.000000 -1088.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 1064.000000 912.000000 1216.000000 1216.000000 912.000000 1216.000000 1216.000000 912.000000 -784.000000 1064.000000 912.000000 -784.000000 1064.000000 -1088.000000 1216.000000 1216.000000 -1088.000000 1216.000000 1216.000000 -1088.000000 -784.000000 1064.000000 -1088.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -936.000000 1032.000000 1224.000000 1064.000000 1032.000000 1224.000000 1064.000000 1032.000000 -776.000000 -936.000000 1032.000000 -776.000000 -936.000000 912.000000 1224.000000 1064.000000 912.000000 1224.000000 1064.000000 912.000000 -776.000000 -936.000000 912.000000 -776.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -936.000000 920.000000 1520.000000 1064.000000 920.000000 1520.000000 1064.000000 920.000000 1216.000000 -936.000000 920.000000 1216.000000 -936.000000 -1088.000000 1520.000000 1064.000000 -1088.000000 1520.000000 1064.000000 -1088.000000 1216.000000 -936.000000 -1088.000000 1216.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -936.000000 920.000000 -768.000000 1064.000000 920.000000 -768.000000 1064.000000 920.000000 -1104.000000 -936.000000 920.000000 -1104.000000 -936.000000 -1080.000000 -768.000000 1064.000000 -1080.000000 -768.000000 1064.000000 -1080.000000 -1104.000000 -936.000000 -1080.000000 -1104.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 entity type PlayerSpawn Vector3 position 36.000000 -200.000000 224.000000 Bool8 teamB 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type CameraPath UInt32 entityIdAttachedTo 249 UInt8 posLerp 2 UInt8 angleLerp 2 entity type Effect Vector3 position 0.000000 256.000000 0.000000 String64 effectName internal/misc/reflectionprobe entity type PlayerSpawn Vector3 position -776.000000 -192.000000 1016.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -840.000000 -176.000000 816.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -832.000000 -176.000000 520.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -736.000000 -168.000000 224.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -552.000000 -176.000000 216.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -552.000000 -176.000000 504.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -536.000000 -176.000000 816.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -544.000000 -176.000000 1104.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -232.000000 -176.000000 1104.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -240.000000 -176.000000 816.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -232.000000 -176.000000 480.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 40.000000 -176.000000 504.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -232.000000 -176.000000 208.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 32.000000 -176.000000 824.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 48.000000 -176.000000 1120.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 360.000000 -176.000000 1112.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 328.000000 -176.000000 832.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 312.000000 -176.000000 520.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 648.000000 -176.000000 832.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 672.000000 -176.000000 1120.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 296.000000 -176.000000 224.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 632.000000 -176.000000 528.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 952.000000 -176.000000 1120.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 864.000000 -168.000000 776.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 896.000000 -176.000000 520.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 624.000000 -176.000000 216.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 896.000000 -176.000000 224.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 920.000000 -176.000000 -112.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 648.000000 -176.000000 -104.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 288.000000 -176.000000 -96.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 -176.000000 -88.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 -176.000000 -368.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -224.000000 -176.000000 -352.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -224.000000 -176.000000 -72.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -536.000000 -176.000000 -112.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -536.000000 -176.000000 -376.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -552.000000 -176.000000 -704.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -808.000000 -176.000000 -712.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -808.000000 -176.000000 -392.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -752.000000 -176.000000 -168.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 936.000000 -176.000000 -432.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 648.000000 -176.000000 -424.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 648.000000 -176.000000 -696.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 904.000000 -192.000000 -680.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 304.000000 -176.000000 -384.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 272.000000 -184.000000 -648.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 40.000000 -176.000000 -688.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -232.000000 -176.000000 -688.000000 Bool8 teamA 0
50eb0fe484f1e2ccff78ccbd3d789835528b9f1b
abed134eb329d44a339af93997f34c76b7649173
/P2Codes/LeftLogicBitshift.tst
42369e8fd8bfeb904bb8c6a6d56755ac1e004019
[]
no_license
Patrickyyh/CSCE-312
8823df9f53d378b96c8018064da3823faef95ce3
b9ba0fd8592ce5d91d1689219ff48d638a66aee0
refs/heads/master
2023-05-03T18:46:15.689810
2021-05-22T06:02:17
2021-05-22T06:02:17
369,727,875
0
0
null
null
null
null
UTF-8
Scilab
false
false
725
tst
LeftLogicBitshift.tst
//Add16.tst load LeftLogicBitshift.hdl, output-file LeftLogicBitshift.out, compare-to LeftLogicBitshift.cmp, output-list x%B1.16.1 y%B1.16.1 out%B1.16.1; // Student: Yuhao Ye // UIN: 529006730 // Email: yeyuhao1234@tamu.edu // Section : 599 set x %B0000000010101011, set y %B0000000000000001, eval, output; set x %B1111111111111111, set y %B0000000000001000, eval, output; set x %B1111111111111111, set y %B0000000000000000, eval, output; set x %B0000000000101011, set y %B0000000000000001, eval, output; set x %B0000000000101011, set y %B0000000000000010, eval, output; set x %B0000000000111111, set y %B0000000000000100, eval, output; set x %B0000000000111111, set y %B0000000000000101, eval, output;
5279e3ad77c2f9ddf70475e6a22528597a371418
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpic2escifiles6/Endpicture.sci
ff4a3c439784845f7e1d0685cfbbf839957c6340
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
145
sci
Endpicture.sci
// 08.05.22 function Endpicture(varargin) if length(varargin)==0 Flg=1 else Flg=varargin(1); end Closepicture(Flg) endfunction
4e1bee00b7edc0586fed4677a4775b3d88b66a6e
584105ff5b87869494a42f632079668e4c3f82de
/sci_gateway/cpp/maximum.sci
b47f87ddf73beaac55863198f288203c33289257
[]
no_license
kevgeo/FOSSEE-Computer-Vision
0ceb1aafb800580498ea7d79982003714d88fb48
9ca5ceae56d11d81a178a9dafddc809238e412ba
refs/heads/master
2021-01-17T21:11:31.309967
2016-08-01T14:45:40
2016-08-01T14:45:40
63,127,286
6
0
null
null
null
null
UTF-8
Scilab
false
false
3,909
sci
maximum.sci
//************************************************** // Author : Asmita Bhar //************************************************** function varargout = maximum(image,varargin) [lhs,rhs] = argn(0); if rhs<1 then error(msprintf("Not enough input arguments")); end if rhs>9 then error(msprintf("Too many input arguments")); end if lhs>2 then error(msprintf("Too many output arguments")); end [iRows iCols]=size(image(1)) iChannels = size(image) valueOutputPort = 'true'; indexOutputPort = 'true'; dimension = 'All'; customDimension = 1; ROIPROCESSING = 'true'; Matrix_Col = []; Matrix_Row = []; flag=0; i=1; while(i<rhs-1) if strcmpi(varargin(i),'ValueOutputPort')==0 then valueOutputPort = varargin(i+1) elseif strcmpi(varargin(i),'IndexOutputPort')==0 then indexOutputPort = varargin(i+1) elseif strcmpi(varargin(i),'Dimension')==0 then dimension = varargin(i+1) elseif strcmpi(varargin(i),'ROIPROCESSING')==0 then ROIPROCESSING = varargin(i+1) if strcmpi(ROIPROCESSING,"true") & strcmpi(ROIPROCESSING,"false") then error(msprintf(" wrong input argument #%d,ROIPROCESSING not matched",i)) end elseif strcmpi(varargin(i),'MatrixCol')==0 then Matrix_Col = varargin(i+1) elseif strcmpi(varargin(i),'MatrixRow')==0 then Matrix_Row = varargin(i+1) elseif strcmpi(varargin(i),'CustomDimension')==0 then customDimension = varargin(i+1) flag=1; end i=i+2; end if (~strcmpi(valueOutputPort,'false') & ~strcmpi(indexOutputPort,'false')) error(msprintf("Both cannot be false at the same time")); end if (strcmpi(dimension,'Custom') & (flag==1)) error(msprintf("The CustomDimension property is not relevant in this configuration")); end image2 = roipoly(image, Matrix_Col, Matrix_Row) if(dimension=='All') then if(iChannels==1) then [val ind] = max(image2(1)) ind(3) = 1 elseif (iChannels==3) then val1 = max(image2(1)) val2 = max(image2(2)) val3 = max(image2(3)) if (val1>=val2) & (val1>=val3) then [val ind] = max(image2(1)) ind(3) = 1 elseif (val2>=val1) & (val2>=val3) then [val ind] = max(image2(2)) ind(3) = 2 else [val ind] = max(image2(3)) ind(3) = 3 end end t = ind(1); ind(1) = ind(2); ind(2) = t; end if (dimension=='Row') then if(iChannels==1) then [val ind] = max(image2(1),'c'); elseif(iChannels==3) then [val1 ind1] = max(image2(1),'c'); [val2 ind2] = max(image2(2),'c'); [val3 ind3] = max(image2(3),'c'); val = list(val1,val2,val2); ind = list(ind1,ind2,ind3); end end if (dimension=='Column') then if(iChannels==1) then [val ind] = max(image2(1),'r'); elseif(iChannels==3) then [val1 ind1] = max(image2(1),'r'); [val2 ind2] = max(image2(2),'r'); [val3 ind3] = max(image2(3),'r'); val = list(val1,val2,val2); ind = list(ind1,ind2,ind3); end end if (dimension=='Custom') then if(iChannels==1) then if(customDimension==1) then [val ind] = min(image2(1),'r'); elseif(customDimension==2) then [val ind] = min(image2(1),'c'); end elseif(iChannels==3) then if(customDimension==1) then [val1 ind1] = max(image2(1),'r'); [val2 ind2] = max(image2(2),'r'); [val3 ind3] = max(image2(3),'r'); val = list(val1,val2,val2); ind = list(ind1,ind2,ind3); elseif(customDimension==2) then [val1 ind1] = max(image2(1),'c'); [val2 ind2] = max(image2(2),'c'); [val3 ind3] = max(image2(3),'c'); val = list(val1,val2,val2); ind = list(ind1,ind2,ind3); end end end if (~strcmpi(valueOutputPort,'true') & ~strcmpi(indexOutputPort,'true')) then varargout = list(val,ind) elseif (~strcmpi(valueOutputPort,'true') & ~strcmpi(indexOutputPort,'false')) then varargout = list(val) elseif (~strcmpi(indexOutputPort,'true') & ~strcmpi(valueOutputPort,'false')) then varargout = list(ind) end endfunction
afa50f483892aa23599448e238b3af39aad5e72a
449d555969bfd7befe906877abab098c6e63a0e8
/1616/CH2/EX2.10/ex2_10.sce
e982846dd02c52b08cbb4b25928e6645866dfc20
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
390
sce
ex2_10.sce
// ex2.10 from the previous problem find impedence at 50cm on either side yl=complex(0.05,10); cosha=cosh(yl); coshb=cosh(-yl); sinha=sinh(yl); sinhb=sinh(-yl); zo=50; zl=complex(100,50); za=zo*((zl*cosha+zo*sinha)/(zl*sinha+zo*cosha)); zb=zo*((zl*coshb+zo*sinhb)/(zl*sinhb+zo*coshb)); disp('impedence at +50cm is= '+string(za)+' ohm'); disp('impedence at -50cm is= '+string(zb)+' ohm');
9675b0dbce0629bac4580f208002b19cccdc9975
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/ac2poly/ac2poly7.sce
e7be145f1caf584619f1c2bddce968072b57b192
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
166
sce
ac2poly7.sce
//no i/p args are passed to the function ac2poly(); //output //!--error 4 //Undefined variable: r //at line 23 of function ac2poly called by : //r=ac2poly();
4978c59751ed318af23a03197b508bfbf40c292d
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH14/EX14.09/14_09.sce
19fb0ab28850bab7786333606d9b85919fe262a2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
554
sce
14_09.sce
//Problem 14.09: An alternating voltage is given by v = 282.8 sin 314t volts. Find (a) the rms voltage, (b) the frequency and (c) the instantaneous value of voltage when t = 4 ms //initializing the variables: Vmax = 282.8; // in Volts w = 314; // in rad/sec t = 0.004; // in sec //calculation: //for a sine wave Vrms = 0.707*Vmax f = w/(2*%pi) v = Vmax*sin(w*t) printf("\n\n Result \n\n") printf("\n (a)rms value = %.0f V",Vrms) printf("\n (b)frequency f = %.0f Hz",f) printf("\n (c)instantaneous value of voltage at 4 ms = %.1f V",v)
d5a7596ba9a5de180025617b1f971739cf375f86
449d555969bfd7befe906877abab098c6e63a0e8
/788/CH2/EX2.16.a/2_16_data.sci
65cdbfaead805b153367bae19c289ea763e73d62
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
101
sci
2_16_data.sci
// Aim:To convert given pressure into absolute pressure // Given: // Gage Pressure: Pg=-34000; //Pa
4f52ed0b7839b381ffa9b823074b20789ea19b0b
e16ed2b1e5415e101f10dbee6680d11e6fdb5e6d
/Discern Explorer/Performance Tuning/Exercises/dar_exercise_5a.tst
1d3b3874ed32a60dc1960ff0ab1028968a2cd470
[]
no_license
mikeysjob/ccl
484145533a1e880c9369022c02c9756c86cfdce2
2e7b7cbc7a5bad0f035f744e1bab07a19d250f9a
refs/heads/master
2023-02-09T23:40:06.341187
2021-01-06T17:31:02
2021-01-06T17:31:02
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
612
tst
dar_exercise_5a.tst
;this can be used to run dar_exercise_5a free set reply go record reply ( 1 aCharge[*] 2 dActivity_id = f8 2 sTransToPatName = vc 2 iTransTo_Ind = i2 2 sTransToExtAcctIDTxt = vc ) go select into "nl:" from trans_trans_reltn t plan t where t.parent_activity_id > 0 and t.trans_reltn_reason_cd = 654415.0 and t.active_ind = 1 head report num = 0 detail num = num + 1 stat = alterlist(reply->aCharge, num) reply->aCharge[num].dActivity_id = t.parent_activity_id with nocounter, maxqual(t, 21) go dar_exercise_5a go
c798071cc5b2b636f980e8a93f3ed2441a04ab30
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/tests/resume.tst
9968fcbded64164582892ceb9925e69b886b3514
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
3,057
tst
resume.tst
deff('foo()','a=1,b=2,c=3;[x,y]=resume(a,b)') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','a=1,b=2,c=3;[x,y,z]=resume(a,b,c)') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;[x,y]=resume(a,b);end') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;[x,y,z]=resume(a,b,c);end') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;[x,y]=resume(a,b);end;end') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;[x,y,z]=resume(a,b,c);end;end') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','a=1,b=2,c=3;[x,y]=resume(a,b)','n') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','a=1,b=2,c=3;[x,y,z]=resume(a,b,c)','n') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;[x,y]=resume(a,b);end','n') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;[x,y,z]=resume(a,b,c);end','n') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;[x,y]=resume(a,b);end;end','n') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;[x,y,z]=resume(a,b,c);end;end','n') foo(); if x<>1|y<>2|z<>3 then pause,end //====================================================================== deff('foo()','a=1,b=2,c=3;execstr(''[x,y]=resume(a,b)'')') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','a=1,b=2,c=3;execstr(''[x,y,z]=resume(a,b,c)'')') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;execstr(''[x,y]=resume(a,b)'');end') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;execstr(''[x,y,z]=resume(a,b,c)'');end') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;execstr(''[x,y]=resume(a,b)'');end;end') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;execstr(''[x,y,z]=resume(a,b,c)'');end;end') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','a=1,b=2,c=3;execstr(''[x,y]=resume(a,b)'')','n') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','a=1,b=2,c=3;execstr(''[x,y,z]=resume(a,b,c)'')','n') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;execstr(''[x,y]=resume(a,b)'');end','n') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','if %t then a=1,b=2,c=3;execstr(''[x,y,z]=resume(a,b,c)'');end','n') foo(); if x<>1|y<>2|z<>3 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;execstr(''[x,y]=resume(a,b)'');end;end','n') foo(); if x<>1|y<>2 then pause,end clear foo x y z deff('foo()','for k=1:3,if k==3 then a=1,b=2,c=3;execstr(''[x,y,z]=resume(a,b,c)'');end;end','n') foo(); if x<>1|y<>2|z<>3 then pause,end
7639f18c97eba2a43f25db3ee7b4af46badb9c8c
449d555969bfd7befe906877abab098c6e63a0e8
/3809/CH6/EX6.5/EX6_5.sce
ec6b7be013a85adaf8ed4210587d31918897edfd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
808
sce
EX6_5.sce
//Chapter 6, Example 6.5 clc //Initialisation pi=3.14 //pi f=50 //frequency in hertz i=5 //current in ampere r=10 //resistance in ohm L=25*10**-3 //inductance in henry VL=39.3 //from phasor diagram VR=50 //from phasor diagram //Calculation Vr=i*r //voltage across resistor w=2*pi*f //angular frequency Xl=w*L //inductive reactance Vl=i*Xl //voltage across inductor V=sqrt(VR**2+VL**2) //voltage phi=atan(VL/VR) //phase angle //Results printf("Voltage, V = %.1f V\n",V) printf("Phase Angle, phi = %.1f Degree",phi*180/pi)
f916dda6230449c5685c2bb8427390370eb56329
449d555969bfd7befe906877abab098c6e63a0e8
/1646/CH8/EX8.5/Ch08Ex5.sce
e8f8b2f5cc295d0772e3fd4298ded5b805f6bd4f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
535
sce
Ch08Ex5.sce
// Scilab Code Ex8.5: Page-431 (2011) clc;clear; d = 50e-002;....// Thickness of the metallic rod, m t1 = 30e-006;....// Arrival time for first pulse, s t2 = 80e-006;.... // Arrival time for second pulse, s v = 2*d/t2;.....// Velocity of ultrasonic waves, m/s printf("\nThe velocity of pulse inside the rod = %4.2e m/s", v); x = t1*v/2; printf("\nThe position of pulse inside the rod = %6.4f m", x); // Result // The velocity of pulse inside the rod = 1.25e+004 m/s // The position of pulse inside the rod = 0.1875 m
45ed48f94f4e9e556b652758237f7e8cc38a47f8
449d555969bfd7befe906877abab098c6e63a0e8
/2855/CH3/EX3.1/Ex3_1.sce
cb3ac102054c71c7da621bac3c5eb62bc3119daa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
326
sce
Ex3_1.sce
//Chapter 3 //page no 67 //given clc; clear all; Pin=1; //microW W=15; //in degree NA=sin(W*%pi/180); NAA=0.26; //NA=0.2588190 which is rounded off C_c=(NAA)^2; printf("\n Coupling coefficient is %0.4f \n",C_c); Pf=C_c*Pin; printf("\n Power coupled into fiber %0.1f nW\n",Pf*1000);
344a20c92519863592e3df5f621beca6db2363d1
1573c4954e822b3538692bce853eb35e55f1bb3b
/DSP Functions/allpasslp2lp/test_11.sce
42028183fb26725b10b8a8201c80a873f67ed30b
[]
no_license
shreniknambiar/FOSSEE-DSP-Toolbox
1f498499c1bb18b626b77ff037905e51eee9b601
aec8e1cea8d49e75686743bb5b7d814d3ca38801
refs/heads/master
2020-12-10T03:28:37.484363
2017-06-27T17:47:15
2017-06-27T17:47:15
95,582,974
1
0
null
null
null
null
UTF-8
Scilab
false
false
266
sce
test_11.sce
// Test # 11 : Valid input test case #1 exec('./allpasslp2lp.sci',-1); [n,d]=allpasslp2lp(0.753,0.946); disp(d); disp(n); // //Scilab Output //d =1. 0.6555731 //n = 0.6555731 1. // //Matlab Output //d = 1.0000 0.6556 //n =0.6556 1.0000
978060aded3d13b7031aadc8e3ece8f4f71e1a75
3cbee2296fd6b54f80587eead83813d4c878e06a
/sci2blif/sci2blif_added_blocks/tgate_vec.sce
b70f6c0926a9409e900d649a4edcbd8e1b0f7524
[]
no_license
nikhil-soraba/rasp30
872afa4ad0820b8ca3ea4f232c4168193acbd854
936c6438de595f9ac30d5619a887419c5bae2b0f
refs/heads/master
2021-01-12T15:19:09.899590
2016-10-31T03:23:48
2016-10-31T03:23:48
71,756,442
0
0
null
2016-10-24T05:58:57
2016-10-24T05:58:56
null
UTF-8
Scilab
false
false
473
sce
tgate_vec.sce
//**************************** TGATE *********************************** if (blk_name.entries(bl) =='tgate_vec') then for ss=1:scs_m.objs(bl).model.ipar(1) mputl("# TGATE ",fd_w); Tgate_str= '.subckt tgate in[0]=net"+string(blk(blk_objs(bl),2))+'_'+string(ss)+" in[1]=net" + string(blk(blk_objs(bl),3)) + '_'+string(ss)+' out=net"+ string(blk(blk_objs(bl),2+numofip))+'_'+string(ss); mputl(Tgate_str,fd_w); mputl(" ",fd_w); end end
47deddc70e177083fb7f6a873a1a3acd98ce42db
449d555969bfd7befe906877abab098c6e63a0e8
/1868/CH9/EX9.1/Ch09Ex1.sce
5967698ebbef5349fb1e49bd5e4d959c7482c33a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
481
sce
Ch09Ex1.sce
// Scilab code Ex9.1: Pg 300 (2005) clc; clear; // Since mu_B = (e*h_cross)/(2*m_e) mu_B = 9.27e-24; // Bohr magneton, J/T B = 1.00; // Magnetic flux, T // Since 1 eV = 1.6e-19 J eV = 1.6e-19; // Energy, J h_cross = 6.58e-16; // Reduced Plank's constant, eV-s omega_L = (mu_B*B)/(eV*h_cross); // Larmor frequency, rad/s printf("\nLarmour frequency at n = 2 is %4.2fe+10 rad/s", omega_L*1e-10); // Result // Larmour frequency at n = 2 is 8.81e+10 rad/s
64ff9148bbaeece99d88e37abb003df85db22934
9b60b7963181dd94c8d10cdb75a83bc010957e71
/taf_monitor_code/taf_monitor/tests/acceptance/14-highlighted_issue.tst
f01b547450bb27ae4d4585a1bed1e83cbab5b9cc
[]
no_license
alanyon/python
577773100eac269750925c1f924edc51060ca865
cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb
refs/heads/master
2023-07-13T17:27:59.555648
2021-08-09T15:59:08
2021-08-09T15:59:08
393,341,633
0
0
null
null
null
null
UTF-8
Scilab
false
false
288
tst
14-highlighted_issue.tst
{ "EGXT 181339Z 1815/1818 30006KT 9999 SCT035": { "Known cloud failure": { "metar": "EGXT 181450Z 27006KT CAVOK", "test time": "20200618T1500Z", "expected": "" } }, "description": "Tests for cases highlighted as failing." }
a34fea6f3cf315589c6e8436091b52c8081543dd
449d555969bfd7befe906877abab098c6e63a0e8
/199/CH3/EX3.6.b/Example_3_6_b.sce
be543ddaef0d841a89e3419c444bf4fc2db11ea1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
334
sce
Example_3_6_b.sce
// Chapter3 // Page.No-99, Figure.No-3.16 // Example_3_6_b // Output voltage of the Op-amp // Given clear;clc; R1=680;RF=6800 // Both are in ohms vx=-1.5;vy=-2; // Both input voltages are in volts AD=1+RF/R1; // Voltage gain vxy=vx-vy; vo=AD*vxy; // Output voltage printf("\n Output voltage is vo = %.1f V \n",vo) // Result
167d208fbaa5830e93dd7ae3089af564eff1b358
449d555969bfd7befe906877abab098c6e63a0e8
/3363/CH8/EX8.3/Ex8_3.sce
df0409c76701da0b9aedc9dbdfcf85504bb7c044
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
298
sce
Ex8_3.sce
//Example 8.3, page 298 clc m=9*10^-31//in kg e=1.6*10^-19//in coul c=3*10^8//in m/s2 four_pi_epsilon=1.1*10^-34//in j-sec constant=9*10^9//nt-n2/coul2 delta_E=(constant^4*m*e^8)/(54*c*c*(four_pi_epsilon)^4) printf("\n The energy deflection is %e Joule",delta_E) //Answer given in the book is wrong
9773ba382cbad14557d016ebd2f8d7f61ed69bfc
449d555969bfd7befe906877abab098c6e63a0e8
/3769/CH12/EX12.23/Ex12_23.sce
15970b72203eb3ab463dd09ef7cdca8eaaa4dd75
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
291
sce
Ex12_23.sce
clear //Given N2=1000 I1=5.0 //A a2=0.4*10**-4 //Wb dl=-24 //A dt=0.02 //S //Calculation M=(N2*a2)/I1 eb=(-M*dl)/dt //Result printf("\n (i) Mutual induction between A and B is %0.3f H", M)
88ee795f0606d40abc24f1efe610614a8cc35dfb
449d555969bfd7befe906877abab098c6e63a0e8
/1784/CH29/EX29.9/example9.sce
5d8e1536d53086c6c2da0170ee8a503446b4f98e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
344
sce
example9.sce
//chapter 29 //example 9 clc //given q=1.0*10^-7 //charge in coul a=10*10^-2 //side of triangle in meter q1=q q2=-4*q q3=2*q epsilon0=8.85*10^-12 //coul2/nt-m2 disp("Total energy is the sum of each pair of particles ") U=(1/(4*%pi*epsilon0))*(((q1*q2)/a)+((q1*q3)/a)+((q2*q3)/a)) disp(U,"Mutual potential energy of the particles in joules is")
a5559bd0288db0afcb27e54578eb6e8303a88d8f
449d555969bfd7befe906877abab098c6e63a0e8
/1682/CH2/EX2.6/Exa2_6.sce
4b2b8f2dd9c38e1e57dba8b854da27045cb396ed
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,026
sce
Exa2_6.sce
//Exa2.6 clc; clear; close; //Cost of component using process sequence 1 disp("The process sequence 1 of the component is as follows : Turning - Milling - Shaping - Drilling") ; disp("Calculations are summarized in form of table below : "); disp("Operation Operation Time Machine Hour rate Cost"); disp(" No. Min Hour Rs. Rs."); disp(" 1 Turning 5 0.083 200 16.60"); disp(" 2 Milling 8 0.133 400 53.20"); disp(" 3 Shapiing 10 0.167 350 58.45"); disp(" 4 Drilling 3 0.050 300 15.00"); disp(" Total 143.25"); //Cost of component using process sequence 2 disp("The process sequence 2 of the component is as follows : Turning - Milling - Drilling") ; disp("Calculations are summarized in form of table below : "); disp("Operation Operation Time Machine Hour rate Cost"); disp(" No. Min Hour Rs. Rs."); disp(" 1 Turning 5 0.083 200 16.60"); disp(" 2 Milling 14 0.233 400 93.20"); disp(" 4 Drilling 3 0.050 300 15.00"); disp(" Total 124.80"); //Cost of component using process sequence 3 disp("The process sequence 3 of the component is as follows : Only CNC operations") ; disp("Calculations are summarized in form of table below : "); disp("Operation Operation Time Machine Hour rate Cost"); disp(" No. Min Hour Rs. Rs."); disp(" 1 CNC 8 0.133 1000 133"); disp("The process sequence 2 has the least cost. Therefore, it should be selected for manufacturing the component.")
4bd05ddcb09fb4d0481b445bba1d1aff5118f0ae
449d555969bfd7befe906877abab098c6e63a0e8
/2381/CH1/EX1.16/ex_16.sce
8ccc4ee65a445556c545d153c0c0082ef83438a4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
435
sce
ex_16.sce
//Example 16 // distance,binding energy and force constant clc; clear; close; disp("equilibrium inter-nuclear distance correspondes to lowest potential enegy is ro= 2*Å") pet=0;//eV peb=-4;//eV be=pet-peb;//eV x1=-2;//eV x2=-4;//eV V=x1-x2;//eV e=1.6*10^-19;//electronic charge x=0.5;//armstrong K=((2*V)/x^2);//eV/Å^2 k1=(K*e)/(10^-10)^2;//joule/m^2 disp(be,"binding energy is ,(eV)=") disp(k1,"force constant is ,(newton/metre)=")
6ecdbfa31562395e0f25ea57eaeea54ac659c4aa
e1fcb98fc42106c41335695379d620ba376ad2ab
/SEL/u.sci
cdc59005f4ecef0d4f680eaeb8179f8274e19c47
[]
no_license
LuizFelipeLemon/CN
82c142ff28c2cb63d1f8cb433965d63089628235
605076edd4ea218dd5e49dbba2b109f61efa9cfa
refs/heads/master
2021-08-19T16:08:20.094123
2017-11-26T20:51:15
2017-11-26T20:51:15
103,070,142
0
0
null
null
null
null
UTF-8
Scilab
false
false
322
sci
u.sci
function [L,A] = U(A) [li,c] = size(A) L = eye(A) for j = 1:c-1 pivo = A(j,j) for l = j+1:li m = A(l,j)/pivo L(l,j) = m; A(l,:) = A(l,:) - m*A(j,:); end end //for i = 1:l // A(i,:) = A(i,:)/A(i,i) //end s = 0; endfunction
3f0fd477ce74ad3ade0ce38900ba046af6e98244
449d555969bfd7befe906877abab098c6e63a0e8
/2192/CH7/EX7.4/7_4.sce
66528ad804d24cb7bf06172030bbdd12fbb5ea60
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
737
sce
7_4.sce
clc,clear printf('Example 7.4') D=8.6 //density of nickel in gram/cm^3 Z= 0.000304 //Electrochemical equivalent of silver in gram/coulomb I=4.3 //steady current passed in amperes //Volume=length*breadth*height V_initial =5*4*1 //volume before electroplating V_final= 5.02*4.02*1.02 //volume after electroplating V_nickel=V_final-V_initial //volume of nickel deposited W= V_nickel * D //weight of nickel deposited T = (W/(I*Z))/3600 //Time taken in hours printf('Time taken for deposition = %.0f seconds\n\n',3600*T) printf('=%.0f hours %.0f minutes %.0f seconds',T,(T-1)*60,((T-1)*60 - 4)*60) printf('\n\nAnswer may not match because of calculation mistake done in seconds to <hours,minute,second> conversion')
7df22dd35ad3886248bb2b1717b0c256b4e8e0de
449d555969bfd7befe906877abab098c6e63a0e8
/2780/CH7/EX7.12/Ex7_12.sce
616e1219806e3ebcb313eda7bc7b9684ebf95aab
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
363
sce
Ex7_12.sce
clc //to calculate minimum uncertainity in the velocity delxmax=10^-8 //maximum uncertainity in position in m h=6.626*10^-34 //planck's constant delpmin=h/(2*%pi*delxmax) //minimum uncertainity in momentum in kg-m/s^2 m=9*10^-31 //mass of an electron in kg delvmin=delpmin/m disp("minimum uncertainity in the velocity is delvmin="+string(delvmin)+"m/s")
257bc8060c1a9a6bfbb928731d2fe62dba6067ac
449d555969bfd7befe906877abab098c6e63a0e8
/2615/CH13/EX56.1/56.sce
61380574a239eb430bcb7fc22a28d27a4b11181d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
150
sce
56.sce
clc //initialisation of variables w=28740000//kg-m s=6000//m //CALCULATIONS P=w/s//kg //RESULTS printf('the average tractive force=% f kg',P)
ba514cec642b18b094289ba113937caabb1a6371
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH5/EX5.03/5_03.sce
821828d59a2f7d3e1dfdc3f6a0fc769ab8123a0e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
395
sce
5_03.sce
//pathname=get_absolute_file_path('5.03.sce') //filename=pathname+filesep()+'5.03-data.sci' //exec(filename) //Initial pressure(in kPa): p1=125 //Final pressure(in kPa): p2=375 //Intial temperature(in K): T1=27+273 //Gas constant for oxygen(in kJ/kg.K): R=8.314/32 //Change in entropy(in kJ/kg.K): dS=-R*log(p2/p1) printf("\nRESULT\n") printf("\nChange in entropy = %f kJ/kg.K",dS)
609ebb7888de16e678cd208536128bae9dbe5b13
449d555969bfd7befe906877abab098c6e63a0e8
/1109/CH4/EX4.3/4_3.sce
2a5328b5c4d9dcaad988bef54765b3d83c379c8b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
209
sce
4_3.sce
clear; clc; r=1.25;d1=75;d2=150; r1=0.7718*r; ds=nthroot((r1*r1*d1*d1),4); dm=sqrt(d2*(sqrt((d2*d2)+(d1*d1)))); L=0.9212*log10(dm/ds); printf("Total loop inductance = %f mH/loop km",round(L*100)/100);
48c499cc08c1b3d1764239e80bbecaa619c462d6
449d555969bfd7befe906877abab098c6e63a0e8
/2699/CH6/EX6.3/Ex6_3.sce
727496768b80ec84b1127b73efbc741b6be22371
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
269
sce
Ex6_3.sce
//EX6_3 PG-6.33 clc Rt=5;//resistance in kohm Ct=0.1;//capacitance in micro farad n=0.58;//standoff ratio T=Rt*Ct*log(1/(1-n));//time period in seconds fo=1/T;//frequency of oscillations fo=fo; printf("\n Therefore frequency of oscillation is %.3f kHz \n",fo)
26fb798bc5f57777c2fa5fc20149816b65728ea7
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4/macros/tdcs/tdinit.sci
13369b2cb4b597422f48adf7fd355c499edcb9b7
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
4,593
sci
tdinit.sci
function []=tdinit() // Copyright INRIA tit=["bioreactor model (bioreact)"; "competition model (compet)"; "system with limit cycle (cycllim)"; "linear system (linear)"; "quadratic model (linper)"; "linear system with a feedback (lincom)"; "prey predator model (p_p)"] ii=x_choose(tit," Systems Initialisation "); // bioreactor if ~isdef('k');k=2.0;end if ~isdef('debit');debit=1.0;end if ~isdef('x2in');x2in=3.0;end // competition if ~isdef('ppr');ppr=1/100 ;end if ~isdef('ppa');ppa=1/20000;end if ~isdef('pps');pps=1/200 ;end if ~isdef('ppb');ppb=1/10000 ;end if ~isdef('ppk');ppk=1000 ;end if ~isdef('ppl'); ppl=500;end if ~isdef('ppm'); ppm=1/100;end // linear if ~isdef('alin'); alin=eye(2,2);end; // limit cycle if ~isdef('qeps'); qeps=0.1;end; // quadratic if ~isdef('q1linper'); q1linper=eye(2,2);end; if ~isdef('q2linper'); q2linper=eye(2,2);end; if ~isdef('rlinper'); rlinper=0.0;end; // linear and feedback if ~isdef('lic_a'); lic_a=eye(2,2);end; if ~isdef('lic_b'); lic_b=[1;1];end; // pray predator if ~isdef('p_ppr');p_ppr=1/100 ;end if ~isdef('p_ppa');p_ppa=1/20000;end if ~isdef('p_ppm');p_ppm=1/100 ;end if ~isdef('p_ppb');p_ppb=1/10000 ;end if ~isdef('p_ppk');p_ppk=1000 ;end select ii, case 1 then [k,debit,x2in]=ibio(); case 2 then [ppr,ppa,pps,ppb,ppk,ppl]=icompet(); case 3 then [qeps]=icycl(); case 4 then [alin]=ilinear(); case 5 then [alin,qeps,q1linper,q2linper,rlinper]=ilinp(); case 6 then [lic_a,lic_b]=ilic(); case 7 then [p_ppr,p_ppa,p_ppm,p_ppb,p_ppk]=ip_p(); end [k,debit,x2in,ppr,ppa,pps,ppb,ppk,ppl,qeps,q1linper,q2linper,... rlinper,ppm,alin,p_ppr,p_ppa,p_ppm,p_ppb,p_ppk,lic_a,lic_b]= resume(k,debit,x2in,... ppr,ppa,pps,ppb,ppk,ppl,qeps,... q1linper,q2linper,rlinper,ppm,alin,p_ppr,p_ppa,p_ppm,p_ppb,p_ppk,lic_a,lic_b) function [k,debit,x2in]=ibio() // initialisation du bioreactur // Copyright INRIA tit=[" bioreactor model initialisation"; "x(1): biomass concentration "; "x(2): sugar concentration"; " "; "xdot(1)=mu_td(x(2))*x(1)- debit*x(1)"; "xdot(2)=-k*mu_td(x(2))*x(1)-debit*x(2)+debit*x2in"; "mu(x):= x/(1+x)"]; x=x_mdialog(tit,['k';'debit';'x2in'],[string(k);string(debit);string(x2in)]); k=k;debit=debit;x2in=x2in; if x<>[] then k=evstr(x(1));debit=evstr(x(2));x2in=evstr(x(3));end function [ppr,ppa,pps,ppb,ppk,ppl]=icompet() // Copyright INRIA tit=[" competition model initialisation"; "xdot(1) = ppr*x(1)*(1-x(1)/ppk) - u*ppa*x(1)*x(2)"; "xdot(2) = pps*x(2)*(1-x(2)/ppl) - u*ppb*x(1)*x(2)"]; x=x_mdialog(tit,['ppr';'ppa';'pps';'ppb';'ppk';'ppl'],... string([ppr;ppa;pps;ppb;ppk;ppl])); // ['1/100';'1/20000';'1/200';'1/10000';'1000';'500']); ppr=ppr;ppa=ppa;pps=pps;ppb=ppb;ppk=ppk;ppl=ppl; if x<>[] then ppr=evstr(x(1)); ppa=evstr(x(2)); pps=evstr(x(3)); ppb=evstr(x(4)); ppk=evstr(x(5)); ppl=evstr(x(6));end function [qeps]=icycl() // Copyright INRIA //[qeps]=icycl() tit=[" system with limit cycle "; " xdot=a*x+qeps(1-||x||**2)x";" Enter qeps"]; qeps_r=x_matrix(tit,qeps); if qeps_r<>[] then qeps=qeps_r;end function [alin]=ilinear() // Copyright INRIA rep=x_matrix(['xdot=a*x';'Matrice 2x2 du systeme lineaire'],alin); if rep<>[] then alin=rep;end function [alin,qeps,q1linper,q2linper,rlinper]=ilinp() // Copyright INRIA tit=[" quadratic model "; "xdot= a*x+(1/2)*qeps*[(x'')*q1*x;(x'')*q2*x]+r"]; x=x_mdialog(tit,['qeps';'r'],... [string(qeps);string(rlinper)]); qeps=qeps; rlinper=rlinper; alin=alin; q1linper=q1linper; q2linper=q2linper; qeps=qeps; rlinper=rlinper; if x<>[] then rlinper=evstr(x(2)); qeps=evstr(x(1)); end rep=x_matrix([tit;'Enter a'],alin); if rep<>[] then alin=rep;end rep=x_matrix([tit;'Enter q1linper'],q1linper); if rep<>[] then q1linper=rep;end rep=x_matrix([tit;'Enter q2linper'],q2linper); if rep<>[] then q2linper=rep;end function [lic_a,lic_b]=ilic() // Copyright INRIA tit=[" linear system with a feedback "; "xdot= a*x +b*(-k*x);"]; rep=x_matrix([tit;"Enter a"],lic_a) if rep<>[] then lic_a=rep;end rep=x_matrix([tit;"Enter b"],lic_b) if rep<>[] then lic_b=rep;end function [p_ppr,p_ppa,p_ppm,p_ppb,p_ppk]=ip_p() // Copyright INRIA tit=[" pray predator model initialisation"; "xdot(1) = p_ppr*x(1)*(1-x(1)/p_ppk) - p_ppa*x(1)*x(2) - u*x(1);" "xdot(2) = -p_ppm*x(2) + p_ppb*x(1)*x(2) - u*x(2);"]; x=x_mdialog(tit,['p_ppr';'p_ppa';'p_ppm';'p_ppb';'p_ppk'],... string([p_ppr;p_ppa;p_ppm;p_ppb;p_ppk])); p_ppr=p_ppr; p_ppa=p_ppa; p_ppm=p_ppm; p_ppb=p_ppb; p_ppk=p_ppk; if x<>[] then p_ppr=evstr(x(1)); p_ppa=evstr(x(2)); p_ppm=evstr(x(3)); p_ppb=evstr(x(4)); p_ppk=evstr(x(5)); end
97a9425924e7c839971fe34261c95e726ecc3121
66106821c3fd692db68c20ab2934f0ce400c0890
/test/interpreter/clr01.tst
6841e3b35c7590adf39e43ad816a2868e1d59e28
[]
no_license
aurelf/avrora
491023f63005b5b61e0a0d088b2f07e152f3a154
c270f2598c4a340981ac4a53e7bd6813e6384546
refs/heads/master
2021-01-19T05:39:01.927906
2008-01-27T22:03:56
2008-01-27T22:03:56
4,779,104
2
0
null
null
null
null
UTF-8
Scilab
false
false
233
tst
clr01.tst
; @Harness: simulator ; @Format: atmel ; @Arch: avr ; @Purpose: "Test the CLR (clear register) instruction" ; @Result: "flags.s=0, flags.v=0, flags.n=0, flags.z=1, r16 = 0" start: ldi r16, 0b00100100 clr r16 end: break
223e4ca5c6fab42b2df2a5abdb1fff634ee930a7
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/sci2blif/rasp_design_added_blocks/pad_out.sce
07aae11675902326862da7b6f604df5bbf0ea5f6
[]
no_license
jhasler/rasp30
9a7c2431d56c879a18b50c2d43e487d413ceccb0
3612de44eaa10babd7298d2e0a7cddf4a4b761f6
refs/heads/master
2023-05-25T08:21:31.003675
2023-05-11T16:19:59
2023-05-11T16:19:59
62,917,238
3
3
null
null
null
null
UTF-8
Scilab
false
false
164
sce
pad_out.sce
style.fontSize=14; style.displayedLabel="<b>IO PAD</b><br>%2$s"; pal4 = xcosPalAddBlock(pal4,"pad_out",[],style); pal8 = xcosPalAddBlock(pal8,"pad_out",[],style);
9754d4ddf1ec7faaf6b5c6ef4c6d2b156a27734f
449d555969bfd7befe906877abab098c6e63a0e8
/3492/CH3/EX3.2/Ex3_2.sce
0fce4abfee20c8c6c39f09c7326532aa271986f7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
458
sce
Ex3_2.sce
clc //Chapter3 //Ex_2 //Given lambda_o=522*10^-9 // in nm lambda=250*10^-9 // in nm h=6.6*10^-34 //in J s c=3*10^8 //in m/s e=1.6*10^-19 //in coulombs I=20*10^-3 //in W/cm2 I=20*10^-3*10^4 //in J/s/m2 //part(a) phi=h*c/(lambda_o*e) //in eV disp(phi,"Work function of sodium in eV is") KE=h*c/(lambda*e)-phi disp(KE,"Kinetic energy of photoemitted electrons in eV is") J=(e*I*lambda)/(h*c) disp(J,"Photoelectric current density in A/m2 is")
123006e1eac52252d29779e80589b3bf60cd5958
449d555969bfd7befe906877abab098c6e63a0e8
/569/CH8/EX8.2/8_2.sci
d14d5954516a2a4a1f35bec80d597efca97fc1c9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
362
sci
8_2.sci
// calculate the sensitivity clc; Ps=200*10^3; r=0.6; d2=0.5; d1=0.5; a=(d2/d1^2); x1=(1.1-r)/(2*a); disp(x1,'x1=') r=0.8; d2=0.5; d1=0.5; a=(d2/d1^2); x2=(1.1-r)/(2*a); disp(x2,'x2=') x=x1-x2; disp(x,'so the range is x (mm)') hS=%pi*d2*10^-3; A2=%pi*d2*10^-6*(x1+x2)/2; pS=-0.4*Ps/A2; pgS=25*10^-3/1000; S=hS*pS*pgS; disp(S,'sensitivity=')
ba22d779d4b32382e108b1ff8eaa697d39475cb2
449d555969bfd7befe906877abab098c6e63a0e8
/929/CH13/EX13.7/Example13_7.sce
8bd11a8e2331ee3e343559059a3ffa262db8196a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
906
sce
Example13_7.sce
//Example 13.7 clear; clc; f0=1*10^6; fR=((0.5)/2)*10^6; vEmax=3.9; vEmin=1.1; Ko=(2*%pi*2*fR)/(vEmax-vEmin); R1=95.3*10^3;//obtained from PLL's data sheet R2=130*10^3;//obtained from PLL's data sheet C=100*10^(-12);//obtained from PLL's data sheet VDD=5; Kd=VDD/%pi; Kv=Kd*Ko; zeta=0.707; fm=1*10^3; fmin3dB=fm*10; w3dB=2*%pi*fmin3dB; wn=w3dB/2; wp=(wn^2)/Kv; wz=wn/(2*zeta); printf("R1=%.1f kohms",R1*10^(-3)); printf("\nR2=%.f kohms",R2*10^(-3)); printf("\nC=%.f pF",C*10^12); //Filter Components are taken from figure 13.33, as no procedure is mentioned for designing the filter R3=80.6*10^3; R4=2*10^3; C1=22*10^(-9); C2=10*10^(-9); printf("\nFilter Components :"); printf("\nR3=%.1f kohms",R3*10^(-3)); printf("\nC1=%.f nF",C1*10^9); printf("\nR4=%.f kohms",R4*10^(-3)); printf("\nC2=%.f nF",C2*10^9);
965c06ec32f9b84c0f268d6d75150ffe71f4fd9e
449d555969bfd7befe906877abab098c6e63a0e8
/3432/CH5/EX5.10/Ex5_10.sce
ed860c1d3ea8d1ceb893272fc9edba45449b2ace
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,401
sce
Ex5_10.sce
//Example 5.10 //Design using Lead compensator. xdel(winsid())//close all graphics Windows clear; clc; //------------------------------------------------------------------ //System transfer function and its root locus s=poly(0,'s'); NumG=1; DenG=s*(s+1); NumD=(s+2); DenD=(s+10); G=NumG/DenG; D=NumD/DenD; L=G*D; //open loop transfer function figure(0) evans(L) sgrid(0.5,7,6); xstring(-2,4,"Damping=0.5",0,0) xstring(-7,4,"w=7",0,0) //Title, labels and grid to the figure exec .\fig_settings.sci; // custom script for setting figure properties title('Root locus for lead design','fontsize',3) zoom_rect([-14 -8 4 8]) h=legend(''); h.visible = "off" //------------------------------------------------------------------ // Unit step response //closed loop system K=70; sysc=K*L/(1+K*L); sysc=syslin('c',sysc); t=linspace(0,10,1000); y=csim('step',t,sysc); figure(1) plot(t,y); title('Step response for the system with lead compensator','fontsize',3) xlabel('Time (sec)','fontsize',2) ylabel('Amplitude','fontsize',2) set(gca(),"grid",[0.3 0.3]) zoom_rect([0 0 1.8 1.4]) exec .\fig_settings.sci; scf(0) pl=roots(DenG*DenD+K*NumG*NumD) //closed loop poles at K=70; plot(real(pl),imag(pl),'ro') //closed loop pole-locations at K=70; xstring(-5.8,6,"K=70",0,0) //------------------------------------------------------------------
910b421c4aef4b173222054b8b5c8ed59ef435f3
449d555969bfd7befe906877abab098c6e63a0e8
/530/CH2/EX2.16/example_2_16.sce
efa74023f5adcb1f4bb419e7e8703110087040a0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
304
sce
example_2_16.sce
clear; clc; // A Textbook on HEAT TRANSFER by S P SUKHATME // Chapter 2 // Heat Conduction in Solids // Example 2.16 // Page 75 printf("Example 2.16, Page 75 \n\n") //Theoretical Problem printf('\n\n This is a Theoretical Problem, does not involve any mathematical computation.'); //END
736938ec455b9ead74b49fa7ac44660ba1051f3a
449d555969bfd7befe906877abab098c6e63a0e8
/617/CH7/EX7.2/Example7_2.sci
cad4deccc61f8ab0a09433b4a4f845b65507b66b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,145
sci
Example7_2.sci
clc(); clear; // To find the film coefficient for natural convetion for a heated square plate tp=300; // Temperature of heated plate in degF ta=80; // Temperature of air in degF tf=(tp+ta)/2; // Temperature of film in degF delt=tp-ta; // Temperature difference in degF Z=610000; // As referred from the chart for corresponding temperature L=7/12; // Height of vertical plate in ft A=L*L; // Area of square plate in ft^2 X=L^3*(delt)*Z; // This value shows that it is turbulent range , so formula for heat transfer coefficient is as follow h=0.22*delt^(1/3); // Temperature coeeficient in Btu/hr-ft^2-degF q=h*A*delt; // Heat loss in Btu/hr printf("The film coefficient for free convetion for the heated plate is %.2f Btu/hr-ft^2-degF",h); printf("\n The heat loss by natural convection from the square plate is %.2f Btu/hr",q);
ead3ba29392cdcdd90300c40048d8ec067f67ec2
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/blog/bow/bow.19_12.tst
35369256cfe83239f27e4fbbf03101d40b60a920
[]
no_license
mandar15/NLP_Project
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
refs/heads/master
2020-05-20T13:36:05.842840
2013-07-31T06:53:59
2013-07-31T06:53:59
6,534,406
0
1
null
null
null
null
UTF-8
Scilab
false
false
4,178
tst
bow.19_12.tst
19 23:1.0 49:0.16666666666666666 65:1.0 650:1.0 820:1.0 19 5:0.018867924528301886 31:0.125 65:1.0 279:0.5 828:1.0 19 21:0.25 23:1.0 65:1.0 722:1.0 1127:1.0 19 5:0.018867924528301886 31:0.125 65:1.0 274:1.0 828:1.0 19 23:1.0 28:0.1111111111111111 65:1.0 19 5:0.018867924528301886 28:0.1111111111111111 31:0.125 49:0.16666666666666666 65:1.0 1069:1.0 19 23:1.0 28:0.1111111111111111 65:1.0 19 5:0.018867924528301886 31:0.125 49:0.16666666666666666 65:1.0 812:1.0 19 18:0.14285714285714285 23:1.0 65:1.0 973:1.0 19 5:0.018867924528301886 18:0.14285714285714285 31:0.125 49:0.16666666666666666 65:1.0 214:1.0 19 23:1.0 65:1.0 240:1.0 19 5:0.018867924528301886 18:0.14285714285714285 31:0.125 49:0.16666666666666666 65:1.0 19 23:1.0 65:2.0 1127:1.0 19 12:0.16666666666666666 114:1.0 177:0.3333333333333333 274:1.0 295:1.0 520:1.0 19 18:0.14285714285714285 65:1.0 91:0.1111111111111111 782:1.0 19 18:0.14285714285714285 113:1.0 336:1.0 19 5:0.03773584905660377 12:0.3333333333333333 21:0.25 28:0.3333333333333333 29:1.0 43:0.3333333333333333 46:0.3333333333333333 65:1.0 75:1.0 114:1.0 215:1.0 238:1.0 290:1.0 346:1.0 899:1.0 1060:1.0 1064:1.0 1103:1.0 1188:1.0 19 18:0.42857142857142855 31:0.125 35:0.05555555555555555 49:0.3333333333333333 61:0.3333333333333333 65:2.0 113:1.0 114:1.0 135:0.3333333333333333 136:1.0 177:0.3333333333333333 351:1.0 551:1.0 581:1.0 974:1.0 19 5:0.018867924528301886 12:0.3333333333333333 26:1.0 71:0.3333333333333333 89:0.5 100:1.0 378:1.0 389:1.0 718:1.0 948:0.3333333333333333 19 5:0.018867924528301886 6:1.0 21:0.25 28:0.1111111111111111 29:1.0 40:0.07142857142857142 56:0.07142857142857142 75:1.0 91:0.1111111111111111 136:1.0 777:0.5 899:1.0 908:1.0 1188:1.0 19 8:1.0 18:0.14285714285714285 21:0.25 29:2.0 43:0.3333333333333333 84:2.0 91:0.1111111111111111 116:0.2 130:0.25 136:1.0 162:1.0 192:1.0 931:0.3333333333333333 1057:1.0 1073:1.0 1176:1.0 1184:1.0 19 5:0.018867924528301886 12:0.16666666666666666 28:0.1111111111111111 29:3.0 32:1.0 35:0.05555555555555555 43:0.3333333333333333 118:1.0 177:0.3333333333333333 227:1.0 714:1.0 913:1.0 19 13:1.0 38:2.0 43:0.6666666666666666 91:0.1111111111111111 565:1.0 19 1:1.0 5:0.03773584905660377 21:0.25 28:0.2222222222222222 29:4.0 31:0.125 32:1.0 35:0.05555555555555555 43:0.3333333333333333 56:0.14285714285714285 84:2.0 108:1.0 119:0.16666666666666666 167:0.1111111111111111 502:1.0 572:0.3333333333333333 694:1.0 822:1.0 1023:1.0 19 47:0.125 177:0.3333333333333333 861:1.0 19 5:0.03773584905660377 17:1.0 21:0.25 29:1.0 43:0.3333333333333333 46:0.3333333333333333 47:0.125 56:0.07142857142857142 91:0.1111111111111111 177:0.3333333333333333 476:0.5 568:1.0 719:1.0 898:1.0 19 17:1.0 29:1.0 32:1.0 35:0.05555555555555555 40:0.07142857142857142 65:1.0 143:1.0 294:1.0 471:1.0 19 18:0.2857142857142857 61:0.3333333333333333 65:1.0 98:0.16666666666666666 596:1.0 740:1.0 19 28:0.1111111111111111 19 1:1.0 3:2.0 5:0.05660377358490566 17:1.0 22:2.0 28:0.5555555555555556 31:0.375 60:0.25 69:0.25 84:1.0 114:1.0 116:0.2 168:0.16666666666666666 192:4.0 287:1.0 304:0.5 389:1.0 455:1.0 565:1.0 771:0.5 788:1.0 812:1.0 915:1.0 943:1.0 944:1.0 949:1.0 950:1.0 965:0.5 1166:1.0 1167:1.0 1188:1.0 19 3:1.0 12:0.5 17:1.0 18:0.2857142857142857 22:1.0 28:0.1111111111111111 31:0.5 69:0.5 85:1.0 89:0.5 100:1.0 116:0.2 167:0.1111111111111111 246:0.5 339:1.0 389:1.0 455:1.0 588:1.0 646:1.0 781:1.0 788:1.0 940:1.0 949:1.0 19 12:0.16666666666666666 28:0.1111111111111111 29:1.0 31:0.125 43:0.3333333333333333 69:0.25 105:1.0 193:1.0 389:1.0 965:0.5 19 3:1.0 7:1.0 29:1.0 31:0.125 38:1.0 69:0.25 161:1.0 177:0.3333333333333333 880:1.0 891:1.0 19 13:1.0 28:0.1111111111111111 29:1.0 804:1.0 19 1:1.0 3:2.0 17:1.0 18:0.14285714285714285 21:0.25 29:1.0 31:0.125 35:0.05555555555555555 60:0.25 69:0.25 72:1.0 105:1.0 199:1.0 411:1.0 776:1.0 913:1.0 1016:1.0 1073:1.0 19 29:1.0 35:0.05555555555555555 19 5:0.018867924528301886 17:1.0 18:0.14285714285714285 38:1.0 626:1.0 19 22:1.0 29:1.0 91:0.1111111111111111 185:1.0 289:0.5 788:1.0 932:1.0 19 3:1.0 5:0.018867924528301886 12:0.16666666666666666 13:1.0 40:0.07142857142857142 196:0.5 231:1.0 740:1.0 1029:1.0 19 5:0.018867924528301886 411:1.0 545:1.0 772:1.0 811:1.0
df4c27f1d6085cc7162d056125a5679957e1d03c
449d555969bfd7befe906877abab098c6e63a0e8
/564/DEPENDENCIES/16_13data.sci
cf98a373a1e38b408c26241e1063d7efeff84cf3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
58
sci
16_13data.sci
b=100;//in mm tf=2;//in mm tw=2.5;//in mm d=150;//in mm
ad42d3078771cde5df6accefc8fd77a52226ac1e
449d555969bfd7befe906877abab098c6e63a0e8
/1979/CH9/EX9.6/Ex9_6.sce
663f23577d509d1548c532f264fa6ff5451038ce
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
475
sce
Ex9_6.sce
//chapter-9 page 412 example 9.6 //============================================================================== clc; clear; //For an IMPATT diode power amplifier Rd=25;//Negative Resistance in ohms Rl=50;//Load Resistance in ohms //CALCULATION x=abs(Rd); G=((-x-Rl)/(-x+Rl))^2;//Power gain of an IMPATT diode //OUTPUT mprintf('\nPower gain of an IMPATT diode is G=%1.0f',G); //=========================END OF PROGRAM===============================
d676b2b5be3523ab9d0f54720a40fcf10e93888e
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH6/EX6.28/Ex6_28.sce
8285703d05919d692f58eb296469584c78386284
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
956
sce
Ex6_28.sce
// chapter 6 // example 6.28 // Compute source inductance, load resistance and overlap angle // page-371-372 clear; clc; // given E=400; // in V (supply voltage) f=50; // in Hz (supply frequency) alpha=%pi/4; // in radian (firing angle) Id=10; // in A (load current) Edc=360; // in V (load voltage) // calculate alpha=alpha*(180/%pi); disp(alpha); Emph=E*sqrt(2/3);// calculation of peak voltage // Since Edc=(3*sqrt(3)*Emph/%pi)*cosd(alpha)-(3*2*%pi*f*Ls/%pi)*Id, we get Ls=(%pi/(3*2*%pi*f*Id))*((3*sqrt(3)*Emph/%pi)*cosd(alpha)-Edc);// calculation of source inductance R=Edc/Id;// calculation of load resistance // since Edc=(3*sqrt(3)*Emph/%pi)*cosd(alpha+u)-(3*2*%pi*f*Ls/%pi)*Id, we get u=acosd((%pi/(3*sqrt(3)*Emph))*(Edc-(3*2*%pi*f*Ls/%pi)*Id))-alpha;// calculation of overlap angle printf("\nThe source inductance is \t Ls=%.1f mH",Ls*1E3); printf("\nThe load resistance is \t\t R=%.1f ohm",R); printf("\nThe overlap angle is \t\t u=%.f degree",u);
f7d4ae0c1e970a0c407ad5215016a4a5f0accac4
6577008921680ddcc005d6cd1fbfc6e580f04740
/Code/euler.sci
78b633e9866aa803245525dc62820f80ab8a2162
[]
no_license
bagasadif/Program-Scilab
a9539ddf00a5c75ca844d93e9b35309427a28722
94d09657ae48d130184c23c34af9a0f4a1a2ab18
refs/heads/master
2023-02-19T19:24:24.042558
2021-01-24T22:27:39
2021-01-24T22:27:39
332,569,383
1
0
null
null
null
null
UTF-8
Scilab
false
false
670
sci
euler.sci
/* Author : Bagas Adi Firdaus Deskripsi : Program PDB Metode Euler */ printf('\nProgram PDB Metode Euler\n'); b=input('Masukkan nilai t yang akan dicari x(t) nya = '); h=input('Masukkan nilai h = '); t0 = 0; x0 = 0; y0 = 1; x = x0; y = y0; t = t0; n = (b-t0)/h; function turunanx=f1(t, x, y) turunanx = x*y + t; endfunction function turunany=f2(t, x) turunany = x - t; endfunction printf('n\tt\tx\t\ty\n'); printf('%d\t%.2f\t%.8f\t%.8f\n',0 , t, x, y); for r=1:n tempx = x; x = x + h*f1(t,x,y); y = y + h*f2(t,tempx); t = t+h; printf('%d\t%.2f\t%.8f\t%.8f\n',r , t, x, y); end hasil=x; printf('Jadi nilai x(%.2f) adalah : %.8f',b, x);
30c8f9c287a647e2c938df0f437eae32b658eb14
7d91f8b3cb8d228617c08467d41edcff14343b7f
/SM_distributed_load.sce
e56e56104e1728fceeadcf58ed41575f35c9f156
[]
no_license
szymczykmichal/KWP
aae875431be6fa9c1a370016396f2476cb06f793
77cbdf39521e41e2bbb9aa9c00fbba0766ec052e
refs/heads/master
2020-04-26T08:50:05.726038
2019-04-24T19:47:19
2019-04-24T19:47:19
173,435,873
0
0
null
null
null
null
UTF-8
Scilab
false
false
965
sce
SM_distributed_load.sce
clear, close exec ode1.sci; clc // parametry L = 4000; // długość belki E = 210000 //N/mm^2 - szytwnosc na zginanie I = 1940e4 //mm^4 EI = E*I _q = 10000; // obciazenie liniowo rozlozne, kN/m q=_q/1000 // warunki początkowe h = 10; // krok x = 0:h:L; // x <0,L> function dydx = pochodna(x,y,q,EI,L) // równanie momentu M = -(q*L*x)/2 + q*x*(x/2) dydx(1,1) = y(2); dydx(2,1) = -M/EI; endfunction // pierwszy strzał fi1 = -1e-3; //fi1 = 1; y = rk4([0; fi1], x, pochodna); // do wyboru: euler1, euler2, midpoint, rk2 // błąd e1 = y(1,$) - 0; // drugi strzał fi2 = -1e-2; //fi2 = 2; y = rk4([0; fi2], x, pochodna); // do wyboru: euler1, euler2, midpoint, rk2 // błąd e2 = y(1,$) - 0; // skorygowany kąt obrotu fi = fi2 - e2*(fi1 - fi2)/(e1 - e2) //disp(y(1,$)) //disp(y(2,$)) disp(fi*180/%pi) // rozwiązanie y = rk4([0; fi], x, pochodna); // do wyboru: euler1, euler2, midpoint, rk2 plot(x,y(2,:)) disp(min(y(1,:)))
464678937b1a512ccb336d887b24e2c11aa148b7
449d555969bfd7befe906877abab098c6e63a0e8
/2198/CH1/EX1.40.22/Ex1_40_22.sce
407da10e0869140cc07d56726a463ce5221523b3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
213
sce
Ex1_40_22.sce
//Ex 1.40.22 clc;clear;close; format('v',9); //Given : h=6.64*10^-34;//planks constant c=3*10^8;//m/s(speed of light) lambda=0.87*10^-6;//m Eg=h*c/lambda/(1.6*10^-19);//eV disp(Eg,"Band gap(eV) : ");
ce30dc855cdfcb5c0ea45e22c6552161e645e0a8
717ddeb7e700373742c617a95e25a2376565112c
/779/CH8/EX8.9/8_9.sce
6d17844e714a713b479880e57ba88ae2bf8ed080
[]
no_license
appucrossroads/Scilab-TBC-Uploads
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
refs/heads/master
2021-01-22T04:15:15.512674
2017-09-19T11:51:56
2017-09-19T11:51:56
92,444,732
0
0
null
2017-05-25T21:09:20
2017-05-25T21:09:19
null
UTF-8
Scilab
false
false
275
sce
8_9.sce
T2 = 1063; T1 = 1073; m = 2; cp = 1.1; I = m*cp*((T1-T2)-T0*(log(T1/T2))); disp("kW",I,"The irrevesibility rate is") // At lower temperature T1_ = 353; T2_ = 343; I_ = m*cp*((T1_-T2_)-T0*(log(T1_/T2_))); disp("kW",I_,"The irrevesibility rate at lower temperature is")
dae24a079cba63ca3a9069ce9a3164faa1c4c229
449d555969bfd7befe906877abab098c6e63a0e8
/3769/CH25/EX25.17/Ex25_17.sce
10b57e8d53c4effcdd9911c508474a51cc29f930
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
211
sce
Ex25_17.sce
clear //Given T=6.0 A=6.023*10**23 W=99.0 //Calculation // l=0.693/T N0=A*10**-12/W A0=l*N0 N=N0*(1/log10(l)) A1=-(l*N) //Result printf("\n Activity in the beginning and after one hour %0.3f /h",A1*10**-8)
57c5b3f34e8d02812560a0471e1a2d6acbe5a4e1
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
/Splitgatee Pistol training.sce
c3d2f2f93d881ddcf6ec2dabcff5f7e5626cff91
[]
no_license
MBHuman/Scenarios
be1a722825b3b960014b07cda2f12fa4f75c7fc8
1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137
refs/heads/master
2023-01-14T02:10:25.103083
2020-11-21T16:47:14
2020-11-21T16:47:14
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
17,328
sce
Splitgatee Pistol training.sce
Name=Splitgatee Pistol training PlayerCharacters=Clay Pigeon BotCharacters=Long Strafe Bot.bot IsChallenge=true Timelimit=90.0 PlayerProfile=Clay Pigeon AddedBots=Long Strafe Bot.bot PlayerMaxLives=0 BotMaxLives=0 PlayerTeam=1 BotTeams=2 MapName=kovaim1.map MapScale=3.8125 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=1000.0 ScorePerDamage=1.0 ScorePerKill=0.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=true ScoreMultKillEfficiency=false GameTag=Tracking WeaponHeroTag=Pistol DifficultyTag=2 AuthorsTag=Klastitis BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=true Description=Shoot the target with your pistol GameVersion=1.0.7.2 ScorePerDistance=0.0 [Aim Profile] Name=At Feet MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=-200.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Low Skill At Feet MinReactionTime=0.35 MaxReactionTime=0.45 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=20.0 TrackSpeed=3.0 TrackError=5.0 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=60.0 ShootFOV=25.0 VerticalAimOffset=-200.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Low Skill MinReactionTime=0.35 MaxReactionTime=0.45 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=20.0 TrackSpeed=3.0 TrackError=5.0 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=60.0 ShootFOV=25.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=Long Strafe Bot DodgeProfileNames=Long Strafes DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;2.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=At Feet;Low Skill At Feet;Low Skill;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=Clay Pigeon SeeThroughWalls=false NoDodging=false NoAiming=true [Character Profile] Name=Clay Pigeon MaxHealth=100.0 WeaponProfileNames=;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=1000.0 MaxCrouchSpeed=500.0 Acceleration=4000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=3.0 AirControl=0.25 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=55.0 MainBBHasHead=true MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=true JetpackActivationDelay=0.2 JetpackFullFuelTime=2.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 [Dodge Profile] Name=Long Strafes MaxTargetDistance=100000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=50.0 DamageReactionResetTimer=0.5 JumpFrequency=0.2 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.025 BlockedMovementReactionMax=0.05 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -576.000000 0.000000 256.000000 448.000000 0.000000 256.000000 448.000000 0.000000 -768.000000 -576.000000 0.000000 -768.000000 -576.000000 -16.000000 256.000000 448.000000 -16.000000 256.000000 448.000000 -16.000000 -768.000000 -576.000000 -16.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -576.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 448.000000 272.000000 -784.000000 -576.000000 272.000000 -784.000000 -576.000000 0.000000 -768.000000 448.000000 0.000000 -768.000000 448.000000 0.000000 -784.000000 -576.000000 0.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -576.000000 272.000000 272.000000 448.000000 272.000000 272.000000 448.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 0.000000 272.000000 448.000000 0.000000 272.000000 448.000000 0.000000 256.000000 -576.000000 0.000000 256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 448.000000 272.000000 256.000000 464.000000 272.000000 256.000000 464.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 448.000000 0.000000 256.000000 464.000000 0.000000 256.000000 464.000000 0.000000 -768.000000 448.000000 0.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -592.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 272.000000 -768.000000 -592.000000 272.000000 -768.000000 -592.000000 0.000000 256.000000 -576.000000 0.000000 256.000000 -576.000000 0.000000 -768.000000 -592.000000 0.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -592.000000 704.000000 256.000000 -576.000000 704.000000 256.000000 -576.000000 704.000000 -768.000000 -592.000000 704.000000 -768.000000 -592.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 272.000000 -768.000000 -592.000000 272.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 448.000000 704.000000 256.000000 464.000000 704.000000 256.000000 464.000000 704.000000 -768.000000 448.000000 704.000000 -768.000000 448.000000 272.000000 256.000000 464.000000 272.000000 256.000000 464.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 704.000000 -768.000000 448.000000 704.000000 -768.000000 448.000000 704.000000 -784.000000 -576.000000 704.000000 -784.000000 -576.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 448.000000 272.000000 -784.000000 -576.000000 272.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 704.000000 272.000000 448.000000 704.000000 272.000000 448.000000 704.000000 256.000000 -576.000000 704.000000 256.000000 -576.000000 272.000000 272.000000 448.000000 272.000000 272.000000 448.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 720.000000 256.000000 448.000000 720.000000 256.000000 448.000000 720.000000 -768.000000 -576.000000 720.000000 -768.000000 -576.000000 704.000000 256.000000 448.000000 704.000000 256.000000 448.000000 704.000000 -768.000000 -576.000000 704.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 96.000000 -384.000000 -320.000000 96.000000 -384.000000 -320.000000 96.000000 -512.000000 -576.000000 96.000000 -512.000000 -576.000000 0.000000 -384.000000 -320.000000 0.000000 -384.000000 -320.000000 0.000000 -512.000000 -576.000000 0.000000 -512.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 192.000000 96.000000 0.000000 448.000000 96.000000 0.000000 448.000000 96.000000 -128.000000 192.000000 96.000000 -128.000000 192.000000 0.000000 0.000000 448.000000 0.000000 0.000000 448.000000 0.000000 -128.000000 192.000000 0.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 entity type PlayerSpawn Vector3 position -64.000000 0.000000 -736.000000 entity type CameraPath UInt32 entityIdAttachedTo 5 UInt8 posLerp 2 UInt8 angleLerp 2 entity type Effect Vector3 position 0.000000 256.000000 0.000000 String64 effectName internal/misc/reflectionprobe entity type Target Vector3 position 320.000000 256.000000 320.000000 Vector3 angles -135.000000 30.000000 0.000000 String32 name end entity type PlayerSpawn Vector3 position -64.000000 0.000000 224.000000 Vector3 angles 180.000000 0.000000 0.000000 entity type PlayerSpawn Vector3 position 416.000000 0.000000 -256.000000 Vector3 angles 270.000000 0.000000 0.000000 entity type PlayerSpawn Vector3 position -544.000000 0.000000 -256.000000 Vector3 angles 90.000000 0.000000 0.000000
a066b801625676157de6a7ee300c08944425454f
449d555969bfd7befe906877abab098c6e63a0e8
/695/CH3/EX3.22/Ex3_22.txt
666decf126b673b71169029308055dc7f0673523
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,071
txt
Ex3_22.txt
//Caption:Calculate (a)Efficiency at full load and at unity power factor (b)Efficiency at half load and 0.8 power factor (c)Efficiency at 75 percent of load and 0.7 power factor (d)load KVA at which maximum efficiency will occcur (e)maximum efficiency at 0.85 power factor //Exa:3.22 clc; clear; close; KVA=100; P_cu=1200;//in watts P_i=960;//in watts x1=1; pf1=1; P_o_1=x1*KVA*pf1*1000; Eff_1=P_o_1/(P_o_1+P_i+x1^2*P_cu); disp(Eff_1*100,'(a)Efficiency at full load and at unity power factor (in %)='); x2=0.5; pf2=0.8; P_o_2=x2*KVA*1000*pf2; Eff_2=P_o_2/(P_o_2+P_i+x2^2*P_cu); disp(Eff_2*100,'(b)Efficiency at half load and at 0.8 power factor (in %)='); x3=0.75; pf3=0.7; P_o_3=x3*KVA*1000*pf3; Eff_3=P_o_3/(P_o_3+P_i+x3^2*P_cu); disp(Eff_3*100,'(c) Efficiency at 75 percent of load and 0.7 power factor(in %)='); KVA_max=KVA*sqrt(P_i/P_cu); disp(KVA_max,'(d)load KVA at which maximum efficiency will occcur (in KVA)='); Eff_max=KVA_max*1000*0.85/(KVA_max*1000*0.85+2*P_i); disp(Eff_max*100,'(e)maximum efficiency at 0.85 power factor(in %)=')
575e67b5ab258f02cfb711c959295b765a98744c
449d555969bfd7befe906877abab098c6e63a0e8
/770/CH17/EX17.15/17_15.sce
b81475e5816dab1acb79160eef62c5f286daca72
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,172
sce
17_15.sce
clear; clc; //Example - 17.15 //Page number - 615 printf("Example - 17.15 and Page number - 615\n\n"); // Given T_1 = 298.15;//[K] - Standard reaction temperature T_2 = 373;//[K] - Reaction temperature P = 1;//[atm] R = 1.987;//[cal/mol-K] - Universal gas constant // CH3COOH (l) + C2H5OH (l) - CH3COOC2H5 (l) + H2O (l) delta_H_CH3COOH_298 = -116.2*10^(3);// [cal/mol] delta_H_C2H5OH_298 = -66.35*10^(3);// [cal/mol] delta_H_CH3COOC2H5_298 = -110.72*10^(3);// [cal/mol] delta_H_H2O_298 = -68.3174*10^(3);// [cal/mol] delta_G_CH3COOH_298 = -93.56*10^(3);// [cal/mol] delta_G_C2H5OH_298 = -41.76*10^(3);// [cal/mol] delta_G_CH3COOC2H5_298 = -76.11*10^(3);// [cal/mol] delta_G_H2O_298 = -56.6899*10^(3);// [cal/mol] delta_H_rkn_298 = delta_H_CH3COOC2H5_298 + delta_H_H2O_298 - delta_H_CH3COOH_298 - delta_H_C2H5OH_298;//[cal/mol] delta_G_rkn_298 = delta_G_CH3COOC2H5_298 + delta_G_H2O_298 - delta_G_CH3COOH_298 - delta_G_C2H5OH_298;//[cal/mol] // We know that delta_G_rkn_T = -R*T*log(K) // At 298.15 K K_298 = exp(-delta_G_rkn_298/(R*T_1) ); // We know that dlog(K)/dT = delta_H_rkn/(R*T^(2)) // If delta_H_rkn is assumed constant we get // log(K_2/K_1) = (-delta_H_rkn/R)*(1/T_2 - 1/T_1) // log(K_373/K_298) = (-delta_H_rkn_298/R)*(1/T_2 - 1/T_1) K_373 = exp(log(K_298) + (-delta_H_rkn_298/R)*(1/T_2 - 1/T_1)); // Note that the equilibrium constant value rises becauses the reaction is endothermic printf(" The value of equilibrium constant at 373 K is , K_373 = %f\n\n",K_373); // Let the reaction coordinate at equilibrium for the reaction be X // At equilibrium, the moles of the components be // n_CH3COOH = 1 - X // n_C2H5OH = 1 - X // n_CH3COOC2H5 = X // n_H20 = X // Total moles = 2 // Kx = (x_CH3COOH*x_C2H5OH)/(x_CH3COOC2H5*x_H2O) // Assuming the liquid mixture to be ideal,that is Ky = 1, therefore K_x = K K_x = K_373; // X^(2)/(1-X)^(2) = K_x X = (K_x)^(1/2)/(1+(K_x)^(1/2)); // The mole fraction of ethyl acetate is given by x_CH3COOC2H5 = X/2; printf(" The mole fraction of ethyl acetate in the equilibrium reaction mixture is given by, x_CH3COOC2H5 = %f\n",x_CH3COOC2H5);
0e256326a72dabb9b7559036f2303829e729c3d3
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set12/s_High_Frequency_And_Microwave_Engineering_E._Da_Silva_2210.zip/High_Frequency_And_Microwave_Engineering_E._Da_Silva_2210/CH2/EX2.10/2_10.sce
4446f725e0efe428e47a43376b6b1a09cdbaf03e
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
223
sce
2_10.sce
errcatch(-1,"stop");mode(2);//Chapter 2, Problem 10 ref=0.1 //reflection coefficient //calculation of voltage standing wave ratio Vswr=(1+ref)/(1-ref) printf("VSWR = %.2f",Vswr) exit();
92dc8b1fcb70451a88e473384a7b188deab2501e
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/m2sci/sci_eval.sci
e2f99220e5d835f3a0b9076060d8acd9d65c0e77
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
1,769
sci
sci_eval.sci
function [stk,txt,top]=sci_eval() // Copyright INRIA ARGS=[] for k=1:rhs ARGS=[stk(top)(1),ARGS] top=top-1 end if lhs==1 then LHS=lhsargs(lhsvarsnames()) if rhs==1 then if LHS<>[] then if LHS<>'ans' then set_infos(['mtlb_eval can be replaced by evstr if '+ARGS 'is a valid scilab instruction'],1) else set_infos(['mtlb_eval can be replaced by ' 'evstr if '+ARGS+' is a valid scilab expression' 'execstr if '+ARGS+' is a valid scilab instruction' ],1) end else set_infos(['mtlb_eval can be replaced by ' ' evstr if '+ARGS+ 'is a valid scilab expression' ' execstr if '+ARGS+ 'is a valid scilab instruction'],1) end stk=list('mtlb_eval'+rhsargs(ARGS),'0','?','?','?') else if LHS<>[] then ARGS=sci2exp(LHS+'=')+'+'+ARGS opt='-2' w=' ' else w=gettempvar() ARGS=sci2exp(w+'=')+'+'+ARGS opt='0' end set_infos(['mtlb_eval'+rhsargs(ARGS)+' can be replaced by' 'if '+'execstr('+ARGS(1)+',''errcatch'')'+'<>0 then' ' execstr('+ARGS(2)+')' 'end' 'If '+ARGS(1)+' and '+ARGS(2)+' are valid scilab instructions'],1) txt=[txt;'mtlb_eval'+rhsargs(ARGS)+';'] stk=list(w,opt,'?','?','?') end else LHS=lhsargs(lhsvarsnames()) ARGS=sci2exp(LHS+'=')+'+'+ARGS if rhs==1 then set_infos(['mtlb_eval can be replaced by execstr if '+ARGS 'is a valid scilab instruction'],1) else set_infos(['mtlb_eval'+rhsargs(ARGS)+' can be replaced by' 'if '+'execstr('+ARGS(1)+',''errcatch'')'+'<>0 then' ' execstr('+ARGS(2)+')' 'end' 'If '+ARGS(1)+' and '+ARGS(2)+' are valid scilab instructions'],1) end txt=[txt;'mtlb_eval'+rhsargs(ARGS)+';'] s=list(' ','-2','?','?','?') stk=list() for k=1:lhs,stk(k)=s,end end
c09ab880da454559f52f7e0daa00c2a62fa0ed57
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH5/EX5.20/ex5_20.sce
85bc3862655fb096b803a06688203955495609ca
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
585
sce
ex5_20.sce
//Chapter-5, Example 5.20, Page 182 //============================================================================= clc clear //INPUT DATA R=10;//resistance in ohms L=0.1;//inductance in henry f=50;//frequency in hz //CALCULATIONS Xl=(2*%pi*f*L);//inductive reactance in ohms Z=R+((%i)*(Xl));//impedance in ohms Y=inv(Z);//admittance in mho disp(Y); y=abs(Y);//admittance in mho mprintf("admittance is %1.5f mho",y); //=================================END OF PROGRAM======================================================================================================
bc912908033810508961bf32db9bb2991ff9a1f8
449d555969bfd7befe906877abab098c6e63a0e8
/1673/CH7/EX7.2/7_2.sce
18ce4e66d3bc5a4a006fcb6ac93c1d66e33505c8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
701
sce
7_2.sce
//example 7.2 //Factorize by triangulation method //page 259 clc;clear;close; A=[2,3,1;1,2,3;3,1,2]; L(1,2)=0,L(1,3)=0,L(2,3)=0; U(2,1)=0,U(3,1)=0,U(3,2)=0; for i=1:3 L(i,i)=1; end for i=1:3 U(1,i)=A(1,i); end L(2,1)=1/U(1,1); for i=2:3 U(2,i)=A(2,i)-U(1,i)*L(2,1); end L(3,1)=A(3,1)/U(1,1); L(3,2)=(A(3,2)-U(1,2)*L(3,1))/U(2,2); U(3,3)=A(3,3)-U(1,3)*L(3,1)-U(2,3)*L(3,2); printf('The Matrix A in Triangle form\n \n') printf('Matrix L\n'); for i=1:3 for j=1:3 printf('%.2f ',L(i,j)); end printf('\n'); end printf('\n \n'); printf('Matrix U\n'); for i=1:3 for j=1:3 printf('%.2f ',U(i,j)); end printf('\n'); end
eb55c131f85ba0007e695fb64e1cb5c64c2cd25d
449d555969bfd7befe906877abab098c6e63a0e8
/3751/CH7/EX7.5/Ex7_5.sce
f2d86c55b800f21fd408aa97948ba497440242b1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,403
sce
Ex7_5.sce
//Fluid Systems by Shiv Kumar //Chapter 7 - Performance of water turbine //Example 7.5 //To Find (a) Number of Units to be installed (b) Diameter of Wheel (c) Diameter of Jet clc clear //Given: H_G= 310; //Gross Head,m l=2.5; // Length, km h_f=25; // Friction Loses, J/N=m TO=20; //Total Output Power, MW N=660; // Speed, rpm ubyVi=0.46 //Ratio of bucket to jet speed eta_o=88/100; //Overall Efficiency Ns=28; //Specific Speed, SI Units Cv=0.97; Cd=0.94; //Data Required: rho=1000; //Density of water, kg/m^3 g=9.81; //Acceleration due to gravity, m/s^2 //Computations: H=H_G-h_f; //Effective Head, m P=(Ns*H^(5/4)/N)^2; //Power Output of each Unit, KW //(a) The no. of units to be lnstalled,n n=round(TO*1000/P); //(b)Diameter of Wheel,D Vi=Cv*sqrt(2*g*H); //m/s D=ubyVi*Vi*60/(%pi*N); //m //(c) Diameter of Jet, d Q=TO*10^6/(rho*g*H*eta_o); //Net Discharge, m^3/s q=Q/n; // Discharge through one unit, m^/s d=sqrt(q/((%pi/4)*Cd*sqrt(2*g*H)))*1000; //mm //Results printf("(a) The no. of units to be Installed=%.f Units\n",n) printf("(b) Diameter of Wheel, D=%.3f m\n",D) printf("(c) Diameter of Jet, d=%.1f mm\n",d) //The Answer Vary due to round off Error
b15a32210184d73247224c266509ae192273f191
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH17/EX17.a.1/Example_a_17_1.sce
e0f11fc17aa8c8e479632c8b246940525b92a641
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
195
sce
Example_a_17_1.sce
//Example_a_17_1 page no:863 clc; fc=2*10^3; K=400; L=K/(%pi*fc); L=L*1000; C=1/(K*%pi*fc); C=C*10^6; disp(L,"the inductance is (in mH)"); disp(C,"the capacitance is (in microFarad)");
a1ecc6cab77bb0053eca77e22807b49d5060890f
7c8f8373b8f5e06d3ebe218c8485afadb95cf70f
/scilab/a/suma pierwszych.sce
5ef6d49403380e0e4842e17416d1f859316724f4
[]
no_license
invalidCorgi/polibuda
432b41e3ebbd169812017f0fd462b59f428b9516
4a4cd16efee42e010140bd991fbd5cf034955507
refs/heads/master
2021-09-24T11:50:05.097437
2018-10-09T11:12:10
2018-10-09T11:12:10
119,171,250
0
0
null
null
null
null
UTF-8
Scilab
false
false
240
sce
suma pierwszych.sce
wynik = 2 i = 3 while i <= 100 j=1; while j <= i-1 j=j+1; if modulo(i,j)==0 then break end if j == i-1 then wynik = wynik + i end end i=i+1; end
cfda649e861ddf122c1e5cb4995f9b26afb961da
449d555969bfd7befe906877abab098c6e63a0e8
/2054/CH1/EX1.18/ex1_18.sce
04620ced8438ad707248325ba5a5621a0da608b9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
345
sce
ex1_18.sce
//Exa:1.18 clc; clear; close; P=10*7355;//in watts V=400;//in volts pf=0.8//power factor Eff=0.9;//efficiency in per unit I_f=P/(sqrt(3)*V*pf*Eff);//in amperes I_sc=7.2;//in amperes I_sc1=I_sc*400/160;//in amperes I_st=I_sc1/3;//Starting current (in amperes) I_r=I_st/I_f; disp(I_r,'Ratio of starting current to full load current=')
bd380846a102c639a3c2022c9260038085c65d7f
be79bec46a532a2d059c03f59f67a1f501c2e371
/test/testcases/directed/exp.tst
b0e1c96b3778f79c1b1248d846e004a085d28938
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sycomix/optimized-routines
5987a6a4cab10c469cc147d1d8e667fd4d8ae94a
e875f40f0b2ad71c5381a431e6d71829770c7ab7
refs/heads/master
2020-03-30T22:15:08.212539
2018-09-18T09:36:04
2018-09-18T09:36:04
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,440
tst
exp.tst
; Directed test cases for exp ; ; Copyright (c) 2018, Arm Limited. ; SPDX-License-Identifier: Apache-2.0 ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. func=exp op1=7ff80000.00000001 result=7ff80000.00000001 errno=0 func=exp op1=fff80000.00000001 result=7ff80000.00000001 errno=0 func=exp op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i func=exp op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i func=exp op1=7ff00000.00000000 result=7ff00000.00000000 errno=0 func=exp op1=fff00000.00000000 result=00000000.00000000 errno=0 func=exp op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox func=exp op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux func=exp op1=00000000.00000000 result=3ff00000.00000000 errno=0 func=exp op1=80000000.00000000 result=3ff00000.00000000 errno=0 func=exp op1=00000000.00000001 result=3ff00000.00000000 errno=0 func=exp op1=80000000.00000001 result=3ff00000.00000000 errno=0 func=exp op1=3c900000.00000000 result=3ff00000.00000000.400 errno=0 func=exp op1=bc900000.00000000 result=3fefffff.ffffffff.800 errno=0 func=exp op1=3fe00000.00000000 result=3ffa6129.8e1e069b.c97 errno=0 func=exp op1=bfe00000.00000000 result=3fe368b2.fc6f9609.fe8 errno=0 func=exp op1=3ff00000.00000000 result=4005bf0a.8b145769.535 errno=0 func=exp op1=bff00000.00000000 result=3fd78b56.362cef37.c6b errno=0 func=exp op1=40000000.00000000 result=401d8e64.b8d4ddad.cc3 errno=0 func=exp op1=c0000000.00000000 result=3fc152aa.a3bf81cb.9fe errno=0 func=exp op1=3ff12345.6789abcd result=40075955.c34718ed.6e3 errno=0 func=exp op1=40862e42.fefa39ef result=7fefffff.ffffff2a.1b1 errno=0 func=exp op1=40862e42.fefa39f0 result=7ff00000.00000000 errno=ERANGE status=ox func=exp op1=c0874910.d52d3051 result=00000000.00000001 status=ux func=exp op1=c0874910.d52d3052 result=00000000.00000000 errno=ERANGE status=ux func=exp op1=c085d589.f2fe5107 result=00f00000.000000f1.46b errno=0
67e5d60dd4094b0bfd8a5f9218e4b95de6426a62
449d555969bfd7befe906877abab098c6e63a0e8
/174/CH1/EX1.11/example1_11.sce
83d7688da10dae8e9f9309e6ca365eb227f84d78
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
944
sce
example1_11.sce
// To find Std deviation and Probable error // Modern Electronic Instrumentation And Measurement Techniques // By Albert D. Helfrick, William D. Cooper // First Edition Second Impression, 2009 // Dorling Kindersly Pvt. Ltd. India // Example 1-11 in Page 14 clear; clc; close; // Given data // let the 10 resistance measurements in ohm be taken as elements of matrix x = [101.2 101.7 101.3 101.0 101.5 101.3 101.2 101.4 101.3 101.1]; //Calculations arithmatic_mean = mean(x); sigma = stdev(x); probable_error = 0.6745 * sigma; printf("(a) The arithmatic mean of the readings = %0.1f ohm\n",arithmatic_mean); printf("(b) The standard deviation of the readings = %0.1f ohm\n",sigma); printf("(c) The probable error of the readings = %0.4f ohm",probable_error); //Result // (a) The arithmatic mean of the readings = 101.3 ohm // (b) The standard deviation of the readings = 0.2 ohm // (c) The probable error of the readings = 0.1349 ohm
8724bab765ee1c13d246209580ccba04487f20a9
449d555969bfd7befe906877abab098c6e63a0e8
/98/CH11/EX11.2/example11_2.sce
4b7aa0e308b7db1a9775a8e47b0a85942f73dba5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
174
sce
example11_2.sce
//Chapter 11 //Example 11_2 //Page 274 clear;clc; l=1000; r=495*1e6; r1=2.5/2; p=4.5*1e12; r2=r1*exp(2*%pi*r*l/p); printf("Insulation thickness = %.2f cm \n\n", r2-r1);
58bda6028b644fab077f8a9d718fe67bc22c77b4
449d555969bfd7befe906877abab098c6e63a0e8
/167/CH8/EX8.15/ex15.sce
239a5c96120c2fc9d7af2413560a31d8d18847b6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
WINDOWS-1252
Scilab
false
false
1,022
sce
ex15.sce
//example 15 //second law analysis of steam turbine clear clc P1=3 //in MPa T1=450 //in °C h1=3344.9 //in kJ/kg s1=7.0856 //in kJ/kg-K P2=0.2 //in MPa T2=150 //in °C h2=2769.1 //in kJ/kg s2=7.2810 //in kJ/kg-K P0=100 //in kPa T0=25//in °C h0=104.83 //in kJ/kg s0=0.3672 //in kJ/kg-K m=8 //mass flow rate of turbine in kg/s Qout=300 //heat loss to surrounding air in kW Wout=m*(h1-h2)-Qout //actual power output of turbine in kW Wrevout=m*((h1-h2)-(T0+273)*(s1-s2)) //reversible power in kW n=Wout/Wrevout //second law efficiency Xdestroyed=Wrevout-Wout //exergy destroyed in kW w1=h1-h0-(T0+273)*(s1-s0) //maximum work potential in kJ/kg printf("\n Hence,The actual power output is = %.0f kW. \n",Wout); printf("\n The maximum possible power output is = %.0f kW. \n",Wrevout); printf("\n The second law efficiency is = %.1f percent. \n",n*100); printf("\n The exergy destroyed is = %.0f kW. \n",Xdestroyed); printf("\n The exergy of the steam at the inlet conditions is =%.0f kJ/kg. \n",w1);
3920ae285f1141e161f201a6dcd2681c7da816fc
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH27/EX27.6/ex27_6.sce
feb28a6de5a554f96baef0c5f08da6f61e62c043
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
48
sce
ex27_6.sce
clc; disp(2*170,"Mass = "); //displaying result
ab8c05a8eb41b4b00b067b85c5ed2dec1218d4cd
8781912fe931b72e88f06cb03f2a6e1e617f37fe
/scilab/solar-coupling1/solar-coupling1/solarconv.sce
efd7cbeaa094d8408eb62ac7c1343ffa23722b47
[]
no_license
mikeg2105/matlab-old
fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e
eac168097f9060b4787ee17e3a97f2099f8182c1
refs/heads/master
2021-05-01T07:58:19.274277
2018-02-11T22:09:18
2018-02-11T22:09:18
121,167,118
1
0
null
null
null
null
UTF-8
Scilab
false
false
860
sce
solarconv.sce
//perturbed MHD equations for convective zone N=10; //order k=2.62/1000000.0; for i=1:100 kin(i)=(1.0+1.62*i/100)/1000000.0; k=kin(i); rsun=696000000.0; //m c2=1; g=274.0; //m/s^2 V=50; //m/s characteristic velocity http://adsabs.harvard.edu/full/1962ApJ...135..474L omega=2.0*%pi*2.5/1000; //2.5mHz omegad=omega-(k*V); //doppler shifted frequency czero=6000.76; //m/s isothermal atmosphere at temperature minimum //data from http://www.sns.ias.edu/~jnb/SNdata/Export/BS2005/bs05_agsop.dat rho0=2/10000; //kg/m^3 density of photosphere p0=6.661*100000000; //N/m^2 dp0dz=(0.77*100000000)/(0.001*rsun); drho0dz=(0.553)/(10.0*0.001*rsun); gammap=5/3; csdashsq=(dp0dz*gammap/rho0)-(drho0dz*gammap*p0/(rho0^2)); m=((gammap*g)/(csdashsq))-1; z0=(czero^2)/(csdashsq); a=((m+1)/gammap)*(omegad^2/(2*g*k)) z=0.5; delta(i)=solmhdconv(z,k,z0,a,m,c2,N); end
fa13a46ffe5c36584c27f854d46fae892117c637
449d555969bfd7befe906877abab098c6e63a0e8
/2774/CH6/EX6.11/Ex6_11.sce
d20daa7c557ed76452c39d44074d1a0f34728920
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,153
sce
Ex6_11.sce
clc // solution //initialization of variables // refer to fig 6.10c QdotC=300 //heating Load in KWh or heat rejected by condensor T1=-12 // evaporator temperature in degree celsius P2=800 // condensor pressure in kPa h1=240 // specific enthalpy of saturated R-134a vapour @ -12 degree celsius from table D.1 s1=0.927 // specific entropy of saturated R-134a vapour @ -12 degree celsius from table D.1 s2=s1 // isentropic process h3=93.4 //specific enthalpy of saturated R-134a liquid @ 800 kPa from tableD.2 // extrapolating enthalpy from table D.2 @ 0.8 MPa for s=0.927 h2=273.7-(0.9374-s2)*(284.4-273.7)/(0.9711-0.9374) // QdotE=mdot*(h1-h4) is heat transfer rate mdot=QdotC/(h2-h3)// mass flow rate WdotC=mdot*(h2-h1)// power given to compressor //part(a) COP=QdotC/WdotC // coefficient of performance printf("The coefficient of performance is %0.2f \n ",COP) //part(b) cost=WdotC*0.07 // cost of electricity printf("The cost of electricity is $ %0.3f /hr \n",cost) //part(c) costgas=(300*3600*0.50)/100000 // cost of gas printf("The cost of gas is $ %0.2f /hr \n Thus heat pump is better ",costgas)
7484d992b10caf34c2345be5b4ea70f5c46fcafa
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.2/macros/percent/%prr.sci
bc9364e9beac1ecbfb8a3058056b9f700ee86c9b
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
259
sci
%prr.sci
//<f>=%prr(m,f) // %prr(p1,p2) calcule p1*(p2**(-1)) ou p1 est une matrice de polynomes //et p2 une matrice de fractions rationelles. //! if prod(size(f(2)))<>1 then f=m*invr(f),return,end [l,c]=size(m); [num,den]=f(2:3) f(2)=m*den,f(3)=ones(l,c)*num //end
8d1655839fae7900fc4157b3a7bb1a83c0b9ce48
717ddeb7e700373742c617a95e25a2376565112c
/2474/CH10/EX10.8/Ch10Ex08.sce
cece3bbc09525f6ad0c208bb054fe8841a5a04df
[]
no_license
appucrossroads/Scilab-TBC-Uploads
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
refs/heads/master
2021-01-22T04:15:15.512674
2017-09-19T11:51:56
2017-09-19T11:51:56
92,444,732
0
0
null
2017-05-25T21:09:20
2017-05-25T21:09:19
null
UTF-8
Scilab
false
false
815
sce
Ch10Ex08.sce
// Scilab code Ex10.8: Pg.448 (2008) clc; clear; K = 9e+09; // Coulomb's constant, N-m^2/C^2 h_cross = 1.055e-34; // Reduced Plank's constant, J-s e = 1.6e-19; // Electronic charge, C k = 15.9; // Dielectric constant of Ge m_e = 9.11e-31; // Mass of electrons, kg m = 0.1*m_e; // Effective mass of electrons in Ge, kg // Magnitude of ionization energy corresponding to n = 1 is E_1 = 0.5*(K*e^2/h_cross)^2*m/k^2; // Ionization energy, J a_o = 0.0529; // Bohr's radius, nm r_1 = a_o*(m_e/m)*k; // Radius of electron's orbit, nm printf("\nThe ionization energy in Ge = %3.1e J or %3.1e eV", E_1, E_1/e); printf("\nThe radius of electron orbit = %3.1f nm", r_1); // Result // The ionization energy in Ge = 8.6e-022 J or 5.4e-003 eV // The radius of electron orbit = 8.4 nm
632e5f18056a538a3677dfda8ea8d4de4f72fa40
449d555969bfd7befe906877abab098c6e63a0e8
/605/CH4/EX4.10/4_10.sce
bbc7a83142f894dab347fd91819162c869fc1a9c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
346
sce
4_10.sce
Er=2.25 ur=1 W=10^9 p=0.2 uo=4*%pi*10^-7 Eo=8.854*10^-12 ko=W*sqrt(uo*Eo) k2=W*sqrt(uo*Eo*Er) n1=sqrt(uo/Eo) n2=sqrt(uo/Eo/Er) R=(n2-n1)/(n1+n2) T=2*n2/(n1+n2) VSWR=(1+p)/(1-p) Pav=3.84^2/(2*n2) printf("\nko=%.4f rad/m\nk2=%.4f rad/m\nn1=%.4f ohm\nn2=%.4f ohm\nR=%.2f\nT=%.2f \nVSWR=%.2f\nPav=%.4f W/m^2",ko,k2,n1,n2,R,T,VSWR,Pav)
3ff82360c63c15aabbaef0d307c11dcea6a460db
19499d51e6cb102cb79dfaac1988c6d08b5e8403
/src/MuPAD/GeoProver.tst
d6c1e74e007b0fbefb134003643f9832a38c8425
[]
no_license
hg-graebe/GeoProver
d9a5858a4c26dd2720ca6542bd409623d979ab4f
94adbfdd0308d92fbfca8c88698c226bfe1fa662
refs/heads/master
2021-01-16T18:45:21.145047
2018-04-02T08:08:11
2018-04-02T08:08:11
10,639,777
0
0
null
null
null
null
UTF-8
Scilab
false
false
9,676
tst
GeoProver.tst
// GeoProver test file for MuPAD, created on Jan 18 2003 read("GeoProver.mu"): export(groebner): export(geoprover): read("supp.mu"): PRETTYPRINT:=FALSE: // Example Arnon // // The problem: // Let $ABCD$ be a square and $P$ a point on the line parallel to $BD$ // through $C$ such that $l(BD)=l(BP)$, where $l(BD)$ denotes the // distance between $B$ and $D$. Let $Q$ be the intersection point of // $BF$ and $CD$. Show that $l(DP)=l(DQ)$. // // The solution: _vars:=geoList(x1, x2, x3); // Points _A:=Point(0,0); _B:=Point(1,0); _C:=Point(1,1); _D:=Point(0,1); _P:=Point(x1,x2); // coordinates _Q:=varpoint(_D,_C,x3); // polynomials _polys:=geoList(on_line(_P,par_line(_C,pp_line(_B,_D))), eq_dist(_B,_D,_B,_P), on_line(_Q,pp_line(_B,_P))); // conclusion _con:=eq_dist(_D,_P,_D,_Q); // solution _gb:=geo_gbasis(_polys,_vars); _result:=geo_normalf(_con,_gb,_vars); // Example CircumCenter_1 // // The problem: // The intersection point of the midpoint perpendiculars is the // center of the circumscribed circle. // // The solution: _parameters:=geoList(a1, a2, b1, b2, c1, c2); // Points _A:=Point(a1,a2); _B:=Point(b1,b2); _C:=Point(c1,c2); // coordinates _M:=intersection_point(p_bisector(_A,_B), p_bisector(_B,_C)); // conclusion _result:=geoList( eq_dist(_M,_A,_M,_B), eq_dist(_M,_A,_M,_C) ); // Example EulerLine_1 // // The problem: // Euler's line: The center $M$ of the circumscribed circle, // the orthocenter $H$ and the barycenter $S$ are collinear and $S$ // divides $MH$ with ratio 1:2. // // The solution: _parameters:=geoList(a1, a2, b1, b2, c1, c2); // Points _A:=Point(a1,a2); _B:=Point(b1,b2); _C:=Point(c1,c2); // coordinates _S:=intersection_point(median(_A,_B,_C),median(_B,_C,_A)); _M:=intersection_point(p_bisector(_A,_B), p_bisector(_B,_C)); _H:=intersection_point(altitude(_A,_B,_C),altitude(_B,_C,_A)); // conclusion _result:=geoList(is_collinear(_M,_H,_S), sqrdist(_S,fixedpoint(_M,_H,1/3))); // Example Brocard_3 // // The problem: // Theorem about the Brocard points: // Let $\Delta\,ABC$ be a triangle. The circles $c_1$ through $A,B$ and // tangent to $g(AC)$, $c_2$ through $B,C$ and tangent to $g(AB)$, and // $c_3$ through $A,C$ and tangent to $g(BC)$ pass through a common // point. // // The solution: _parameters:=geoList(u1, u2); // Points _A:=Point(0,0); _B:=Point(1,0); _C:=Point(u1,u2); // coordinates _M1:=intersection_point(altitude(_A,_A,_C),p_bisector(_A,_B)); _M2:=intersection_point(altitude(_B,_B,_A),p_bisector(_B,_C)); _M3:=intersection_point(altitude(_C,_C,_B),p_bisector(_A,_C)); _c1:=pc_circle(_M1,_A); _c2:=pc_circle(_M2,_B); _c3:=pc_circle(_M3,_C); _P:=other_cc_point(_B,_c1,_c2); // conclusion _result:= on_circle(_P,_c3); // Example Feuerbach_1 // // The problem: // Feuerbach's circle or nine-point circle: The midpoint $N$ of $MH$ is // the center of a circle that passes through nine special points, the // three pedal points of the altitudes, the midpoints of the sides of the // triangle and the midpoints of the upper parts of the three altitudes. // // The solution: _parameters:=geoList(u1, u2, u3); // Points _A:=Point(0,0); _B:=Point(u1,0); _C:=Point(u2,u3); // coordinates _H:=intersection_point(altitude(_A,_B,_C),altitude(_B,_C,_A)); _D:=intersection_point(pp_line(_A,_B),pp_line(_H,_C)); _M:=intersection_point(p_bisector(_A,_B), p_bisector(_B,_C)); _N:=midpoint(_M,_H); // conclusion _result:=geoList( eq_dist(_N,midpoint(_A,_B),_N,midpoint(_B,_C)), eq_dist(_N,midpoint(_A,_B),_N,midpoint(_H,_C)), eq_dist(_N,midpoint(_A,_B),_N,_D) ); // Example FeuerbachTangency_1 // // The problem: // For an arbitrary triangle $\Delta\,ABC$ Feuerbach's circle (nine-point // circle) is tangent to its 4 tangent circles. // // The solution: _vars:=geoList(x1, x2); _parameters:=geoList(u1, u2); // Points _A:=Point(0,0); _B:=Point(2,0); _C:=Point(u1,u2); _P:=Point(x1,x2); // coordinates _M:=intersection_point(p_bisector(_A,_B), p_bisector(_B,_C)); _H:=intersection_point(altitude(_A,_B,_C),altitude(_B,_C,_A)); _N:=midpoint(_M,_H); _c1:=pc_circle(_N,midpoint(_A,_B)); _Q:=pedalpoint(_P,pp_line(_A,_B)); // polynomials _polys:=geoList(on_bisector(_P,_A,_B,_C), on_bisector(_P,_B,_C,_A)); // conclusion _con:=is_cc_tangent(pc_circle(_P,_Q),_c1); // solution _gb:=geo_gbasis(_polys,_vars); _result:=geo_normalf(_con,_gb,_vars); // Example GeneralizedFermatPoint_1 // // The problem: // A generalized theorem about Napoleon triangles: // Let $\Delta\,ABC$ be an arbitrary triangle and $P,Q$ and $R$ the third // vertex of isosceles triangles with equal base angles erected // externally on the sides $BC, AC$ and $AB$ of the triangle. Then the // lines $g(AP), g(BQ)$ and $g(CR)$ pass through a common point. // // The solution: _vars:=geoList(x1, x2, x3, x4, x5); _parameters:=geoList(u1, u2, u3); // Points _A:=Point(0,0); _B:=Point(2,0); _C:=Point(u1,u2); _P:=Point(x1,x2); _Q:=Point(x3,x4); _R:=Point(x5,u3); // polynomials _polys:=geoList(eq_dist(_P,_B,_P,_C), eq_dist(_Q,_A,_Q,_C), eq_dist(_R,_A,_R,_B), eq_angle(_R,_A,_B,_P,_B,_C), eq_angle(_Q,_C,_A,_P,_B,_C)); // conclusion _con:=is_concurrent(pp_line(_A,_P), pp_line(_B,_Q), pp_line(_C,_R)); // solution _sol:=geo_solve(_polys,_vars); _result:=geo_eval(_con,_sol); // Example TaylorCircle_1 // // The problem: // Let $\Delta\,ABC$ be an arbitrary triangle. Consider the three // altitude pedal points and the pedal points of the perpendiculars from // these points onto the the opposite sides of the triangle. Show that // these 6 points are on a common circle, the {\em Taylor circle}. // // The solution: _parameters:=geoList(u1, u2, u3); // Points _A:=Point(u1,0); _B:=Point(u2,0); _C:=Point(0,u3); // coordinates _P:=pedalpoint(_A,pp_line(_B,_C)); _Q:=pedalpoint(_B,pp_line(_A,_C)); _R:=pedalpoint(_C,pp_line(_A,_B)); _P1:=pedalpoint(_P,pp_line(_A,_B)); _P2:=pedalpoint(_P,pp_line(_A,_C)); _Q1:=pedalpoint(_Q,pp_line(_A,_B)); _Q2:=pedalpoint(_Q,pp_line(_B,_C)); _R1:=pedalpoint(_R,pp_line(_A,_C)); _R2:=pedalpoint(_R,pp_line(_B,_C)); // conclusion _result:=geoList( is_concyclic(_P1,_P2,_Q1,_Q2), is_concyclic(_P1,_P2,_Q1,_R1), is_concyclic(_P1,_P2,_Q1,_R2)); // Example Miquel_1 // // The problem: // Miquels theorem: Let $\Delta\,ABC$ be a triangle. Fix arbitrary points // $P,Q,R$ on the sides $AB, BC, AC$. Then the three circles through each // vertex and the chosen points on adjacent sides pass through a common // point. // // The solution: _parameters:=geoList(c1, c2, u1, u2, u3); // Points _A:=Point(0,0); _B:=Point(1,0); _C:=Point(c1,c2); // coordinates _P:=varpoint(_A,_B,u1); _Q:=varpoint(_B,_C,u2); _R:=varpoint(_A,_C,u3); _X:=other_cc_point(_P,p3_circle(_A,_P,_R),p3_circle(_B,_P,_Q)); // conclusion _result:=on_circle(_X,p3_circle(_C,_Q,_R)); // Example PappusPoint_1 // // The problem: // Let $A,B,C$ and $P,Q,R$ be two triples of collinear points. Then by // the Theorem of Pappus the intersection points $g(AQ)\wedge g(BP), // g(AR)\wedge g(CP)$ and $g(BR)\wedge g(CQ)$ are collinear. // // Permuting $P,Q,R$ we get six such {\em Pappus lines}. Those // corresponding to even resp. odd permutations are concurrent. // // The solution: _parameters:=geoList(u1, u2, u3, u4, u5, u6, u7, u8); // Points _A:=Point(u1,0); _B:=Point(u2,0); _P:=Point(u4,u5); _Q:=Point(u6,u7); // coordinates _C:=varpoint(_A,_B,u3); _R:=varpoint(_P,_Q,u8); // conclusion _result:=is_concurrent(pappus_line(_A,_B,_C,_P,_Q,_R), pappus_line(_A,_B,_C,_Q,_R,_P), pappus_line(_A,_B,_C,_R,_P,_Q)); // Example IMO/36_1 // // The problem: // Let $A,B,C,D$ be four distinct points on a line, in that order. The // circles with diameters $AC$ and $BD$ intersect at the points $X$ and // $Y$. The line $XY$ meets $BC$ at the point $Z$. Let $P$ be a point on // the line $XY$ different from $Z$. The line $CP$ intersects the circle // with diameter $AC$ at the points $C$ and $M$, and the line $BP$ // intersects the circle with diameter $BD$ at the points $B$ and // $N$. Prove that the lines $AM, DN$ and $XY$ are concurrent. // // The solution: _vars:=geoList(x1, x2, x3, x4, x5, x6); _parameters:=geoList(u1, u2, u3); // Points _X:=Point(0,1); _Y:=Point(0,-1); _M:=Point(x1,x2); _N:=Point(x3,x4); // coordinates _P:=varpoint(_X,_Y,u3); _Z:=midpoint(_X,_Y); _l:=p_bisector(_X,_Y); _B:=line_slider(_l,u1); _C:=line_slider(_l,u2); _A:=line_slider(_l,x5); _D:=line_slider(_l,x6); // polynomials _polys:=geoList(is_concyclic(_X,_Y,_B,_N), is_concyclic(_X,_Y,_C,_M), is_concyclic(_X,_Y,_B,_D), is_concyclic(_X,_Y,_C,_A), is_collinear(_B,_P,_N), is_collinear(_C,_P,_M)); // constraints _nondeg:=geoList(x5-u2,x1-u2,x6-u1,x3-u1); // conclusion _con:=is_concurrent(pp_line(_A,_M),pp_line(_D,_N),pp_line(_X,_Y)); // solution _sol:=geo_solveconstrained(_polys,_vars,_nondeg); _result:=geo_eval(_con,_sol); // Example IMO/43_2 // // The problem: // // No verbal problem description available // // The solution: _vars:=geoList(x1, x2); _parameters:=geoList(u1); // Points _B:=Point(-1,0); _C:=Point(1,0); // coordinates _O:=midpoint(_B,_C); _gamma:=pc_circle(_O,_B); _D:=circle_slider(_O,_B,u1); _E:=circle_slider(_O,_B,x1); _F:=circle_slider(_O,_B,x2); _A:=sym_point(_B,pp_line(_O,_D)); _J:=intersection_point(pp_line(_A,_C), par_line(_O, pp_line(_A,_D))); _m:=p_bisector(_O,_A); _P1:=pedalpoint(_J,_m); _P2:=pedalpoint(_J,pp_line(_C,_E)); _P3:=pedalpoint(_J,pp_line(_C,_F)); // polynomials _polys:=geoList(on_line(_E,_m), on_line(_F,_m)); // constraints _nondegs:=geoList(x1-x2); // conclusion _con:=geoList(eq_dist(_J,_P1,_J,_P2), eq_dist(_J,_P1,_J,_P3)); // solution _sol:=geo_solveconstrained(_polys,_vars,_nondegs); _result:=geo_simplify(geo_eval(_con,_sol)); quit;
28dff798eea02d32815fefff39575a0c114ee03b
449d555969bfd7befe906877abab098c6e63a0e8
/1949/CH1/EX1.23/1_23.sce
5a7f5bb329d8693b4d7c94e7af4e36036a892985
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
361
sce
1_23.sce
//Chapter-1,Example 1_23,Page 1-46 clc() //Given Data: theta=20/3600*%pi/180 //angle of wedge in radians B=0.25*10^-2 //fringe spacing u=1.4 //Refractive index of film //Calculations: //We know, B=lam/(2*u*theta). lam=2*B*theta*u //wavelength of light printf('Wavelength of light is =%.10f m',lam)
2f05164858e9421b7f267efd035349ab37ed4ad9
449d555969bfd7befe906877abab098c6e63a0e8
/3856/CH9/EX9.3/Ex9_3.sce
b95eb85a2a79550a30d90be4e4dd5fea0a87e08e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
575
sce
Ex9_3.sce
//Calculate the Equilibrium constant for the reaction 2H2(g)+O2(g)=2H2O(l) //Example 9.3 clc; clear; delG1=-237.2; //Standard Gibbs enaergy for H2O in kJ mol^-1 delG2=0; //Standard Gibbs enaergy for H2 in kJ mol^-1 delG3=0; //Standard Gibbs enaergy for O2 in kJ mol^-1 delG=2*delG1-2*delG2-delG3; //Standard Gibbs enaergy change for the reaction in kJ mol^-1 R=8.314; //Gas constant in J K^-1 mol^-1 T=298; //Temperature in K Kp=exp(-(delG*1000)/(R*T)); //Equilibrium constant printf("Equilibrium constant = %.1f*10^83",Kp*10^-83);
478cd37bed42d9ae31abd9ac16d8754a8b15867c
449d555969bfd7befe906877abab098c6e63a0e8
/626/CH11/EX11.6/11_6.sce
725525fd8f54387fcd1069c0008817c63fa134bd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
223
sce
11_6.sce
clear; clc; close; disp("Example 11.6") g=9.8 //in m/s^2 Is=400 //in s delv1=g*Is*log(1/0.1) //for pmf=0.9 delv2=g*Is*log(1/0.05) //for pmf=0.95 delp=(delv2-delv1)/delv1*100 disp(delp,"% improvement in delv :")
2ecc26e3c18fdd7eea21fa75e91583f7d7770754
7b7be9b58f50415293def4aa99ef5795e6394954
/sim/cmd/test/deprop.tst
52cedd884bcddf938ce7760c1b68d3871b56186f
[]
no_license
sabualkaz/sim42
80d1174e4bc6ae14122f70c65e259a9a2472ad47
27b5afe75723c4e5414904710fa6425d5f27e13c
refs/heads/master
2022-07-30T06:23:20.119353
2020-05-23T16:30:01
2020-05-23T16:30:01
265,842,394
0
0
null
2020-05-21T12:26:00
2020-05-21T12:26:00
null
UTF-8
Scilab
false
false
2,436
tst
deprop.tst
# Depeopanizer test (from old Hysim manual) units Field $thermo = VirtualMaterials.Peng-Robinson / -> $thermo thermo + Methane Ethane PROPANE thermo + ISOBUTANE n-BUTANE ISOPENTANE n-PENTANE n-Hexane thermo + n-Heptane n-Octane deprop = Tower.Tower() deprop.Stage_0 + 18 # twenty stages` cd deprop.Stage_0 v = Tower.VapourDraw() v.Port.P = 200 v.Port.Fraction.ISOBUTANE = .01 cond = Tower.EnergyFeed(0) #cond.Port.Energy = 1.667e6 #estReflux = Tower.Estimate('Reflux') #estReflux.Value = .45 estT = Tower.Estimate('T') estT.Value = 25 #reflux = Tower.StageSpecification('Reflux') #reflux.Value = .5042 cd ../Stage_9 f = Tower.Feed() f.Port.T = 50 f.Port.P = 480 f.Port.MoleFlow = 1000 f.Port.Fraction = .1702 .1473 .1132 .1166 .1066 .0963 .0829 .0694 .0558 .0417 f.Port #estT = Tower.Estimate('T') #estT.Value = 100 cd ../Stage_19 l = Tower.LiquidDraw() l.Port.P = 205 l.Port.Fraction.PROPANE = .02 reb = Tower.EnergyFeed(1) #reb.Port.Energy = 8.42e6 estT = Tower.Estimate('T') estT.Value = 250 cd .. /overhead = Stream.Stream_Material() /overhead.In -> Stage_0.v.Port /bottoms = Stream.Stream_Material() /bottoms.In -> Stage_19.l.Port TryToSolve = 1 # start calculation /overhead.Out /bottoms.Out #Now lets do some vol flow specs commonproperties + VolumeFlow StdLiqMolarVol displayproperties + StdLiqMolarVol StdLiqVolumeFlow TryToSolve = 1 TryToRestart = 1 #Delete fractions /deprop.LiquidDraw_19_l.Fraction = None None None None None None None None None None /deprop.LiquidDraw_19_l.StdLiqVolumeFlow = 0.304 /overhead.Out /bottoms.Out /deprop.LiquidDraw_19_l.StdLiqVolumeFlow = /deprop.VapourDraw_0_v.VolumeFlow = 2.0 /overhead.Out /bottoms.Out TryToRestart = 1 #Keep last solution and ramp it up /deprop.VapourDraw_0_v.VolumeFlow = 2.8 /overhead.Out /bottoms.Out /deprop.VapourDraw_0_v.VolumeFlow = 2.0 cd / #Now lets play with re-naming /deprop.Stage_0.v.NewName = VapDist #will not be there /deprop.Stage_0.v #Should be there /deprop.Stage_0.VapDist #Should not allow for repeated names in the same stage /deprop.Stage_0.VapDist.NewName = cond #Now rename to a name of a stream. It should be able to handle #a name equal to another unit operation /deprop.Stage_0.VapDist.NewName = overhead /deprop copy /deprop /bottoms /overhead paste / /bottoms.In /bottomsClone.In
8b913b70c3ac3cfc22e6fa6e544232b017a88dfd
449d555969bfd7befe906877abab098c6e63a0e8
/2498/CH3/EX3.6/ex3_6.sce
70de05b571a98103caa8343abf8907b8496b8384
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
487
sce
ex3_6.sce
// Exa 3.6 clc; clear; close; format('v',6) // Given data R_L = 1.2;// in k ohm R_L = R_L * 10^3;// in ohm R = 220;// in ohm V_Z = 20;// in V // The minimum value of Vi Vimin = ((R_L+R)/R_L)*V_Z;// in V disp(Vimin,"The minimum value of Vi in V is"); I_L = V_Z/R_L;// in A I_ZM = 60;// in mA I_ZM = I_ZM * 10^-3;// in A // I_ZM = I_R-I_L; I_Rmax = I_ZM + I_L; // The maximum value of Vi Vimax = (I_Rmax*R)+V_Z;// in V disp(Vimax,"The maximum value of Vi in V is");
44771a4ab143b09424eedb6db0a4b0ec8d8c45e7
d145a801b8f64afaf9dd0330b93936ca3343cbdb
/test_suite/test-rest.tst
c1d4b62a533bc6435d38a4f17ea05ceb60b796f5
[]
no_license
ChemCryst/crystals
0fff27ff8576b7c7199e1eaa671407d50132b98e
8087c68d7f05b903473cee1cb131c06f819dc660
refs/heads/master
2023-08-17T16:36:03.675124
2023-06-26T10:54:29
2023-06-26T10:54:29
152,602,292
2
0
null
2023-06-26T10:54:30
2018-10-11T14:09:45
Roff
UTF-8
Scilab
false
false
31,070
tst
test-rest.tst
\ Test the restraint processing \set time slow \rele print CROUTPUT: #LIST 1 REAL 4.9249 11.0348 15.3223 90.0000 90.0000 90.0000 END #SPACE SYM P 21 21 21 END #LIST 3 READ NSCATTERERS= 4 SCAT TYPE= C 0.003300 0.001600 2.310000 20.843920 CONT 1.020000 10.207510 1.588600 0.568700 CONT 0.865000 51.651249 0.215600 SCAT TYPE= H 0.000000 0.000000 0.493000 10.510910 CONT 0.322910 26.125731 0.140190 3.142360 CONT 0.040810 57.799770 0.003040 SCAT TYPE= N 0.006100 0.003300 12.212610 0.005700 CONT 3.132200 9.893310 2.012500 28.997540 CONT 1.166300 0.582600 -11.529010 SCAT TYPE= O 0.010600 0.006000 3.048500 13.277110 CONT 2.286800 5.701110 1.546300 0.323900 CONT 0.867000 32.908939 0.250800 END #LIST 4 SCHEME 9 NPARAM= 0 TYPE=1/2FO CONT WEIGHT= 2.0000000 MAX= 10000.0000 ROBUST=N CONT DUNITZ=N TOLER= 6.0000 DS1= 1.0000 CONT DS2= 1.0000 QUASI= 0.2500 END # # Punched on 11/03/16 at 11:20:13 # #LIST 5 READ NATOM = 22, NLAYER = 0, NELEMENT = 0, NBATCH = 0 OVERALL 1.597815 0.050000 0.050000 1.000000 -0.272027 0.0000000 ATOM O 1. 1.000000 0. 0.022787 0.392382 0.816344 CON U[11]= 0.023165 0.048976 0.050752 0.002610 0.000711 0.001690 CON SPARE= 1.00 0 27262979 1 0 ATOM C 2. 1.000000 0. 0.264040 0.383740 0.834406 CON U[11]= 0.031111 0.024769 0.032160 -0.003190 -0.000338 0.001515 CON SPARE= 1.00 0 27787267 1 0 ATOM N 3. 1.000000 0. 0.459793 0.408987 0.776060 CON U[11]= 0.022122 0.036908 0.032528 0.002634 -0.003084 0.001358 CON SPARE= 1.00 0 25690115 1 0 ATOM C 4. 1.000000 0. 0.396783 0.452845 0.690378 CON U[11]= 0.027880 0.031565 0.032000 0.003412 0.000903 -0.000984 CON SPARE= 1.00 0 25690115 1 0 ATOM C 5. 1.000000 0. 0.263518 0.368848 0.628233 CON U[11]= 0.036678 0.031267 0.031052 0.003556 0.001187 0.002210 CON SPARE= 1.00 0 25165827 1 0 ATOM O 6. 1.000000 0. 0.270916 0.253970 0.655054 CON U[11]= 0.062110 0.027582 0.036865 0.002381 -0.007355 -0.000883 CON SPARE= 1.00 0 25690115 1 0 ATOM C 7. 1.000000 0. 0.143769 0.167191 0.596659 CON U[11]= 0.085196 0.037372 0.043648 -0.002112 -0.006427 -0.012855 CON SPARE= 1.00 0 25690115 1 0 ATOM O 8. 1.000000 0. 0.165078 0.400843 0.559974 CON U[11]= 0.071291 0.038419 0.035651 0.005382 -0.013876 -0.000556 CON SPARE= 1.00 0 25165827 1 0 ATOM C 9. 1.000000 0. 0.331339 0.586277 0.680106 CON U[11]= 0.040136 0.029209 0.045047 0.004976 0.000650 -0.004393 CON SPARE= 1.00 0 25165827 1 0 ATOM C 10. 1.000000 0. 0.601360 0.540042 0.650835 CON U[11]= 0.034446 0.049134 0.049586 0.011722 0.005060 -0.009754 CON SPARE= 1.00 0 25165827 1 0 ATOM C 11. 1.000000 0. 0.360778 0.347552 0.923654 CON U[11]= 0.045786 0.039787 0.031428 -0.001340 -0.000093 0.005476 CON SPARE= 1.00 0 25165827 1 0 ATOM H 73. 1.000000 1. 0.136163 0.087136 0.633003 CON U[11]= 0.070760 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 524290 0 0 ATOM H 72. 1.000000 1. -0.035024 0.192784 0.593789 CON U[11]= 0.071532 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 524290 0 0 ATOM H 71. 1.000000 1. 0.231813 0.163619 0.540773 CON U[11]= 0.082407 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25690114 0 0 ATOM H 91. 1.000000 1. 0.298191 0.634751 0.735234 CON U[11]= 0.051704 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 92. 1.000000 1. 0.182449 0.603075 0.635514 CON U[11]= 0.046401 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 101. 1.000000 1. 0.800588 0.556211 0.685836 CON U[11]= 0.087570 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 102. 1.000000 1. 0.627086 0.531419 0.585334 CON U[11]= 0.047074 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 113. 1.000000 1. 0.548422 0.329671 0.925729 CON U[11]= 0.064825 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 112. 1.000000 1. 0.320041 0.411907 0.962281 CON U[11]= 0.085151 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 111. 1.000000 1. 0.220924 0.273460 0.938925 CON U[11]= 0.091012 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25165826 0 0 ATOM H 31. 1.000000 1. 0.627608 0.398644 0.789716 CON U[11]= 0.037649 0.000000 0.000000 0.000000 0.000000 0.000000 CON SPARE= 1.00 0 25690114 0 0 END #LIST 13 CRYST FRIEDELPAIRS=N TWINNED=N SPREAD=GAUSSIA DIFFRACTION GEOMETRY=UNKNOWN RADIATION=XRAYS CONDI WAVEL= 0.71073 0.000 0.000 0.5869359 0.6427007 0.0001788 90.000 MATR 0.000000000 0.000000000 0.000000000 CONT 0.000000000 0.000000000 0.000000000 CONT 0.000000000 0.000000000 0.000000000 END #LIST 23 MODIFY ANOM=Y EXTI=N LAYER=N BATCH=N CONT PARTI=N UPDA=N ENANT=Y MINIMI NSING= 0 F-SQ=Y RESTR=Y REFLEC=Y ALLCYCLES U[MIN]= 0.00000000 CONT MIN-R= 0.000000 MAX-R= 100.000 CONT MIN-WR= 0.000000 MAX-WR= 100.000 CONT MIN-SUMSQ= 0.030000 MAX-SUMSQ= 10000.000 CONT MIN-MINFUNC= 0.000000 MAX-MINFUNC= 999999986991104.000 INTERCYCLE MIN-DR= -5.000000 MAX-DR= 100.000 CONT MIN-DWR= -5.000000 MAX-DWR= 100.000 CONT MIN-DSUMSQ=-10.000000 MAX-DSUMSQ= 10000.000 CONT MIN-DMINFUNC= 0.000000 MAX-DMINFUNC= 999999986991104.000 REFINE SPEC=CONSTRAIN UPDATE=PARAMETERS TOL= 0.60000 END #LIST 28 READ NSLICE= 0 NOMIS= 0 NCOND= 0 MINIMA CONT SINTH/L**2 = 0.01000 CONT RATIO = 2.00000 END #LIST 39 OVERALL 0.00000000 0.00000000 0.00000000 0.00000000 CONT 0.00000000 0.00000000 0.00000000 0.00000000 CONT 0.00000000 0.00000000 0.00000000 0.00000000 READ NINT= 2 NREAL= 1 INT INFO 0 0 0 0 0 0 CONT 113 0 1 0 0 INT OVER 1 1 0 0 0 0 CONT 0 0 0 0 0 REAL SFLS 0. 1.000000 0.000000 0.000000 0.000000 0.000000 CONT 0.000000 0.000000 0.000000 0.000000 0.000000 END # # Punched on 11/03/16 at 11:22:47 # #LIST 40 DEFAULTS TOLTYPE= 1 TOLERANCE= 1.210 MAXBONDS = 12 READ NELEM= 0 NPAIR= 0 NMAKE= 0 NBREAK= 0 END # # Punched on 11/03/16 at 11:23:09 # #LIST 6 READ NCOEFFICIENT = 5, TYPE = COMPRESSED, UNIT = DATAFILE INPUT H K L /FO/ RATIO MULTIPLIERS 1.0 1.0 1.0 12.465121269 16.281723022 END 0 0 2 494 547 4 103 284 6 37 35 512 1 0 2 19 47 3 -12 -16 4 15 20 5 122 430 6 35 47 512 2 0 0 108 79 1 85 635 2 511 753 3 99 544 4 171 570 5 73 231 6 -32 -36 512 3 0 1 671 957 2 71 523 3 123 723 4 254 768 5 84 335 6 27 26 512 4 0 1 374 688 2 30 105 3 285 780 4 174 649 5 35 55 6 58 81 512 5 0 1 905 722 2 292 844 3 62 255 4 152 491 5 118 208 512 6 0 0 874 396 1 165 635 2 52 283 3 104 439 4 178 498 5 -16 -11 512 7 0 1 32 104 2 254 728 3 149 540 4 56 162 5 39 47 512 8 0 0 352 343 1 200 666 2 310 736 3 210 417 4 256 483 5 25 20 512 9 0 1 330 546 2 294 729 3 97 235 4 113 182 512 10 0 0 11 6 1 106 344 2 118 396 3 87 135 4 112 179 512 11 0 1 25 30 2 12 12 3 80 116 4 41 38 512 12 0 0 84 133 1 93 224 2 16 13 3 62 74 512 13 0 1 12 7 2 106 188 512 14 0 0 173 168 1 12 5 512 0 1 1 559 367 2 579 785 3 379 767 4 75 328 5 81 290 6 58 116 512 1 1 -6 38 55 -5 178 491 -4 68 256 -3 140 530 -2 485 763 2 484 784 3 139 658 4 72 306 5 181 476 6 24 19 512 2 1 -6 51 78 -5 124 396 -4 299 641 -3 80 452 -2 317 841 -1 509 900 0 736 192 1 507 828 2 321 805 3 81 434 4 301 696 5 126 409 6 44 66 512 3 1 -6 22 19 -5 214 541 -4 131 622 -3 392 758 -2 199 767 -1 297 816 0 422 542 1 295 896 2 200 763 3 387 912 4 135 661 5 211 612 6 11 5 512 4 1 -6 34 29 -5 80 201 -4 132 633 -3 154 733 -2 448 846 -1 442 671 0 358 399 1 443 874 2 446 746 3 158 636 4 131 562 5 77 217 6 12 5 512 5 1 -5 35 45 -4 37 108 -3 236 672 -2 97 491 -1 195 644 0 72 323 1 191 661 2 97 617 3 232 712 4 36 103 5 40 69 512 6 1 -5 28 30 -4 170 529 -3 152 578 -2 133 662 -1 181 660 0 548 552 1 178 642 2 132 699 3 150 500 4 172 461 5 38 58 512 7 1 -5 204 315 -4 65 175 -3 221 602 -2 185 643 -1 184 585 0 123 394 1 189 561 2 190 701 3 220 619 4 66 170 5 205 266 512 8 1 -5 92 176 -4 112 287 -3 93 333 -2 156 554 -1 184 473 0 279 479 1 184 562 2 157 612 3 94 265 4 110 333 5 92 172 512 9 1 -4 99 149 -3 138 331 -2 120 519 -1 306 461 0 29 48 1 315 566 2 118 428 3 142 377 4 107 161 512 10 1 -4 66 85 -3 28 20 -2 157 389 -1 160 440 0 220 369 1 166 445 2 158 372 3 36 51 4 60 71 512 11 1 -4 50 47 -3 25 21 -2 28 64 -1 18 20 0 65 152 1 18 22 2 30 66 3 -15 -9 4 54 51 512 12 1 -3 58 68 -2 75 163 -1 21 21 0 35 54 1 16 9 2 71 182 3 42 67 512 13 1 -2 62 129 -1 50 95 0 47 65 1 49 81 2 55 92 512 14 1 -1 32 37 0 58 83 1 46 71 512 0 2 1 942 367 2 414 813 3 351 728 4 212 655 5 93 292 6 44 63 512 1 2 -6 55 92 -5 144 352 -4 229 676 -3 326 628 -2 369 825 -1 412 647 0 -6 -7 1 412 797 2 368 783 3 323 751 4 225 674 5 152 438 6 59 112 512 2 2 -6 4 1 -5 106 338 -4 189 624 -3 107 496 -2 282 769 -1 423 867 0 615 428 1 424 898 2 283 758 3 111 588 4 185 611 5 107 343 6 22 15 512 3 2 -6 25 22 -5 76 304 -4 175 733 -3 404 855 -2 296 889 -1 214 802 0 999 729 1 218 870 2 291 864 3 401 841 4 180 758 5 77 230 6 24 14 512 4 2 -6 55 81 -5 125 428 -4 244 648 -3 67 393 -2 329 778 -1 343 731 0 73 327 1 347 902 2 328 814 3 68 325 4 246 653 5 117 376 6 55 78 512 5 2 -5 126 299 -4 168 566 -3 177 670 -2 344 756 -1 101 507 0 45 179 1 100 649 2 349 932 3 175 656 4 168 550 5 124 348 512 6 2 -5 111 251 -4 61 185 -3 93 324 -2 310 824 -1 385 674 0 604 550 1 387 647 2 313 836 3 97 429 4 69 219 5 116 246 512 7 2 -5 -24 -21 -4 135 322 -3 121 480 -2 58 293 -1 165 583 0 289 534 1 166 668 2 56 236 3 122 490 4 137 395 5 -24 -20 512 8 2 -5 15 8 -4 123 228 -3 140 422 -2 238 705 -1 146 381 0 72 248 1 144 603 2 234 629 3 146 373 4 119 276 5 33 40 512 9 2 -4 80 121 -3 68 107 -2 145 522 -1 60 178 0 -7 -2 1 63 211 2 140 529 3 70 179 4 82 134 512 10 2 -4 67 92 -3 140 220 -2 105 341 -1 76 275 0 44 102 1 79 262 2 103 399 3 130 317 4 61 62 512 11 2 -4 48 48 -3 37 41 -2 44 118 -1 59 126 0 131 325 1 63 181 2 56 173 3 42 49 4 39 40 512 12 2 -3 60 75 -2 22 20 -1 143 310 0 33 59 1 139 270 2 21 25 3 48 70 512 13 2 -2 46 66 -1 56 96 0 19 18 1 63 114 2 46 73 512 14 2 -1 20 13 0 58 94 1 18 11 512 0 3 1 450 663 2 386 762 3 88 475 4 120 535 5 25 32 6 10 4 512 1 3 -6 59 100 -5 114 333 -4 79 345 -3 206 707 -2 519 774 0 184 668 2 514 798 3 204 749 4 81 363 5 117 380 6 57 111 512 2 3 -6 11 5 -5 65 170 -4 88 387 -3 55 228 -2 609 704 -1 379 918 0 132 424 1 377 778 2 600 812 3 55 265 4 86 352 5 64 192 6 0 0 512 3 3 -6 67 114 -5 174 556 -4 212 675 -3 152 636 -2 393 848 -1 350 601 1 357 777 2 385 877 3 149 687 4 214 716 5 172 451 6 58 91 512 4 3 -6 33 28 -5 37 72 -4 49 183 -3 192 774 -2 276 839 -1 250 660 0 170 548 1 250 935 2 282 707 3 195 721 4 50 167 5 21 28 6 -7 -2 512 5 3 -5 87 229 -4 89 435 -3 57 227 -2 292 765 -1 379 678 0 230 578 1 383 766 2 290 774 3 55 223 4 93 337 5 79 220 512 6 3 -5 46 69 -4 125 379 -3 154 593 -2 280 789 -1 441 699 0 352 596 1 446 738 2 282 781 3 157 599 4 126 371 5 53 100 512 7 3 -5 47 83 -4 35 69 -3 156 544 -2 305 761 -1 131 487 0 300 604 1 131 579 2 306 728 3 155 589 4 30 56 5 41 54 512 8 3 -5 24 12 -4 92 211 -3 108 330 -2 148 449 -1 324 567 0 51 158 1 321 658 2 145 567 3 103 278 4 90 250 5 19 14 512 9 3 -4 82 113 -3 73 122 -2 184 432 -1 89 298 0 365 460 1 85 346 2 181 507 3 72 188 4 73 111 512 10 3 -4 47 50 -3 71 120 -2 38 41 -1 148 387 0 102 310 1 152 405 2 27 65 3 60 128 4 44 50 512 11 3 -3 -8 -1 -2 94 212 -1 72 192 0 261 385 1 60 177 2 84 224 3 59 65 512 12 3 -2 58 91 -1 149 291 0 54 120 1 154 334 2 47 91 3 -10 -4 512 13 3 -2 61 95 -1 70 146 0 77 160 1 73 129 2 71 134 512 14 3 0 -21 -18 512 0 4 1 35 330 2 650 758 3 86 457 4 37 104 5 189 498 6 76 150 512 1 4 -6 38 55 -5 0 0 -4 358 670 -3 344 736 -2 224 782 -1 568 700 0 10 38 1 552 658 2 221 787 3 337 796 4 359 590 5 9 5 6 41 61 512 2 4 -6 47 49 -5 86 237 -4 133 542 -3 282 796 -2 367 903 -1 333 943 0 352 726 1 336 778 2 359 824 3 282 717 4 134 551 5 82 249 6 52 76 512 3 4 -6 55 52 -5 57 169 -4 94 463 -3 110 609 -2 144 780 -1 387 777 0 142 378 1 394 895 2 143 612 3 112 576 4 99 412 5 60 164 6 78 96 512 4 4 -6 54 62 -5 173 543 -4 96 479 -3 89 517 -2 268 889 -1 687 656 0 22 74 1 699 905 2 268 708 3 85 398 4 90 343 5 172 444 6 62 105 512 5 4 -5 28 38 -4 140 588 -3 106 532 -2 163 665 -1 274 697 0 871 598 1 275 747 2 162 706 3 108 509 4 130 464 5 30 41 512 6 4 -5 65 118 -4 50 130 -3 171 625 -2 205 609 -1 105 373 0 87 377 1 106 615 2 205 747 3 171 568 4 48 127 5 63 122 512 7 4 -5 101 142 -4 118 338 -3 95 336 -2 61 229 -1 113 421 0 10 8 1 116 642 2 67 298 3 93 366 4 121 352 5 100 204 512 8 4 -5 25 15 -4 134 205 -3 35 45 -2 236 563 -1 111 359 0 229 555 1 113 533 2 233 611 3 47 97 4 132 381 5 35 39 512 9 4 -4 18 7 -3 61 82 -2 153 451 -1 169 452 0 517 589 1 171 640 2 149 527 3 60 143 4 16 6 512 10 4 -4 39 30 -3 41 55 -2 110 188 -1 219 371 0 212 394 1 219 519 2 110 371 3 46 76 4 12 4 512 11 4 -3 98 130 -1 92 248 0 181 329 1 88 271 2 77 250 3 98 206 512 12 4 -3 90 115 -2 35 47 -1 94 235 0 21 27 1 80 226 2 38 67 3 93 168 512 13 4 -2 88 154 -1 15 9 0 124 216 1 22 21 2 81 142 512 14 4 0 38 39 512 0 5 1 9 20 2 666 628 3 484 773 4 49 167 5 32 57 6 88 107 512 1 5 -6 42 30 -5 157 355 -4 271 612 -3 291 732 -2 68 373 -1 438 874 0 750 718 1 437 794 2 69 495 3 288 712 4 271 665 5 152 412 6 44 32 512 2 5 -6 58 64 -5 199 490 -4 258 641 -3 151 649 -2 202 876 -1 237 980 0 372 776 1 240 777 2 201 728 3 147 709 4 259 683 5 204 490 6 77 111 512 3 5 -6 68 78 -5 77 269 -4 216 633 -3 98 527 -2 30 135 -1 365 785 0 909 539 1 367 916 2 34 149 3 100 521 4 214 500 5 76 221 6 48 49 512 4 5 -5 36 67 -4 57 224 -3 163 710 -2 175 842 -1 384 696 0 465 816 1 384 929 2 171 685 3 163 660 4 53 154 5 42 68 512 5 5 -5 66 162 -4 193 568 -3 105 527 -2 203 654 -1 296 496 0 299 536 1 301 785 2 204 674 3 110 485 4 194 531 5 65 143 512 6 5 -5 95 149 -4 125 364 -3 280 680 -2 83 361 -1 262 548 0 150 522 1 262 827 2 81 456 3 276 653 4 127 414 5 89 192 512 7 5 -5 85 111 -4 78 225 -3 277 538 -2 147 484 -1 110 398 0 473 601 1 119 598 2 146 590 3 288 589 4 81 237 5 75 132 512 8 5 -5 47 35 -4 33 32 -3 166 367 -2 85 314 -1 274 526 0 87 357 1 276 726 2 86 356 3 165 392 4 39 63 5 69 103 512 9 5 -4 98 156 -3 86 179 -2 132 301 -1 335 460 0 249 552 1 338 692 2 138 463 3 81 194 4 111 156 512 10 5 -4 108 127 -3 122 237 -2 133 225 -1 85 251 0 200 417 1 87 304 2 128 402 3 120 198 4 104 128 512 11 5 -3 26 21 -1 73 176 0 93 229 1 72 215 2 60 142 3 36 53 512 12 5 -3 61 76 -2 39 63 -1 87 184 0 46 107 1 84 202 2 46 80 3 42 60 512 13 5 -2 57 71 -1 63 108 0 114 205 1 52 91 2 54 93 512 0 6 0 530 626 1 109 692 2 226 838 3 158 669 4 209 638 5 196 463 6 72 91 512 1 6 -6 -12 -4 -5 71 182 -4 213 572 -3 209 686 -2 276 704 -1 163 999 0 191 885 1 167 667 2 270 805 3 211 699 4 210 550 5 71 205 6 29 22 512 2 6 -6 40 34 -5 60 197 -4 196 581 -3 125 678 -2 397 799 -1 687 939 0 224 632 1 680 695 2 395 700 3 126 723 4 196 696 5 57 110 6 35 27 512 3 6 -5 97 316 -4 93 430 -3 140 687 -2 25 109 -1 125 748 0 226 755 1 128 858 2 24 77 3 139 610 4 91 324 5 97 225 512 4 6 -5 113 333 -4 174 578 -3 210 722 -2 132 702 -1 23 54 0 341 811 1 26 143 2 130 610 3 210 731 4 174 497 5 112 263 512 5 6 -5 88 186 -4 151 459 -3 113 540 -2 298 620 -1 88 349 0 131 643 1 92 596 2 295 734 3 112 488 4 148 458 5 99 230 512 6 6 -5 101 133 -4 40 101 -3 100 403 -2 233 618 -1 129 425 0 525 625 1 134 670 2 231 737 3 97 339 4 47 106 5 104 225 512 7 6 -5 95 125 -4 143 323 -3 175 412 -2 172 527 -1 225 477 0 126 378 1 226 745 2 178 543 3 176 498 4 144 345 5 73 139 512 8 6 -4 170 196 -3 176 377 -2 157 439 -1 147 380 0 211 577 1 150 588 2 161 605 3 176 406 4 175 328 512 9 6 -4 18 10 -3 79 173 -2 99 207 -1 153 371 0 119 412 1 149 570 2 100 392 3 77 186 4 45 38 512 10 6 -4 20 10 -3 156 204 -2 45 67 -1 117 311 0 40 89 1 118 426 2 32 73 3 158 288 4 7 1 512 11 6 -3 10 3 -2 155 266 -1 22 27 0 62 151 1 17 21 2 141 326 3 34 51 512 12 6 -2 57 111 -1 21 17 0 114 234 1 32 47 2 59 92 512 13 6 -1 54 98 0 -13 -8 1 44 66 512 0 7 1 65 369 2 253 729 3 352 740 4 112 424 5 119 301 512 1 7 -5 76 191 -4 142 500 -3 101 506 -2 82 507 -1 417 868 0 446 917 1 412 678 2 80 617 3 100 585 4 136 538 5 73 176 512 2 7 -5 97 218 -4 70 258 -3 142 724 -2 224 764 -1 85 624 0 459 781 1 82 474 2 219 699 3 139 749 4 69 336 5 84 204 512 3 7 -5 28 29 -4 72 298 -3 132 608 -2 443 734 -1 78 491 0 306 855 1 77 568 2 439 770 3 132 625 4 78 287 5 37 56 512 4 7 -5 85 173 -4 59 203 -3 153 682 -2 255 749 -1 384 585 0 17 49 1 386 836 2 249 766 3 155 664 4 57 153 5 80 172 512 5 7 -5 12 7 -4 188 598 -3 45 194 -2 120 419 -1 319 560 0 86 484 1 325 864 2 121 564 3 42 140 4 184 575 5 20 17 512 6 7 -5 18 6 -4 91 289 -3 140 350 -2 51 308 -1 119 413 0 84 410 1 116 638 2 50 217 3 137 438 4 89 305 5 24 13 512 7 7 -5 59 75 -4 55 108 -3 132 318 -2 139 616 -1 163 465 0 269 710 1 158 685 2 138 620 3 129 343 4 59 103 5 56 68 512 8 7 -4 93 155 -3 26 32 -2 82 185 -1 261 445 0 23 46 1 256 676 2 78 335 3 24 30 4 94 207 512 9 7 -4 72 100 -3 28 36 -2 204 284 -1 98 295 0 112 300 1 91 350 2 199 545 3 32 28 4 69 81 512 10 7 -3 37 40 -2 31 34 -1 141 293 0 90 252 1 134 389 2 41 99 3 43 80 512 11 7 -3 36 31 -2 97 134 -1 89 209 0 142 297 1 87 215 2 89 190 3 35 55 512 12 7 -2 115 197 -1 88 177 0 75 145 1 80 151 2 119 200 512 13 7 -1 12 7 0 12 7 1 36 45 512 0 8 0 866 487 1 136 775 2 89 645 3 85 536 4 119 499 5 18 9 512 1 8 -5 72 102 -4 91 379 -3 219 707 -2 178 874 -1 510 883 0 416 792 1 508 606 2 175 806 3 218 819 4 88 403 5 68 100 512 2 8 -5 155 377 -4 153 521 -3 76 428 -2 69 387 -1 421 859 0 303 668 1 411 722 2 74 437 3 70 340 4 154 487 5 153 207 512 3 8 -5 44 64 -4 77 307 -3 200 677 -2 177 785 -1 91 619 0 168 613 1 93 502 2 175 709 3 200 733 4 73 267 5 44 42 512 4 8 -5 107 206 -4 113 418 -3 245 697 -2 121 586 -1 251 759 0 346 713 1 253 788 2 117 532 3 244 703 4 109 368 5 112 177 512 5 8 -5 90 181 -4 55 185 -3 90 405 -2 127 485 -1 250 568 0 27 94 1 248 819 2 125 569 3 93 361 4 53 171 5 81 116 512 6 8 -5 38 24 -4 31 39 -3 16 16 -2 65 364 -1 345 569 0 299 630 1 344 780 2 68 345 3 16 19 4 31 42 5 39 24 512 7 8 -4 76 101 -3 92 211 -2 241 495 -1 183 455 0 78 379 1 186 695 2 244 621 3 96 344 4 77 185 512 8 8 -4 69 104 -3 86 228 -2 89 254 -1 295 336 0 41 105 1 294 735 2 87 357 3 95 170 4 73 138 512 9 8 -4 11 3 -3 99 144 -2 145 244 -1 73 193 0 129 385 1 76 285 2 140 470 3 105 259 4 32 21 512 10 8 -3 108 159 -2 75 122 -1 61 144 0 104 276 1 67 202 2 78 199 3 116 168 512 11 8 -3 128 174 -2 65 136 -1 97 228 0 42 82 1 100 239 2 68 136 3 113 197 512 12 8 -2 72 114 -1 146 257 0 33 60 1 144 251 2 80 151 512 13 8 0 102 159 512 0 9 1 134 648 2 -12 -27 3 148 587 4 133 515 5 99 141 512 1 9 -5 68 118 -4 8 7 -3 290 766 -2 221 870 -1 245 871 0 9 20 1 246 784 2 220 725 3 289 795 4 -7 -5 5 60 82 512 2 9 -5 44 59 -4 99 408 -3 228 707 -2 289 839 -1 39 195 0 197 616 1 37 181 2 285 439 3 226 630 4 97 351 5 23 15 512 3 9 -4 131 486 -3 171 567 -2 246 731 -1 149 780 0 182 808 1 151 661 2 244 619 3 171 640 4 130 402 5 20 10 512 4 9 -5 42 48 -4 149 439 -3 166 542 -2 96 463 -1 103 525 0 224 686 1 104 535 2 102 498 3 163 602 4 142 339 5 52 44 512 5 9 -5 47 68 -4 119 328 -3 164 429 -2 179 540 -1 215 622 0 336 800 1 216 689 2 177 717 3 169 433 4 123 295 5 45 42 512 6 9 -4 59 82 -3 79 220 -2 97 408 -1 167 533 0 83 453 1 167 637 2 98 479 3 80 290 4 64 144 5 51 55 512 7 9 -4 71 90 -3 67 172 -2 20 51 -1 237 441 0 187 478 1 245 678 2 7 5 3 73 185 4 76 172 512 8 9 -3 25 27 -2 55 201 -1 82 182 0 88 328 1 76 352 2 54 222 3 7 3 4 110 149 512 9 9 -4 27 18 -3 96 145 -2 171 426 -1 65 160 0 68 174 1 61 216 2 169 385 3 99 219 512 10 9 -3 46 43 -2 73 121 -1 105 252 0 49 122 1 107 266 2 64 145 3 46 77 512 11 9 -2 72 133 -1 50 83 0 50 97 1 45 98 2 68 143 512 12 9 -1 20 13 0 -22 -22 1 0 0 512 0 10 0 227 525 1 57 281 2 355 756 3 179 688 4 89 311 5 39 33 512 1 10 -5 12 6 -4 132 458 -3 327 709 -2 132 698 -1 99 643 0 75 531 1 99 601 2 128 640 3 329 712 4 135 445 5 -8 -1 512 2 10 -5 85 169 -4 228 530 -3 181 761 -2 164 718 -1 138 663 0 137 933 1 141 693 2 161 737 3 178 626 4 229 451 5 85 116 512 3 10 -4 53 115 -3 298 597 -2 123 529 -1 307 769 0 379 775 1 303 703 2 119 597 3 294 663 4 52 70 5 9 2 512 4 10 -5 103 183 -4 123 312 -3 137 435 -2 60 251 -1 226 716 0 118 582 1 221 837 2 61 391 3 135 453 4 115 180 5 112 150 512 5 10 -5 24 22 -4 127 353 -3 72 236 -2 72 290 -1 156 670 0 73 395 1 155 696 2 72 393 3 75 294 4 121 223 5 17 6 512 6 10 -4 65 84 -3 48 94 -2 197 459 -1 253 527 0 235 589 1 256 755 2 203 529 3 48 106 4 78 97 512 7 10 -4 20 13 -3 147 334 -2 97 342 -1 94 287 0 398 536 1 101 491 2 93 351 3 146 415 4 10 3 512 8 10 -4 93 122 -3 47 72 -2 150 402 -1 192 410 0 218 478 1 191 517 2 150 381 3 35 69 4 100 133 512 9 10 -3 81 128 -2 30 30 -1 110 280 0 40 88 1 109 367 2 39 66 3 78 127 512 10 10 -3 38 40 -1 57 136 0 10 5 1 57 123 2 -30 -23 3 34 34 512 11 10 -2 44 59 -1 62 125 0 141 273 1 69 156 2 45 83 512 12 10 -1 113 162 0 -23 -19 1 117 173 512 0 11 1 51 244 2 183 748 3 39 175 4 142 231 5 6 1 512 1 11 -5 39 58 -4 85 185 -3 90 473 -2 228 735 -1 439 727 0 217 735 1 436 797 2 229 622 3 82 274 4 92 143 5 43 39 512 2 11 -5 25 22 -4 20 23 -3 130 552 -2 280 686 -1 339 840 0 187 588 1 339 749 2 284 654 3 128 363 4 -13 -6 5 46 39 512 3 11 -5 50 64 -4 58 133 -3 66 257 -2 182 618 -1 72 420 0 145 664 1 74 414 2 181 508 3 66 220 4 56 95 5 42 43 512 4 11 -5 27 20 -4 83 186 -3 91 350 -2 76 288 -1 28 75 0 156 658 1 32 104 2 74 291 3 92 276 4 83 137 5 -18 -8 512 5 11 -4 26 24 -3 97 320 -2 68 204 -1 260 646 0 161 511 1 261 812 2 63 417 3 97 352 4 26 22 512 6 11 -4 65 96 -3 66 128 -2 197 486 -1 214 650 0 179 588 1 213 632 2 196 485 3 67 245 4 56 67 512 7 11 -4 6 1 -3 96 179 -2 115 396 -1 226 368 0 323 543 1 228 632 2 115 354 3 100 206 4 20 8 512 8 11 -3 48 53 -2 76 265 -1 18 17 0 101 299 1 27 53 2 83 157 3 27 34 512 9 11 -3 60 83 -2 18 11 -1 70 176 0 31 56 1 73 202 2 14 12 3 59 110 512 10 11 -1 64 150 0 4 1 1 67 178 2 75 132 512 11 11 -2 13 6 -1 80 170 0 48 87 1 79 165 2 0 0 512 0 12 0 241 544 1 14 20 2 80 320 3 241 691 4 20 17 5 27 19 512 1 12 -5 27 21 -4 47 69 -3 93 411 -2 39 147 -1 166 670 0 62 290 1 165 470 2 36 169 3 97 447 4 33 27 5 39 29 512 2 12 -5 33 31 -4 71 156 -3 90 356 -2 208 574 -1 146 658 0 114 486 1 148 792 2 210 549 3 90 218 4 66 118 5 6 1 512 3 12 -4 18 20 -3 71 281 -2 28 57 -1 345 723 0 131 595 1 343 532 2 28 65 3 72 300 4 20 14 512 4 12 -4 91 202 -3 79 310 -2 58 232 -1 167 560 0 26 117 1 165 531 2 61 227 3 79 271 4 99 141 512 5 12 -4 23 19 -3 7 3 -2 45 91 -1 88 370 0 28 100 1 88 356 2 38 84 3 19 33 4 -17 -10 512 6 12 -4 57 76 -3 72 114 -2 94 307 -1 152 463 0 30 93 1 151 497 2 97 307 3 74 125 4 65 96 512 7 12 -4 -25 -12 -3 120 177 -2 26 46 -1 70 232 0 77 237 1 65 300 2 28 69 3 117 169 4 32 24 512 8 12 -3 31 29 -2 25 28 -1 164 323 0 19 31 1 161 320 2 21 38 3 35 64 512 9 12 -3 56 81 -1 48 65 0 85 197 1 39 89 2 50 115 3 49 86 512 10 12 -2 -4 -1 -1 35 63 0 43 90 1 35 66 2 19 16 512 11 12 -1 55 96 0 15 14 1 57 84 512 0 13 1 92 426 2 296 457 3 139 362 4 83 185 512 1 13 -4 107 216 -3 9 6 -2 125 493 -1 226 476 0 39 233 1 225 461 2 125 409 3 19 22 4 98 135 512 2 13 -4 77 133 -3 100 301 -2 187 549 -1 114 571 0 232 563 1 118 629 2 180 303 3 101 204 4 71 102 512 3 13 -4 45 66 -3 33 61 -2 94 371 -1 169 696 0 274 584 1 168 571 2 96 437 3 37 54 4 49 58 512 4 13 -4 33 37 -3 103 306 -2 83 291 -1 49 210 0 23 52 1 50 220 2 87 341 3 102 168 4 32 20 512 5 13 -4 122 212 -3 57 111 -2 211 247 -1 158 510 0 110 550 1 160 393 2 206 268 3 47 72 4 126 169 512 6 13 -4 75 84 -3 177 283 -2 46 74 -1 96 332 0 44 157 1 103 201 3 162 202 4 73 91 512 7 13 -3 30 22 -2 16 21 -1 81 256 1 78 399 2 18 41 3 46 110 512 8 13 -3 33 36 -2 42 59 -1 81 244 0 31 84 1 81 179 512 9 13 -2 -17 -8 -1 35 71 0 60 146 1 41 82 2 24 32 512 10 13 -1 50 70 0 95 143 1 34 50 512 0 14 0 65 114 1 211 440 2 19 34 3 43 69 4 37 38 512 1 14 -4 26 24 -3 24 39 -2 162 442 -1 102 378 0 287 639 1 104 324 2 158 414 3 8 3 4 24 21 512 2 14 -4 63 112 -3 50 139 -2 65 247 -1 222 544 0 60 190 1 220 684 2 64 266 3 55 96 4 57 81 512 3 14 -4 45 66 -3 94 273 -2 123 390 -1 177 608 0 181 475 1 178 585 2 126 386 3 91 146 4 62 68 512 4 14 -4 70 118 -3 163 287 -2 25 42 -1 257 473 0 55 185 1 253 417 2 28 55 4 85 109 512 5 14 -3 59 106 -2 110 213 -1 41 118 0 179 428 1 33 85 2 104 161 3 67 116 512 6 14 -3 67 104 -2 -17 -18 -1 109 344 0 16 43 1 107 195 512 7 14 -3 119 182 -2 103 204 -1 79 270 0 67 202 512 8 14 -2 58 88 -1 87 213 1 91 197 512 9 14 -2 62 80 -1 30 30 0 24 29 512 10 14 0 36 44 512 0 15 1 168 333 2 24 46 3 45 73 4 42 47 512 1 15 -3 72 148 -2 56 56 -1 88 312 0 57 337 1 83 217 2 46 118 3 76 176 4 54 69 512 2 15 -4 51 54 -3 79 224 -2 26 43 -1 221 470 0 52 179 1 232 261 2 10 7 3 84 173 4 36 37 512 3 15 -3 93 208 -2 164 358 -1 113 359 0 306 345 1 116 255 2 163 427 3 96 157 512 4 15 -3 66 137 -2 41 80 -1 117 388 0 65 172 1 115 292 3 75 121 512 5 15 -3 67 102 -2 103 234 -1 55 160 0 35 42 1 52 101 3 73 115 512 6 15 -3 124 174 -2 41 62 -1 111 182 0 29 23 512 7 15 -2 69 115 -1 34 63 0 139 202 512 8 15 -2 20 19 -1 61 142 0 52 117 512 9 15 -1 24 30 0 32 52 512 0 16 0 33 36 1 27 23 2 -4 -1 3 49 90 512 1 16 -3 49 77 -2 45 85 -1 163 298 0 58 96 1 158 341 2 42 87 3 57 95 512 2 16 -3 22 26 -2 70 175 -1 127 403 0 126 234 1 126 176 2 72 178 3 24 27 512 3 16 -3 48 77 -2 78 203 -1 46 80 0 34 29 1 50 63 2 76 87 3 45 77 512 4 16 -3 33 39 -2 129 186 -1 8 6 0 157 354 1 17 9 2 133 173 3 15 8 512 5 16 -3 33 38 -2 50 82 -1 65 242 0 29 21 1 64 107 512 6 16 -2 36 46 -1 122 302 0 -22 -16 512 7 16 -2 119 149 -1 41 41 0 9 3 512 8 16 0 29 25 512 0 17 1 -22 -14 2 16 13 3 120 148 512 1 17 -3 44 51 -2 46 105 -1 37 37 0 61 99 1 50 45 2 37 76 3 52 62 512 2 17 -3 20 15 -2 31 45 -1 39 40 0 96 171 1 38 27 2 20 10 3 29 23 512 3 17 -3 16 8 -2 73 169 -1 39 51 0 40 33 1 45 48 2 79 110 3 -20 -11 512 4 17 -1 58 70 0 46 52 1 54 50 2 49 38 512 5 17 -2 50 73 -1 61 97 0 11 4 1 50 56 2 42 41 512 6 17 -1 111 147 0 41 35 1 104 134 512 7 17 0 66 84 1 69 82 512 0 18 1 -28 -21 2 51 86 512 1 18 -1 46 49 0 36 33 1 42 33 2 83 93 512 2 18 -2 79 151 0 -26 -22 1 116 139 2 78 88 512 3 18 -2 60 110 0 45 50 1 27 18 512 4 18 -2 -18 -17 -1 71 99 0 62 59 1 67 77 512 5 18 -1 73 85 0 27 19 512 6 18 0 116 115 512 0 19 1 -18 -9 512 1 19 -1 43 29 0 81 108 1 43 31 512 2 19 0 146 153 1 -7 -1 512 3 19 0 -19 -12 1 73 69 512 4 19 0 24 11 -512 # Punched on 11/03/16 at 11:20:23 #LIST 16 NO DIST 0.86, 0.02 = CONT N ( 3) TO H(31) REST 0.037, 0.002 = H(31,U[ISO]) ANGLE 0.0, 2.0 = MEAN CONT H(31) TO N ( 3) TO C(2) CONT H(31) TO N ( 3) TO C(4) REM 3 H ON SP 3 DIST 0.96, 0.02 = CONT C ( 7) TO H(73) CONT C ( 7) TO H(72) CONT C ( 7) TO H(71) REST 0.083, 0.002 = H(73,U[ISO]) REST 0.083, 0.002 = H(72,U[ISO]) REST 0.083, 0.002 = H(71,U[ISO]) ANGLE 109.54, 2.0 = CONT O(6) TO C ( 7) TO H(73) CONT O(6) TO C ( 7) TO H(72) CONT O(6) TO C ( 7) TO H(71) ANGLE 0.0, 2.0 = MEAN H(73) TO C ( 7) TO H(72) CONT H(73) TO C ( 7) TO H(71) CONT H(72) TO C ( 7) TO H(71) U(IJ) 0.,.001= O(1) TO C(2) VIB 0.,.001= O(1) TO C(2) END # #LIST 12 BLOCK CONT SCALE CONT O ( 1 ,X'S,U'S) UNTIL C ( 11 ) CONT H ( 71 ,X'S,U[ISO]) UNTIL H ( 31 ) FIX C(7,X'S) FIX O(1,U[22]) C(2,U[22]) REM FIX O(1,U'S) C(2,U'S) END # #check end #sfls ref shift gen=0 end # #LIST 12 BLOCK CONT SCALE CONT O ( 1 ,X'S,U'S) UNTIL C ( 11 ) CONT H ( 71 ,X'S,U[ISO]) UNTIL H ( 31 ) FIX C(7,X'S) rem FIX O(1,U[22]) C(2,U[22]) FIX O(1,U'S) C(2,U'S) END # #check end #sfls ref shift gen=0 end # #LIST 16 SAME C(7) H(71) H(72) H(73) AND C(11) h(111) h(112) h(113) END \ # #check end #sfls ref shift gen=0 end #end
05eb0fa42f4c2db2e828da524a679ba44dc7a7b6
449d555969bfd7befe906877abab098c6e63a0e8
/2870/CH7/EX7.3/Ex7_3.sce
3d1aaae3e1d4bfb84d9231a55043bea0e4ca4d19
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
355
sce
Ex7_3.sce
clc;clear; //Example 7.3 //given data m=5; P1=140; T1=20; P2=100; //from refrigerant-134a data //at P1 and T1 s1=1.0624; v1=0.16544; //at P2 v2=v1; vf=0.0007529; vg=0.19254; sf=0.07188; sfg=0.87995; //calculations // vf < v2 <vg x2=(v2-vf)/(vg-vf); s2=sf+x2*sfg; dS=m*(s2-s1); disp(dS,'entropy change in the process in kJ/k')
8a400cda29c3f969e376814c030b880805841f08
449d555969bfd7befe906877abab098c6e63a0e8
/758/CH6/EX6.8/Ex_6_8.sce
57ce83319b64e8e0df5908e58b719833dafe0116
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
180
sce
Ex_6_8.sce
//Example 6.8 clc;clear;close; L=3;A=1/4; x=A*ones(1,L); //Calculation of DFT X=fft(x,-1); X=clean(X); disp(x,'Given Sequence is x(n): '); disp(X,'DFT of the Sequence is X(k): ');
1e42153ba8004c26c6ab537b66544360ea3fa100
449d555969bfd7befe906877abab098c6e63a0e8
/3537/CH1/EX1.20/Ex1_20.sce
caec42e79ce8bb6e18950c706798e096742dc3bc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
241
sce
Ex1_20.sce
//Example 1_20 clc(); clear; //To calculate the refractive index of the liquid D10=1.40 //units in cm d10=1.27 //units in cm u=D10^2/d10^2 printf("Refractive index of the liquid is %.3f",u)
c2dd498999e0914baf13d8be1856889b82a0ff59
449d555969bfd7befe906877abab098c6e63a0e8
/3204/CH12/EX12.8/Ex12_8.sce
1d174e15abdf6587b1c3c002b706a8375022f44e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,449
sce
Ex12_8.sce
// Initilization of variables b=20 // cm // width of the pate d=30 // cm // depth of the plate r=15 // cm // radius of the circular hole h=20 // cm // distance between the centre of the circle & the x-axis // Calculations // (a) Location of the centroid of the composite area A_1=b*d // cm^2 // area of the plate y_1=d/2 // cm // y-coordinate of the centroid A_2=(%pi*r^2)/4 // cm^2 // area of the circle removed (negative) y_2=h // cm // y-coordinate of the centroid y_c=((A_1*y_1)-(A_2*y_2))/(A_1-A_2) // cm // from the bottom edge // (b) Moment of Inertia of the composite area about the centroidal x-axis // Area (A_1) M.I of area A_1 about x-axis I_x1=(b*(d^3))/12 // cm^4 // M.I of the area A_1 about the centroidal x-axis of the composite area (By parallel-axis theorem) OC_1=15 // cm // from the bottom edge OC_2=20 // cm OC=12.9 // cm // from the bottom edge d_1=OC_1-OC // cm d_2=OC_2-OC // cm I_X1=(I_x1)+(A_1*d_1^2) // cm^4 // Area(A_2) M.I of area A_2 about x-axis I_x2=(%pi*r^4)/64 // cm^2 // M.I of the area A_2 about the centroidal x-axis of the composite area (By parallel-axis theorem) I_X2=(I_x2)+(A_2*d_2^2) // cm^4 // COMPOSITE AREA:M.O.I of the composite area about the centroidal x-axis I_x=(I_X1)-(I_X2) // cm^4 // Results clc printf('The M.O.I of the composite area about the centroidal x-axis is %f cm^4 \n',I_x) // There may be a small error in the answer due to decimal point discrepancy
cb55014a339945c2f11aaeb2c940cba52a38a3fb
449d555969bfd7befe906877abab098c6e63a0e8
/2342/CH6/EX6.11/EX6_11.sce
c8d149695d57752bf0b1632af968258172e7e7ba
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
564
sce
EX6_11.sce
// Exa 6.11 format('v',6) clc; clear; close; // Given data R_B= 400*10^3;// in Ω R_C= 2*10^3;// in Ω R_E= 1*10^3;// in Ω V_CC= 20;// in V Beta= 100; // Base current can be evaluated as, I_B= V_CC/(R_B+Beta*R_E);// in A // Collector current I_C= Beta*I_B;// in A // The collector to emitter voltage V_CE= V_CC-I_C*(R_C+R_E);// in V I_B= I_B*10^3;// in mA I_C= I_C*10^3;// in mA disp(I_B,"The value of base current in mA is : ") disp(I_C,"The value of collector current in mA is : ") disp(V_CE,"The collector to emitter voltage in V is : ")
1f31b58fec0729c7f56077fcddbe020e7ee192c7
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpicscifiles6/Openphr.sci
461549e9799b9eba4df1ffc2ca5b42ebdea0e927
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
174
sci
Openphr.sci
// 08.05.31 function Openphr(Str) global Wfile FID S='\def'+Str+'{%'; if Wfile=='default' mprintf('%s\n',S); else mfprintf(FID,'%s\n',S); end endfunction
9fc53c3ee1b31f930079b8e71bf37c823fb92a8d
4cc44e82ecbcb6b2ff538e5ce35e9089f0c1399c
/prbs/controller/prbscontrol-virtual.sci
025c65978424b3bd5601533c5ed3c19b62b22f54
[]
no_license
rupakrokade/scilab_virtual_codes
9298a810f1fddeac2d186901a518bce33c9f1936
eb687bf7b3ff5968e84bbfc63e03080f99ab9650
refs/heads/master
2021-01-10T20:35:07.228680
2014-12-20T11:41:29
2014-12-20T11:41:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
220
sci
prbscontrol-virtual.sci
function [stop,temp] = prbstest(heat,fan,setp) global scn scd tcn tcd rcn rcd gamm [stop,temp] = comm(heat,fan);//Never edit this line plotting([heat fan temp],[0 0 25 0],[100 100 50 1000]) endfunction
6465c64c566c5981d110e4d3b24951857598e7b8
449d555969bfd7befe906877abab098c6e63a0e8
/275/CH3/EX3.3.19/Ch3_3_19.sce
c7036b7562e0de591f666ff4dd78c1348df558ef
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
504
sce
Ch3_3_19.sce
clc disp("Example 3.19") printf("\n") disp("calculate the value of Ie,alpha,beta for a transistor and find Ib for new value of Ic") printf("Given\n") //for old transistor Ic=5.25*10^-3 Ib=100*10^-6 //value of Ie Ie=Ic+Ib //value of alpha alpha=Ic/Ie //value of beta beta=Ic/Ib //for new value of Ib the Ic value is Ic1=15*10^-3 Ib=Ic1/beta printf("emitter current \n%f ampere\n",Ie) printf("alpha \n%f\n",alpha) printf("beta \n%f\n",beta) printf("new base current \n%f ampere\n",Ib)
824b59fd04483217f9c0bae448b2a8eefdced7e5
449d555969bfd7befe906877abab098c6e63a0e8
/1092/CH13/EX13.11/Example13_11.sce
77b115ae2309faea2434f1730a236114541a84b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
968
sce
Example13_11.sce
// Electric Machinery and Transformers // Irving L kosow // Prentice Hall of India // 2nd editiom // Chapter 13: RATINGS,SELECTION,AND MAINTENANCE OF ELECTRIC MACHINERY // Example 13-11 clear; clc; close; // Clear the work space and console. // Given data // 3-phase distribution system V = 2300 ; // Line voltage of 3-phase distribution system in volt V_p = 1328 ; // Phase voltage of 3-phase distribution system in volt V_b = 69000 ; // Common base line voltage in volt V_pb = 39840 ; // Common base phase voltage in volt // Calculations // case a V_pu_line = V / V_b ; // Distribution system p.u line voltage // case a V_pu_phase = V_p / V_pb ; // Distribution system p.u phase voltage // Display the results disp("Example 13-11 Solution : "); printf(" \n a: Distribution system p.u line voltage :\n V_pu = %.2f p.u\n",V_pu_line); printf(" \n b: Distribution system p.u phase voltage :\n V_pu = %.2f p.u\n",V_pu_phase);
cd18d6e6cb61eefb4c14da7128c27a49bfc5d70b
449d555969bfd7befe906877abab098c6e63a0e8
/1052/CH22/EX22.4/224.sce
027a6e4d4f238aa037cfd23826250250094aeb62
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
682
sce
224.sce
clc; //Example 22.4 //page no 298 printf("Example 22.4 page no 298\n\n"); //a centrifugal pump operating at 1800 rpm ,we have to find the impeller diameter needed to develop a head of 200 ft h=200//height,ft g=32.2//gravitational acc. ft/s^2 v=sqrt(2*g*h)//velocity needed to develop a head of 200 ft printf("\n velocity v=%f ft/s",v); N=1800//pump operating at this rotational speed,in rpm c=v*60/N//the number of feet that the impeller travels in one rotations //this c represents the circumference of the impeller since it is equal to one rotation printf("\n circumference c=%f ft/rotation",c); D=c/%pi//diameter of the impeller printf("\n diameter D=%f ft",D);
9a1aa7b9781803fe0bacf2ef9e1ab5059d57c332
449d555969bfd7befe906877abab098c6e63a0e8
/2168/CH25/EX25.16/Chapter25_example16.sce
6d2d58e8eef4994f369f048a9db39c891d56382a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
709
sce
Chapter25_example16.sce
clc clear //Input data p=[1,5]//Pressures in atm T1=288//Temperature in K T3=650+273//Temperature in K er=0.85//Efficiency ratio x=0.72//Effectiveness of heat exchanger Cp=0.24//Specific heat at constant pressure in kJ/kg.K g=1.4//Ratio of specific heats //Calculations T2=(T1*(p(2)/p(1))^((g-1)/g))//Temperature in K T2i=(T1+((T2-T1)/er))//Temperature in K T4=(T3/(p(2)/p(1))^((g-1)/g))//Temperature in K T4i=(T3-(er*(T3-T4)))//Temperature in K Tc=((x*(T4i-T2i))+T2i)//Temperature in K W=((Cp*((T3-T4i)-(T2i-T1))))//Workdone in kcal/kg q=(Cp*(T3-Tc))//Heat supplied in kcal/kg n=(W/q)*100//Efficiency in percent //Output printf('The heat efficiency of the plant is %3.1f percent',n)
e5e4ee062ff7a4076f43b00d0e78f97daa642d18
449d555969bfd7befe906877abab098c6e63a0e8
/2777/CH5/EX5.2/Ex5_2.sce
4a53f7923260b7a082368865ff8bc065765ebd02
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
4,516
sce
Ex5_2.sce
// ELECTRICAL MACHINES // R.K.Srivastava // First Impression 2011 // CENGAGE LEARNING INDIA PVT. LTD // CHAPTER : 5 : INDUCTION MACHINES // EXAMPLE : 5.2 clear ; clc ; close ; // Clear the work space and console // GIVEN DATA // For Case (a) S_a = 54; // Total number of Slots m_a = 3; // Total number of Poles p_a = 8; // Total number of Phases // For Case (b) S_b = 32; // Total number of Slots m_b = 3; // Total number of Poles p_b = 4; // Total number of Phases // For Case (c) S_c = 30; // Total number of Slots m_c = 3; // Total number of Poles p_c = 4; // Total number of Phases // CALCULATIONS // For Case (a) spp_a = S_a/(p_a*m_a); // Slot per poles per phase l_a = 0 * spp_a; // Phase allociation Series m_a = 1 * spp_a; // Phase allociation Series n_a = 2 * spp_a; // Phase allociation Series o_a = 3 * spp_a; // Phase allociation Series p_a = 4 * spp_a; // Phase allociation Series d_a = 0; // d_a = l_a (Rounding off) e_a = 2; // e_a = m_a (Rounding off) f_a = 4; // f_a = n_a (Rounding off) g_a = 6; // g_a = o_a (Rounding off) h_a = 9; // h_a = p_a (Rounding off) R_a = e_a - d_a; // Phase allociation Y_a = f_a - e_a; // Phase allociation B_a = g_a - f_a; // Phase allociation R1_a = h_a - g_a; // Phase allociation // For Case (b) spp_b = S_b/(p_b*m_b); // Slot per poles per phase l_b = 0 * spp_b; // Phase allociation Series m_b = 1 * spp_b; // Phase allociation Series n_b = 2 * spp_b; // Phase allociation Series o_b = 3 * spp_b; // Phase allociation Series d_b = 0; // d_b = l_b (Rounding off) e_b = 2; // e_b = m_b (Rounding off) f_b = 5; // f_b = n_b (Rounding off) g_b = 8; // g_b = o_b (Rounding off) R_b = e_b - d_b; // Phase allociation Y_b = f_b - e_b; // Phase allociation B_b = g_b - f_b; // Phase allociation // For Case (c) spp_c = S_c/(p_c*m_c); // Slot per poles per phase l_c = 0 * spp_c; // Phase allociation Series m_c = 1 * spp_c; // Phase allociation Series n_c = 2 * spp_c; // Phase allociation Series d_c = 0; // d_b = l_b (Rounding off) e_c = 2; // e_b = m_b (Rounding off) f_c = 5; // f_b = n_b (Rounding off) R_c = e_c - d_c; // Phase allociation Y_c = f_c - e_c; // Phase allociation // DISPLAY RESULTS disp("EXAMPLE : 5.2 : SOLUTION :-") ; printf("\n For Case (a) Slot per poles per phase , spp = %.3f \n ",spp_a); printf("\n Phase allociation series is %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f,slots are allocated respectively to R, Y, B, R, Y, B, R, Y, B....... phase in Sequence\n ",R_a,Y_a,B_a,R1_a,R_a,Y_a,B_a,R1_a,R_a); printf("\n By seeing Sequence its Slot per pole per phase is an Integer and such, balanced winding may be possible \n"); printf("\n For Case (b) Slot per poles per phase , spp = %.3f \n ",spp_b); printf("\n Phase allociation series is %.f, %.f, %.f \n",R_b,Y_b,B_b); printf("\n By seeing Sequence its Slot per pole per phase are not Integer therefore R-phase will have 8 slots whereas Y-phase and B-phase will have 12 slots \n"); printf("\n For Case (c) Slot per poles per phase , spp = %.1f \n ",spp_c); printf("\n Phase allociation series is %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f, %.f slots are allocated respectively to R, Y, B, R, Y, B, R, Y, B, R, Y, B....... phase in Sequence\n ",R_c,Y_c,R_c,Y_c,R_c,Y_c,R_c,Y_c,R_c,Y_c,R_c,Y_c); printf("\n By seeing Sequence its Slot per pole per phase is an Integer and such, balanced winding may be possible \n");
66c9812921e552bb0551df264fda4932fa57457c
449d555969bfd7befe906877abab098c6e63a0e8
/2048/CH12/EX12.8/gpc_wtc.sce
e776699f0096cf8d450a4933760ff404d3559348
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
648
sce
gpc_wtc.sce
// GPC design for the problem discussed in Example 12.3. // 12.8 exec('gpc_Nc.sci',-1); exec('xdync.sci',-1); exec('rowjoin.sci',-1); exec('polsize.sci',-1); exec('left_prm.sci',-1); exec('t1calc.sci',-1); exec('indep.sci',-1); exec('seshft.sci',-1); exec('makezero.sci',-1); exec('move_sci.sci',-1); exec('colsplit.sci',-1); exec('clcoef.sci',-1); exec('cindep.sci',-1); exec('polmul.sci',-1); exec('poladd.sci',-1); exec('flip.sci',-1); A=[1 -0.44]; dA=1; B=[0.51 1.21]; dB=1; C = [1 -0.44]; dC = 1; k=1; N1 = 0; N2 = 2; Nu = 0; rho = 1; [K,KH1,KH2,Tc,dTc,Sc,dSc,R1,dR1] = ... gpc_Nc(A,dA,B,dB,C,dC,k,N1,N2,Nu,rho)
8352fb405ec6fe384d106abcbe3a3183d2d7fb59
a1161d9e9d26e0a7b20c31269be145f13d9d3e89
/QA/tests/myo/myo_md.tst
5abbb0a81df22cf1f816e4b7a69b0e369360438e
[ "LicenseRef-scancode-warranty-disclaimer", "ECL-2.0" ]
permissive
nwchemgit/nwchem
c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda
c5a8125298a6ea7d6eb27b07c196ea8041aa7198
refs/heads/master
2023-09-05T17:18:34.513866
2023-09-02T02:56:47
2023-09-02T02:56:47
111,318,191
425
164
NOASSERTION
2023-09-11T16:34:14
2017-11-19T17:48:21
Fortran
UTF-8
Scilab
false
false
1,500
tst
myo_md.tst
Time = 0.001 Temperature = 324.00 Volume = 121.76 Pressure = -9.13E+07 Energy = -1.091E+05 Time = 0.002 Temperature = 324.04 Volume = 121.76 Pressure = 3.24E+07 Energy = -1.090E+05 Time = 0.003 Temperature = 324.20 Volume = 121.76 Pressure = 3.30E+07 Energy = -1.090E+05 Time = 0.004 Temperature = 324.46 Volume = 121.76 Pressure = 3.33E+07 Energy = -1.091E+05 Time = 0.005 Temperature = 324.78 Volume = 121.76 Pressure = 3.34E+07 Energy = -1.092E+05 Time = 0.006 Temperature = 325.09 Volume = 121.76 Pressure = 3.33E+07 Energy = -1.091E+05 Time = 0.007 Temperature = 325.38 Volume = 121.76 Pressure = 3.30E+07 Energy = -1.091E+05 Time = 0.008 Temperature = 325.63 Volume = 121.76 Pressure = 3.22E+07 Energy = -1.091E+05 Time = 0.009 Temperature = 325.86 Volume = 121.76 Pressure = 3.13E+07 Energy = -1.092E+05 Time = 0.010 Temperature = 326.07 Volume = 121.76 Pressure = 3.03E+07 Energy = -1.092E+05
10e5324dc668dd62ed699b3bc0ecad0787e14c4f
449d555969bfd7befe906877abab098c6e63a0e8
/2672/CH6/EX6.2/Ex6_2.sce
1524d0cfaf2476085e085aba2b30e5dfb47ae170
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,319
sce
Ex6_2.sce
//Example 6_2 clc; clear; close; format('v',5); //given data : V=100;//V //For diode D1 V1gamma=0.2;//V r1=20;//ohm //For diode D2 V2gamma=0.6;//V r2=15;//ohm //Part(a) //Assume D1 & D2 are ON R=10;//kohm //Writing loop equations //V=(R+r1/1000)*I1+R*I2+V1gamma;(eqn(1)) A1=[(R+r1/1000) R];//Coefficient matrix B1=[V-V1gamma];//Coefficient matrix //V=(R+r2/1000)*I2+R*I1+V2gamma;(eqn(2)) A2=[R (R+r2/1000)];//Coefficient matrix B2=[V-V2gamma];//Coefficient matrix A=[A1;A2];//Coefficient matrix B=[B1;B2];//Coefficient matrix X=A^-1*B;//solution matrix I1=X(1);///mA I2=X(2);///mA if I2<0 then disp("I2<0, Assumption D2 is ON, not valid.") //Assume D1 is ON & D2 is OFF I2=0;//A I1=(V-V1gamma)/(R+r1/1000);//mA disp(I2,I1,"(a) Diode current I1 & I2 in mA are : "); end; //Part(b) format('v',7); //Assume D1 & D2 are ON R=1.5;//kohm //Writing loop equations //V=(R+r1/1000)*I1+R*I2+V1gamma;(eqn(1)) A1=[(R+r1/1000) R];//Coefficient matrix B1=[V-V1gamma];//Coefficient matrix //V=(R+r2/1000)*I2+R*I1+V2gamma;(eqn(2)) A2=[R (R+r2/1000)];//Coefficient matrix B2=[V-V2gamma];//Coefficient matrix A=[A1;A2];//Coefficient matrix B=[B1;B2];//Coefficient matrix X=A^-1*B;//solution matrix I1=X(1);///mA I2=X(2);///mA disp(I2,I1,"(b) Diode current I1 & I2 in mA are : ");
7443e2693ddba138cd0bfa96214a90f3ed9746a0
449d555969bfd7befe906877abab098c6e63a0e8
/2699/CH13/EX13.32/EX13_32.sce
50ba053174fd5259afad2032723dc3a6df88a245
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,429
sce
EX13_32.sce
//EX13_32 Pg-18 clc clear printf("\n\n Conversion of hexadecimal number 2AC5.D to \n\n") //conversion into decimal form N=(2*16^3)+(10*16^2)+(12*16^1)+(5*16^0)+(13*16^(-1)) printf(" Decimal form = %.4f\n\n",N) //conversion into octal form //we take the value of the decimal form and convert it to octal form z=modulo(N,1) x=floor(N);//separating the decimal from the integer part b=0; c=0; d=0; while(x>0) //taking integer part into a matrix and convert to equivalent binary y=modulo(x,8); b=b+(10^c)*y; x=x/8; x=floor(x); c=c+1; end for i=1:10;//converting the values after the decimal point intooctal z=z*8; q=floor(z); d=d+q/(10^i); if z>=1 then z=z-q; end end s=b+d; printf(" Octal form = %.2f\n\n",s); //conversion into binary form //we take the value of the decimal form and convert it to octal form z=modulo(N,1) x=floor(N);//separating the decimal from the integer part b=0; c=0; d=0; while(x>0) //taking integer part into a matrix and convert to equivalent binary y=modulo(x,2); b=b+(10^c)*y; x=x/2; x=floor(x); c=c+1; end for i=1:10;//converting the values after the decimal point into binary z=z*2; q=floor(z); d=d+q/(10^i); if z>=1 then z=z-1; end end s=b+d; printf(" Binary form : ") printf("\n Integer part 2AC5 = 00%.0f",b) printf("\n Decimal part 0.D = %.4f00",d)
2a331681c409957abbb0ac5d9e5954ebca8d4f96
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/tests/examples/sqrt.man.tst
cabca21d9a7a4d3f2a0644caa2e1a337d030c905
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
37
tst
sqrt.man.tst
clear;lines(0); sqrt([2,4]) sqrt(-1)
e0e24bc1de719b365ab0f94885427031a73b131f
449d555969bfd7befe906877abab098c6e63a0e8
/2342/CH5/EX5.31/EX5_31.sce
a93c87c37beadb19193efef8da75d8c667d2ee80
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,081
sce
EX5_31.sce
// Exa 5.31 format('v',5) clc; clear; close; // Given data V_DD = 5;// in V V_T= 1;// in V k= 1;// in mA/V^2 R1 = 1;// in M ohm R2 = 1;// in M ohm R_S= 2;// in k ohm R_D= 2;// in k ohm // Calculation of I1 I1 = V_DD/(R1+R2);// in A disp(I1,"The value of I1 in µA is : ") // The value of V_A, V_A = (R2/(R2+R1))*V_DD;// in V disp(V_A,"The value of V_A and V_G in volts is : ") I_D= poly(0,'I_D'); V_C= I_D*R_S;// in V V_GS= V_A-V_C;// in V // Evaluation the value of I_D by using polynomial method, I_D= I_D-k*(V_GS-V_T)^2; I_D= roots(I_D);// in mA // For I_D(1), V_DS will be negative, so discarding it I_D= I_D(2);// in mA disp(I_D,"The value of I_D in mA is : ") // The value of V_B, V_B= V_DD-I_D*R_D;// in V // The value of V_C, V_C= I_D*R_S;// in V // The value of V_DS, V_DS= V_B-V_C;// in V disp(V_B,"The value of V_B in volts is : ") disp(V_C,"The value of V_C in volts is : ") disp(V_DS,"The value of V_DS in volts is : ") // Note: In the book, the calculated values are not accurate, this is why the answer in the book is wrong.
80d6d258ab69f26ed5d6eb902586096df11a4506
449d555969bfd7befe906877abab098c6e63a0e8
/3136/CH6/EX6.4/Ex6_4.sce
6adac7dc466d9b6056b43e9efb967852a797ee54
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
791
sce
Ex6_4.sce
clear all; clc; Q_c=1000 N_a=3550 N_c=4000 Q_a=Q_c*(N_a/N_c) printf("\n Qa=Qc*(Na/Nc)=%0.1f cfm",Q_a) disp("H=Cp*T1*[(p2/p1)^((k-1)/k)-1]") disp("Ha/Hc=((Na/Nc)^2)") disp("Where ka=1.40,Cpa=0.24 Btu/lbm*degrees Farenheit,,T1a=530R,((ka-1)/ka)=0.2857 and kc=1.30") disp("Cpc=0.20Btu/(lbm*degrees Farenheit),T1c=550R,((kc-1)/kc)=0.2307, we have:") disp("(Cpa*T1a)*[[(p2/p1)^((k-1)/k)-1]]_a/{(Cpc*T1c)*[[(p2/p1)^((k-1)/k)-1]]_c}=((3550/4000)^2)") //let x=(Cpa*T1a)*[[(p2/p1)^((k-1)/k)-1]]_a/{(Cpc*T1c)*[[(p2/p1)^((k-1)/k)-1]]_c} x=((3550/4000)^2) printf(" Thus the value is equal to %0.3f",x) disp("Or") disp("(0.24*530*[(p2/p1)^(0.2857-1]_a)/(0.20*550*[(19.7/17.7)^(0.2307)-1])=0.787") disp("Hence ((p2/p1)^0.2857)_a=1+(0.787*0.025)/1.156=1.017") disp("p2a=15.6 psia")