blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc79181733fc375bf00804735cf9ad92dd3d13a7 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /HL 357_box.sce | 70b57e69feccfdc4c0008b104a4892cc787a0945 | [] | 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 | 52,022 | sce | HL 357_box.sce | Name=HL 357_box
PlayerCharacters=Gordon Freeman;Gordon Freeman HEV
BotCharacters=HL Bot 1.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Gordon Freeman
AddedBots=HL Bot 1.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=hl_357_box.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
In... |
3488d103d5a7c93126bfe92fc526d686a2afecd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH9/EX9.6/9_6.sce | a0f475ce2538240c4e9a8f1944c10de0b28dc1a5 | [] | 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 | 281 | sce | 9_6.sce | clc
clear
//Initialization of variables
g=32.2 //ft/s^2
h=60000 //ft
F=2000 //;b
d=3 //ft
rho=0.00231
//calculations
V=sqrt(2*g*h)
disp("By trail and error")
Cd=0.25
Nm=0.87
A=%pi/4 *d^2
Vt=sqrt(2*F/(Cd*A*rho))
//results
printf("terminal velocity = %.1f ft/s",Vt)
|
dca4004743c37c794ba22383d52682a53540f3fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH7/EX7.9/example7_9.sce | 7cfea81ffe0d09e5aad761e05c32db0dde52321e | [] | 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 | 528 | sce | example7_9.sce | i=0.1;
ia=0.01;
ib=0.05;
ic=0.02;
va=-25;
vb=-15;
vc=15;
ir1=i-ia;
ir2=ir1-ib;
ir3=i-ic;
vr1=-va+vb;
r1=vr1/ir1;
disp("the resistance value (in Ω) of R1 is"); disp(r1);
p1=vr1*ir1;
disp("power rating (in W) of R1 is"); disp(p1);
vr2=-vb;
r2=vr2/ir2;
disp("the resistance value (in Ω) of R2 is"); disp(r2... |
f7a4a0bd45fa820e90c08a5bffc028bfd5e2732c | af8ee26c8ebd0db851be4f1e7cf8fb7a9684b9eb | /eigenface_train.sce | d223cec1cd3d38cc901b4c29772069c0025c0df5 | [
"MIT"
] | permissive | nikAizuddin/eigenface_example | bbd50d9071b36366566696ab629ce1c003ea4312 | 916fdd713259afe0411696da3f41c59c40fbad98 | refs/heads/master | 2020-12-24T19:28:17.861776 | 2016-05-04T16:00:21 | 2016-05-04T16:00:21 | 57,489,901 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,719 | sce | eigenface_train.sce | function[] = eigenface_train()
// 1 2 3 4 5 6 7
//34567890123456789012345678901234567890123456789012345678901234567890
//////////////////////////////////////////////////////////////////////
//
// Title: Train the Eigenface Recognizer.
//
//-------------------------... |
ffb65e56b54fd42035afb89e31f9c3a0805c9cf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH5/EX5.7/Ex5_7.sce | c12dd10ccc89e164efbdeacb3c247047d84310b1 | [] | 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 | 299 | sce | Ex5_7.sce | //percentage of reflected power
//given
Vi=20//volts//incident voltage
Vr=12.5//volts//reflected voltage
row=Vr/Vi//reflected voltage coefficent
row2=row^2//reflected_power/incident_power
pi=1//watt
pr=0.391*1
%pr=pr*100//percentage power
disp(%pr,'the percentage of reflected power is:')
|
c673614b987668336b6259badd5ae9a756100c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH14/EX14.1/Example_14_1.sci | 0cbca0a167d5ccaae28d0415bc392a117b58da54 | [] | 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,214 | sci | Example_14_1.sci | clear;
clc;
printf("\n Example 14.1");
//Assuming that the steam is dry and saturated at 205 kN/m2, then from the Steam Tables in the Appendix, the steam temperature = 394 K at which the total enthalpy = 2530 kJ/kg.
//At 13.5 kN/m2, water boils at 325 K and, in the absence of data on the boiling point elevation,t... |
89882f94fcc8c802333d248e4e5bd893dc5182ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH9/EX9.14/Chap9_Ex14_R1.sce | 165a745223b5447f309bb9a590c0c579d6b554cc | [] | 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,349 | sce | Chap9_Ex14_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-9,Example 14,Page 337
//Title: Enthalpy and entropy departure
//================================================================================================================
clear
clc
//INPUT
T=600;//temp... |
3bb8016c7dc94446664acb41e41ee907495f09e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH5/EX5.4/Example5_4.sce | 86bc1d00c70e753170b9a79f522e4bee8352ac06 | [] | 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 | 461 | sce | Example5_4.sce | //clear//
//Caption:Power coupled between two graded index fibers
//Example5.4
//page205
clear;
clc;
close;
a =1e-06; //core radii in meters
d = 0.3*a;//axial offset
PT_P = (2/%pi)*(acos(d/(2*a))-(1-(d/(2*a))^2)^0.5*(d/(6*a))*(5-0.5*(d/a)^2));
PT_P_dB = 10*log10(PT_P)
disp(PT_P_dB,'Optical power coupled from... |
56f3d33849138bce0c6246950eb75c7a53f990c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH21/EX21.4/Ex21_4.sce | a799b845ee8f120fe3944d69a75726ca1ac42f0e | [] | 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 | 418 | sce | Ex21_4.sce | clc
clear
//Initalization of variables
v1=1234 //ft/s
v2=532 //ft/s
kb=0.92
alp=20 //degrees
ve=900 //ft/s
r=2200 //ft/s
g=32.17 //ft/s^2
//calculations
vr=sqrt(v1^2 +v2^2)
vr2=vr*kb
vrc=vr2*cosd(alp)
W=(v1+vrc)*ve/g
eta=W/(r^2 /(2*g)) *100
//results
printf("Blade work = %d ft-lb/lb",W)
printf("\n Ef... |
aa2bda53297041bc2587ee5b71badfdc58e430a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH5/EX5.5/ex5_5.sce | 66a2a8d4ff4f7b3becfe578738e12a88da3e8219 | [] | 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 | ex5_5.sce | // Example 5.5, page no-190
clear
clc
//comparing given equation with stanard equation
m=6 //Modulation Index
wc=7.8*10^8 //unmodulated carrier frequency
wm=1450 //Modulating frequency
fc=wc/(2*%pi)
fm=wm/(2*%pi)
printf("Unmodulated carrier frequency, fc = %.2f MHz \n The mod... |
f798f75cfe3ccb679eb2c8517d8adcf4dda5060a | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/4_07.sci | 33b028eace1bf91a973d2b63635dfe3a44ea9953 | [] | 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 | 255 | sci | 4_07.sci | //Pressure at inlet tothe elbow(in N/m^2):
p1=2.21*10^5;
//Area of crosssection(in m^2):
A1=0.01;
//Velocity at secton 2(in m/sec):
V2=16;
//Area of cross section of section 2(in m^2):
A2=0.0025;
//Atmospheric pressure(in kPa):
patm=1.012*10^5;
|
665655b4a29bc69c5ee9379c2b7ff4f93917f1fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH26/EX26.5/26_5.sce | 70d8a8b0babee18aa197414f34aac7e11ee3cb9c | [] | 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 | 412 | sce | 26_5.sce | //Chapter 26
clc
//Example5
//given
c=3*10^8 //velocity of light in m/sec
m=9.11*10^-31 //mass of electron in kg
v=0.75*c
gamma=1/sqrt(1-(v^2/c^2))
//relativistic momentum
p=m*v*gamma
disp(p,"relativistic momentum in kg.m/s is")
//classical approach
P=m*v
disp(P,"classical momentum in kg.m/s is")
Z=(p-P)*... |
de0d179afa46ac1dd66f8fcf12bd602c2b86090c | 13f35c5eacaef0a8dc56549edd994a09b21e886a | /normir.sci | e845f1a6d4928d12e008144dbee3e3e8e2fa1c02 | [] | no_license | Ivanradist/Neural_Net_Milk | 8a940b7f4f501e95cce04580b5cdfe5f86c0ba51 | 3e2de45a109031f2cb9c54ca9299dc95617f5afc | refs/heads/master | 2020-09-12T03:55:59.241356 | 2019-11-22T20:26:54 | 2019-11-22T20:26:54 | 222,295,885 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sci | normir.sci | function N=normir(s)
//Функция номирует входной массив
//s - входной массив
//N - нормированный массив
N = s/max(s);
endfunction
|
c6590529d427a40ebb66f66226fca193436edc9a | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/help/en_US/build_help.sce | 727ab54499ce9512ef502ea916a69618c0ce218a | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 687 | sce | build_help.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
add_help_chapter("Utility functions",get_absolute_file_path("build_help.sce") + filesep() + "utility",%T);
add_help_chapter("Data acquisition",get_absolute_file_path("build_help.sce") + filesep() + "hw_access",%T);
add_help_chapter("DSP managment... |
d442cd1b27a8ece14a6946db444820fd8d22ae7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH4/EX4.12/exa_4_12.sce | 9fa83d293a42714187e770b90abb33141c03b3b2 | [] | 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 | 543 | sce | exa_4_12.sce | // Exa 4.12
clc;
clear;
close;
// Given data
I=0.8;// in mA
I=I*10^-3;//in A
V_A= 100;// in V
Bita=160;
VT=25;// in mV
VT= VT*10^-3;//in V
gm= (I/2)/VT;// in A/V
Gm= gm;// Short circuit trnsconductance in mA/V
disp(Gm*10^3,"The value of Gm in mA/V")
ro2= V_A/(I/2);// in ohm
ro4= ro2;// in ohm
Ro= ro2*r... |
b7b1cc1f89ec92b582717537b7a83d386474839a | 5bcc90ef43196a17fb874abe7d7b4c645065e559 | /TypeAwesomeWebApi/templates/headers.tst | 1ae4964d8a92cc7b6d14fdbf685248609404804c | [
"MIT"
] | permissive | 2718e/TypeAwesome-WebApi | e9c133fb82e0d01484f78e4099a31c633311159c | 1c2115d1245dbb0be1947dc280c879a209507bdb | refs/heads/master | 2021-01-22T02:34:56.323198 | 2017-04-23T07:05:00 | 2017-04-23T07:05:00 | 81,058,660 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,359 | tst | headers.tst | export interface IMethodInfo<TBodyParam, TQueryStringParams, TReturn> {
url: string;
httpMethod: string;
}
export function BuildQueryString<TQueryStringParams>(queryParams: TQueryStringParams): string {
let result = "";
if (_.keys(queryParams).length > 0) {
result = "/?" + _(queryParams).keys().m... |
755f79e12b4e50e15a884ff74027476129712f12 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH10/EX10.9/ex_10_9.sce | 1033792aad217723f94c2e2bdd6cafc2e310afd7 | [] | 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 | 452 | sce | ex_10_9.sce | //find size of weld
clc
//solution
//given
P=2000//N
e=120//mm
l=40//mm
Tmax=25//N/mm^2
//let s be size of weld and t be throat thickness
//ref fig 10.24
//A=2*t*l
//A=2*0.707*s*l
//A=2*0.707*s*40
//A=56.56*s//mm^2
//t=P/A
//t=35.4/s//N/mm^2
M=P*e//N-mm
//Z=s*l^2/(4.242)//section modulus//mm^3
//fb=M/... |
e8529fe0069aea2e6486d4e6279f4d84a4edc72c | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.12/example10_12.sce | 88fe3e2fbd691f4f2b327001389904df6ed16b67 | [] | 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 | 619 | sce | example10_12.sce | r1=10^3;
r2=2*10^3;
r3=6*10^3;
r4=6*10^3;
v=12;
v2=v*r2/(r1+r2);
v4=v*r4/(r3+r4);
disp("Part a");
vth=v4-v2;
disp("the Thevenin voltage (in V) is"); disp(vth);
rth=r1*r2/(r1+r2)+r3*r4/(r3+r4);
disp("the Thevenin resistance (in kΩ) is"); disp(rth*10^(-3));
disp("Part b");
in=vth/rth;
disp("the Norton curre... |
7d184b4d0c4f2c71a985af09ea2e81c90daf7763 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH6/EX6.15/example15.sce | 99f2830362b08e0531e7ce464cd4629b19f43065 | [] | 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 | 966 | sce | example15.sce | s=%s;
syms K a
p=s ^4+10* s ^3+32* s ^2+( K +32) *s+(K*a)
cof_a_0 = coeffs (p, ' s ' ,0);
cof_a_1 = coeffs (p, ' s ' ,1);
cof_a_2 = coeffs (p, ' s ' ,2);
cof_a_3 = coeffs (p, ' s ' ,3);
cof_a_4 = coeffs (p, ' s ' ,4);
r=[ cof_a_0 cof_a_1 cof_a_3 cof_a_4 ]
n= length (r);
routh =[r ([5 ,3 ,1]) ;r ([4 ,2])... |
54f0e5290246f01cdf43c6f26e3c2c3d43c52ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/24_2data.sci | e9555e1e944f7cf0130c097dd6f10ddc4245a33e | [] | 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 | 100 | sci | 24_2data.sci | L11=300;
L12=320;
L1=12000;
L2=15000;
A1=50000;
A2=95000;
A21=49000;
A22=A2-A21;
theta=15*(%pi/180); |
5de2aa902b97d7575458357844c9ed812283a380 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/alu_lsh.tst | c05fda096090dfe8b9a470f4a2ed7938f7a1ef9a | [
"GPL-2.0-only",
"GPL-3.0-only",
"LGPL-3.0-only",
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"GPL-1.0-or-later",
"Zlib",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-bria... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 1,753 | tst | alu_lsh.tst | #include "alu.inc"
.code
prolog
#define LSH(N, I0, I1, V) ALU(N, , lsh, I0, I1, V)
LSH(0, 0x7f, 1, 0xfe)
LSH(1, 0x7fff, 2, 0x1fffc)
LSH(2, 0x81, 16, 0x810000)
LSH(3, 0xff, 15, 0x7f8000)
LSH(4, 0x7fffffff, 0, 0x7fffffff)
#if __WORDSIZE == 32
LSH(5, 0xffffffff, 8, 0xffffff00)
LSH(6, 0x7fffffff, 3,... |
2585dd4b13c392124eeea84b2bfacf6eec41f668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH12/EX12.11/Ex12_11.sce | cafc8ed8764429941686284a25ad91e8e65effe7 | [] | 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 | 979 | sce | Ex12_11.sce |
// Theory and Problems of Thermodynamics
// Chapter 12
// Statistical Thermodynamics
// Example 11
clear ;clc;
//Given data
T = 300 // Temperature of paritcle crystal in K
TE = 175 // Einstein temperature of particle crystal in K
k = 1.38*1e-23 // boltzman... |
3d78a07e30d1ef2d7f96abb4fe085b05bb8cc56d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH1/EX1.6/exa_1_6.sce | d1a16415a12d6f96b66766c9969c08208adc7089 | [] | 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 | exa_1_6.sce | // Exa 1.6
clc;
clear;
close;
// Given data
disp("Minimum closed loop voltage gain for R2=0 and R1= 2 kohm")
R2=0;
R1=2;// in kohm
R1=R1*10^3;// in ohm
Av_min= (1+R2/R1)
disp(Av_min)
disp("Maximum closed loop voltage gain for maximum value of R2=100 kohm and R1= 2 kohm")
R2=100;// in kohm
R1=2;// in kohm... |
9c9739fadf33b28ff98069ae2615668608220247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH18/EX12.18.9/Ex12_18_9.sce | c8ff6d768bb9bc0ea05161466623e245bd1b3622 | [] | 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 | 275 | sce | Ex12_18_9.sce | //Section-12,Example-1,Page no.-SS.46
//To determine the glancing angle.
clc;
a=305
d_110=a/sqrt((1^2) + (1^2))
//n*lm=2*d*sin(B)
lm=150 //wavelength of x-ray(pm)
B=(asin(lm/(2*d_110)))*(180/3.14)
disp(B,'Glancing angle(in degree)')
|
b72f62cfc6f1821ada5b0ebdc1b46c8142089c1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH5/EX5.3/Ex5_3.sce | 85b206d1dfecc89f03fdffbc53594b2d514dc3fc | [] | 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 | 606 | sce | Ex5_3.sce | //Example 5.3: Implementation of Boolean logic using Decoders
clc // Clears the console
disp("f(a,b,c) = Summation(0,2,3,7)")
disp("g(a,b,c) = Summation(1,4,6,7)")
disp("Truth Table")
disp("a b c | f g")
disp("0 0 0 | 1 0")
disp("0 0 1 | 0 1")
disp("0 1 0 | 1 0")
... |
9c7d2683736cd2c00d9fe31636d43dca209a60f5 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/StdRegions/Tests/StdProject_Diff2D_Quad_Fourier_P6_Q8.tst | c703342522a147273fc1098350b2d1ab24fb048b | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 512 | tst | StdProject_Diff2D_Quad_Fourier_P6_Q8.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject_Diff2D Quadrilateral Fourier basis P=6 Q=8</description>
<executable>StdProject</executable>
<parameters>-s quadrilateral -b Fourier Fourier -o 6 6 -p 8 8 -d</parameters>
<metrics>
<metric type="L2" id="1">
<value ... |
d5a2a1c210256a7caf56da75c6babd393480924c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.5/ex1_5.sce | dc6e3a2f38a82389f1ef1c741006150bd87b7ea4 | [] | 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 | 582 | sce | ex1_5.sce | // Exa 1.5
clc;
clear;
close;
format('v',10)
// Given data
d = 2;// in mm
d = d * 10^-3;// in m
sigma = 5.8*10^7;// in S/m
miu_e = 0.0032;// in m^2/V-s
E = 20;// in mV/m;
E = E * 10^-3;// in V/m
e = 1.6*10^-19;// in C
n = sigma/(e*miu_e);// in /m^3
disp(n,"The charge density of free electrons in /m^3 is")... |
07ffc09fdf7db7ba719b31f91afd5693914af003 | 6b7c26ac7fd27cf643da3ceddfb8d0ed9b88116b | /projects/05/Equal.tst | 3aad2556e63bed29919d276116dcd5c338dc3812 | [] | no_license | arlandism/nand2tetris | 89536d0bc0c0e67b8cbe993702a1ed4f29055dc4 | fd317b519cfbfad43174096cc6487204410c2f8d | refs/heads/master | 2021-08-23T03:34:48.840254 | 2017-12-02T23:41:59 | 2017-12-02T23:42:04 | 110,462,114 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | tst | Equal.tst | load Equal.hdl,
output-file Equal.out,
compare-to Equal.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0,
set b 0,
eval,
output;
set a 0,
set b 1,
eval,
output;
set a 1,
set b 0,
eval,
output;
set a 1,
set b 1,
eval,
output;
|
cfec37bd561cc175f4bbd9867fb553bdfe40a5b0 | f5f41d427e165a46b51c8b06f6c2010b4213033a | /Scilab/gui.sce | 1199c93916548b9e2df582b2f9e1e5568ea5822d | [] | no_license | rissuuuu/IT_LAB | a40f6ea5311f5d8012364cfa3d3ad37d83be3afd | 8d0f44a2b8b20ed1101c34a5cb263e6229c200cc | refs/heads/master | 2021-01-03T05:06:49.877644 | 2020-02-12T07:42:44 | 2020-02-12T07:42:44 | 239,934,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,331 | sce | gui.sce | //Pavan P
//19MCMB04
//PROCESSING AUDIO USING GUI
// This GUI file is generated by guibuilder version 3.0
//////////
f=figure('figure_position',[509,130],'figure_size',[646,578],'auto_resize','on','background',[32],'figure_name','19MCMB04_GUI');
//////////
delmenu(f.figure_id,gettext('File'))
delmenu(f.figure_id,gett... |
4c3283ae8f89399689a9e27c36b98a320d01896e | a32457bc76e1a5fe9898d7f84b937381d3bcb80d | /experiment5.sce | a537480b07fbdd484aa68d746b31c2b354cbca33 | [] | no_license | kunalsparkx10/signal-and-systems | 90d80c4b279b3c44ddd328fbf088ddbbc1ca9b5f | 97164f97bd59b1d8b302efeab6a7f6a2640c0a57 | refs/heads/main | 2023-01-14T10:44:22.315838 | 2020-11-25T18:24:57 | 2020-11-25T18:24:57 | 316,021,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | experiment5.sce | //part1
clc;
t=-1:0.02:1;
w=2*%pi;
n_har=10;
n=1:1:n_har
b=2 ./(n*%pi)
x=0.5+b*sin(w*n'*t)
plot(x)
//part2
clc;
clear all;
close;
x1=[1,3,7,-2,5];
h=[3,0,-1,2];
y=xcorr(x1,h);
disp(y,"is the required correlation");
l=length(y);
t=0:l-1;
plot2d3(t,y);
xlabel("n");
ylabel("Amplitude");
title("Correl... |
7c5199dd56e2799e3f5c6e6cd5c2f88155d6de23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH10/EX10.1/Ex10_1.sce | 182c1c3ea202b7b39a2cd4721505bcfe761d1e86 | [] | 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,257 | sce | Ex10_1.sce | // Initilization of variables
W1=400 // N // vertical load at pt C
W2=600 // N // vertical load at pt D
W3=400 // N // vertical load at pt E
l=2 // m // l= Lac=Lcd=Lde=Leb
h=2.25 // m // distance of the cable from top
L=2 // m // dist of A from top
// Calculations
// Solving eqn's 1&2 using MATRIX for Xb & Yb
... |
b7f12c84f569195551e2aa852de1568e845c8a75 | a77a50f3f25853ec6a7b5b8548a13b7a4b4b3980 | /rsc/sceneries/teste2.sce | 75aa33d5bc864fba4bb82345789d5bd8906fff34 | [] | no_license | nidoro/PointlessWars | f051b41cb71df783141e5953d2c03d9cf305150a | 2e8a9c073026ebb07454922cc3caec41d8c68f29 | refs/heads/master | 2021-03-27T13:12:04.182891 | 2016-11-08T15:23:16 | 2016-11-08T15:23:16 | 71,281,107 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | teste2.sce | %Background
beach.bg
% OBJECT-NAME X-RELATIVE Y-RELATIVE X-SCALE Y-SCALE H-FLIP V-FLIP
obj3 0.4718 0.2876 1.0000 1.0000 0 0
obj3 0.4396 0.4110 1.0000 1.0000 0 0
... |
9596decc2cc66b6171a6bbc897fa64405a9a9603 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_n_hrz_ind/~BivLCM-SR-bfi_n_hrz_ind-PLin-VLin.tst | 60300d9b114211c20966aed8c735fa2398496892 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_n_hrz_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.483025D+00
... |
8245f4ba1843e4309e5608634b4b9374c4c51d32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.33/Chapter3_example33.sce | b88175a25e702792526efa87dc538cf276030cc1 | [] | 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 | 964 | sce | Chapter3_example33.sce | clc
clear
//Input data
d=18//Bore in cm
l=37.5//Stroke in cm
N=220//Speed in r.p.m
//Mean effective pressure in kg/cm^2
//Firing
pp=5.9//Positive loop
pn=0.248//Negative loop
//Missing
nn=0.432//Negative loop
bhp=8.62//Brake horse power in h.p
ex=100//Explosions per minute
vg=0.101//Gas used in cu.m per m... |
96b312931628eedc35d12a59aa48a469a5fee34e | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH5/EX5.5/5_5.sce | 2251525ae1a2721ad7665ea909e906c5df32150a | [] | 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,068 | sce | 5_5.sce | clc;
//Assuming SI unit for all quantities
//page 225
//problem 5.5
// An angle modulated signal with carrier frequency wc = 2*pi*10^5 is described by the equation Qem= 10cos(@(t)) where @(t)=wct+5sin3000t+10sin2000pi*t
B=2000*%pi/(2*%pi);//signal bandwidthis the highest frequency in m(t)
Ac=10;//carrier amplitu... |
5f6c7c88c4bcbad9bfd8223d5e0f81c0ac8912c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH8/EX8.6/Example8_6.sce | 6b84843bcbb20292b8c601c448a652e7c36e7b3e | [] | 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 | 821 | sce | Example8_6.sce | //Example 8.6
//Program to calculate the noise equivalent power and specific
//detectivity for the device
clear;
clc ;
close ;
//Given data
Id=8*10^(-9); //A - DARK CURRENT
eeta=0.55; //*100 - QUANTUM EFFICIENCY
Lambda=1.3*10^(-6); //metre - OPERATING WAVELENGTH
A=100*50*(10^(-... |
6d16294725da2e0e00e6f2715b68ea1771e6515f | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH10/EX10.17/ques15_16_17.sce | 315e1681326ca9d71ce75772244f1f4a3e8854d0 | [] | 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 | 540 | sce | ques15_16_17.sce | //error
//ques15,16,17
//yo=[1.98 1.30 1.05 1.30 -0.88 -.25 1.98]
//x0=[0 1/6 1/3 1/2 2/3 5/6 1]
disp('Practical harmonic analysis');
syms x T
xo=input('Input xo matrix (in factor of T) : ');
yo=input('Input yo matrix : ');
ao=2*sum(yo)/length(xo);
s=ao/2;
n=input('No of sin or cos term in expansion : ');
i... |
f52e7fd50b005e44db595074039daff410e65857 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH11/EX11.7/11_7.sce | a58dc95acbda450785feaa81a3b436eaefed6f5d | [] | 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,060 | sce | 11_7.sce | clear;
clc;
no=4;
Z=0;
z=[ 4 1 .5*%i 1; 4 2 .4*%i 1; 1 3 .2*%i 2; 2 3 .1*%i 4];
for(i=1:no)
mcase=z(i,4)
znew=z(i,3)
n1=real(z(i,1))
n2=real(z(i,2))
dim=max(size(Z))
select mcase
case 1 then
if Z(1,1)==0 then
dim=dim-1
end
... |
47388ed186ba74cb870bad09686400946f109cfd | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Siouan/dak.tst | efcd2669acac3f35e3b87b0027a9487780900912 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,688 | tst | dak.tst | héc̣a V;SG;1;PRS
héc̣a V;PL;2;PRS
héc̣a V;PL;3;PRS
héc̣a V;PL;1;PRS
héc̣a V;PL;1+INCL;PRS
héc̣a V;SG;3;PRS
héc̣a V;SG;2;PRS
ehnake V;PL;1;PRS
ehnake V;PL;3;PRS
ehnake V;SG;1;PRS
ehnake V;SG;3;PRS
ehnake V;PL;2;PRS
ehnake V;SG;2;PRS
ehnake V;PL;1+INCL;PRS
papsuŋ V;PL;2;PRS
papsuŋ V;SG;3;PRS
papsuŋ V;SG;2;PRS
papsuŋ V;SG... |
8acf29143944ecc780e5e5433093736a5ba80a6a | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.18/Ex12_18.sce | 594ee94c7a40ee6ae78a8a0643553b279a38dc93 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ex12_18.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 3.15
A=[2 2 1;1 3 1;1 2 2]
A(1,:)=A(1,:)*(1/2)
A(2,:)=A(2,:)-A(1,:)
A(3,:)=A(3,:)-A(1,:)
A(2,:)=A(2,:)*(1/2)
A(3,:)=A(3,:)-A(2,:)
A(3,:)=A(3,:)*(4/5)
A(2,:)=A(2,:)-(1/4)*A(3,:)
A(1,:)=A(1,:)-(1/2)*A(3,:)
... |
c86d9eaaded671d1575e72727dfc6ddc3618d5c0 | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /exp4.sce | 150d6ded0c383929be807c9556f6e6ed3f6b565d | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | sce | exp4.sce | clear
clf
clc;
a=input(' enter the horizontal reach ');
b=input(' enter the vertical reach ');
c=input(' enter the horizontal stroke ');
d=input(' enter the vertical stroke ');
r = a;
r1=c;
exec('cylinder.sce',-1)
[x,y,z]=cylinder(r,100) ;
for i=0:1:b-1,
mesh(x,y,z + i)
... |
1b3a253ccec4eb128e1a9a0f10ff1ede370d20e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH3/EX3.17/ex3_17.sce | bcf7831f437e77352b1b35601146b0712ac296fb | [] | 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 | 523 | sce | ex3_17.sce | // Exa 3.17 (Miss printed as example 3.14)
clc;
clear;
close;
format('v',5)
// Given data
Tj = 150;//Junction temperature in degree C
P_Cmax = 125;// in mW
T = 25;// free-air temperature in degree C
T1 = 0;// in degree C
curve = (Tj-T)/(P_Cmax - T1);// in degreeC/mW
T_A = 25;// Ambient temperature ... |
08c05bbc529ff563ccf5fda5e815437c00dab1aa | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/S4P_ImpulseResponse/link_channel_gen.sci | a301b1116d1dc86d90bd2e2f7937731747ef4350 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,391 | sci | link_channel_gen.sci | // Calculates impulse response for a system described by .s4p file and creates
// an impulse response file that can be used with "link_channel" CppSim primitive
//
// Adapted from Matlab code included in CppSim created by Prof. Vladimir Stojanovic of MIT
//
// IMPORTANT NOTE: The Touchstone file parser is not ... |
f6e6d2c56dbb1855586847433024a888add4ec73 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/graft2.tst | 319d29ed88db3804c0c31a54e97ace734349e1e1 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 110 | tst | graft2.tst | ## Second test of the graft feature
read <min.fi
rename grafted-min
read <min.fi
:4 graft grafted-min
write -
|
821302c0589c02a1b55fe2d4429677b2a3ee6b5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH7/EX7.1/Ex7_1.sce | e6e58455aa1562f99379ab552bb325ecc8a61d25 | [] | 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 | 375 | sce | Ex7_1.sce | //Example 7_1
clc();
clear;
//To calculate Critical angle numerical apperture and acceptance angle
n1=1.5
n2=1.47
phi=asin(n2/n1)*180/%pi //units in degrees
NA=sqrt(n1^2-n2^2)
accetangle=asin(NA)*180/%pi //units in degrees
printf("Critical angle=%.1f degrees",phi)
printf("\n Numerical apperture=%.2f",NA)
... |
09e0a3caf2b45810050b79da4d07230ea855929b | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp04.sce | 63bf541bf6d91f2003040ebe2cea767e60dbfe5d | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,698 | sce | bsp04.sce | clear
// Calculates the condition number, as well as the relative error, for a system of linear equations containing the 4x4 hilbert matrix and two vectors b = [1;1;1;1] and bs = [1;1;1;1.001];
// In the field of numerical analysis, the condition number of a function with respect to an argument measures how much the ... |
c3e0c982453da38140a8910f29b6904cc97f0eea | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_8/gaussseidel.sce | 4a0a07d70d59fe49dd401af6727065f891606e99 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | gaussseidel.sce | function z = gaussseidel(A, b, x0, Tol)
z = [x0']
error = 1
D = diag(diag(A))
L = -tril(A, -1)
U = -triu(A, 1)
Tgs = inv(D-L)*U
cgs = inv(D-L)*b
while error> Tol
x1 = Tgs*x0 + cgs
z = [z; x1']
error=norm(x1-x0)/norm(x1)
//disp(error, "error")
... |
8e47f4b4591de45caf12a77d6afe7d73dbaeba70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH20/EX20.3/20_3.sce | b6fba60d5a72f81964d2b1b8646bf4bcb82c8f98 | [] | 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 | 20_3.sce | //Find how much loss will occur in 300 hours
//Ex:20.3
clc;
clear;
close;
x1=0.1;//in mm
t1=25;//in hours
t2=300;//in hours
x2=x1*sqrt(t2/t1);//in mm
disp(x2,"Oxidation loss in 300 hours (in mm) = "); |
3a2ad3c651627279e96495ae27724ec4a7c3ce71 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /mattrace.sci | 15d48e6ee9058a2b1c6aec42c2b608e22336de10 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sci | mattrace.sci | //SCI2C: DEFAULT_PRECISION= FLOAT
function mattrace()
a = uint16([1,2,3;4,5,6;7,8,9]);
disp(trace(a));
endfunction
|
be578260e03c34eae4d977584dfd79d406fb4bfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.21/exa_1_21.sce | 26d8eebedd6833151fc7ce07fc2ed3ad0ba4304c | [] | 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 | 400 | sce | exa_1_21.sce | // Exa 1.21
clc;
clear;
close;
// Given data
format('v',7)
V_BE=0.7;// in volt
V_CC=18;// in volt
R_E=1.1;// in k ohm
R_C=1.8;// in k ohm
R_C=R_C*10^3;// in ohm
R1=4.7;// in k ohm
R2=5.6;// in k ohm
R3=6.8;// in k ohm
I_E1= (V_CC*R1/(R1+R2+R3)-V_BE)/R_E;// in mA
re_desh= 26/I_E1;// in ohm
re2_desh=re_de... |
030f8e6691590c7d59f02772b02363cee24ae165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH9/EX9.1/Ex9_1.sce | 37a1bec1875c987a8e3b7a97ab8229ed285c94fb | [] | 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 | 513 | sce | Ex9_1.sce | clc
w=0.1 //m
d=0.115 //m
l=4 //m
p=175 //kN/m
k=14*10^6 //Pa
E=200*10^9 //Pa
I=(0.1*(0.15)^3)
//deltav=(p/2*k)*derivative(x)*beta*exp^(betax)*(cos beta(x)+sin beta(x))
//vA=(p/2k)*(2-exp^(betaa)*cos betaa - exp^(betab)*cos betab)
beta=(k/(4*E*I/12))^(0.25)
disp(beta,"in meter inverse is= ")
vmax=(p... |
b713ef292b417c4750b64737b92a4a9562fb1e70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH15/EX15.1/ex15_1.sce | 7b97789f47abbe3ab0fb85dee0bdf3f57bbc7ccb | [] | 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 | 424 | sce | ex15_1.sce | //Chapter-15, Example 15.1, Page 492
//=============================================================================
clc
clear
//INPUT DATA
x=12;//in decimal form
//CALCULATIONS
y=dec2oct(x);//converting to octal form
mprintf("Thus octal number is");
disp(y);
//=================================END OF PROGRAM=... |
0c057b03c132bb3f239cbe4a9a2ded529143c862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH16/EX16.5/Exa16_5.sce | 544e7ea356c075c459193531dd1b3f2827b1bc23 | [] | 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,222 | sce | Exa16_5.sce | //Exa 16.3
clc;
clear;
close;
//given data :
disp("Given the following LP model :")
disp("maximize Z = 6*X1 + 8*X2");
disp("subject to");
disp("5*X1+10*X2 <= 60");
disp("4*X1+4*X2 <= 40");
disp("X1,X2 >= 0");
disp("The canonical form of the above LP problem is :");
disp("maximize Z = 6*X1 + 8*X2 + 0*S1 + 0*... |
18986ad081bb6fb0d68c85ba31f02cf1fcc887c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH10/EX10.11/EXP10_11.sce | e52156693c285adbd521f3556e83e5fd365c4b0c | [] | 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 | 902 | sce | EXP10_11.sce | clc;funcprot(0);//EXAMPLE 10.11
// Initialisation of Variables
W=123.2;.....//The molecular weight of zirconia (ZrO2)
W2=285.2;.....//The molecular weight of Yttyium
N1=0.91;....//No. of moles of Zirconia in YSZ
N2=0.09;.....//No. of moles of Yttria in YSZ
Wy=2000;....//Weight of YSZ in g
//CALCULATIONS
M1=N1*... |
d5570f4643794edca48af7da662e42c64e85596e | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH19/EX19.4/Example_19_4.sce | 2742b7af2ce99626a4b0f4a544f363fa1a0934cc | [] | 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,296 | sce | Example_19_4.sce | //clear//
clear;
clc;
//Example 19.4
//Given
//x(1) = n-pentane, x(2) = n-hexane, x(3) = n-heptane and x(4) = n-octane
//xF = feed, xD = distillate and xB = bottom
xF = [4 40 50 6]'./100 //[mole fraction]
P = 1; //[atm]
xD1(2) = 0.98;
xD1(3) = 0.01;
//Solution
//The keys are n-hexane and n-heptane, and ... |
8ac14388df94daa8381565714d2fd32e0b9669ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH7/EX7.16/ex7_16.sce | eb704f76a227eb6121e94b350bf7fe9c1289d252 | [] | 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 | 449 | sce | ex7_16.sce | // Exa 7.16
clc;
clear;
close;
format('v',6)
// Given data
Vt = 1;// in V
KnWbyL= 10*10^-3;// in A/V^2
V_DD = 5;// in V
V_D = 0.1;// in V
I_D = Vt*( (V_DD-Vt)*V_D - 1/2*KnWbyL );// in mA
R_D = (V_DD-V_D)/(I_D*10^-3);// in ohm
R_D= R_D*10^-3;// in k ohm
disp(R_D,"The value of R_D in k ohm is : ")
V_DS = ... |
57b3988ce4a54abdfc5ce123d66ceb214558a349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.29/Ex4_29.sce | db9759cd8404da5eaea80cf11416f9b24b3ec498 | [] | 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,041 | sce | Ex4_29.sce |
clc;
Ra=0.4;//armature resistance in ohm
Rf=200;//field circuit resistance in ohm
Vt=230;//terminal voltage for dc motor
If_1=1.1;//field current for dc generator at open circuit voltage of 210 V.
If_2=0.9;//field current for dc generator at open circuit voltage of 230 V.
Ia=24;//armature current for dc shunt m... |
5f2c0dd70bf0325cf610bdcc4c36d94a149a0bec | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/dsc.tst | 46203a5b338ca32e73d9ed9e915acd8f401ef235 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 281 | tst | dsc.tst | ## Test @dsc recursive-descendant operation
read <svnfodder.fi
index
set interactive
@dsc(:19) resolve expect all commmits following :19
@dsc(:27) resolve expect both commits on alternate branch and the last merge
@dsc(:23) resolve expect all master-branch commits :23 and after
|
a82c5d0e97b8f3158242766310483864ad7a9b76 | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/fir1.sci | e3ff152d510c843780470408b8fdaad2dc56dcf8 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sci | fir1.sci | function B = fir1(N, W, varargin)
funcprot(0);
rhs = argn(2)
if(rhs<2 | rhs>5)
error("Wrong number of input arguments.");
end
select(rhs)
case 2 then
B = callOctave("fir1", N, W);
case 3 then
B = callOctave("fir1", N, W, varargin(1));
case 4 then
B = callOctave("fir1", N, W, varargin(1), varargin(2... |
623df5db869caff82ae8f8c0b935a2b5d3e866ac | 479bc55441008ab2a71b6453ba9e53c68cf06b5e | /eng.sce | 490b513117a6eb7ea0520a12bd0c4349b87b3141 | [] | no_license | jeffersonmsb/involute-gear-plot | b46474940b66e0b20de5ed230b58ef5137dee750 | 7f24e0f0ce5b29e295fd0b189f80f24369dbfb19 | refs/heads/master | 2020-06-18T00:10:38.389146 | 2019-07-10T01:44:41 | 2019-07-10T01:44:41 | 196,107,227 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,371 | sce | eng.sce | //JEFFERSON BEZERRA
clear
clf()
axis=gca()
axis.thickness = 3
//--------------------------------------
//DADOS DE ENTRADA
m = 10 //módulo
z = 25 //número de dentes
alfa = 13 //ângulo de pressão em graus
xc = 0.05 //correção
n = 250 // número de pontos
//--------------------------------------
alfa = alfa * (%pi/180)
... |
9443c9949bd5fbdbe9f8861c47cfccf92bcd044a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH8/EX8.3/8_3.sce | 48987eb25a6bde4b34a50c8f34797c1c91ee5a1b | [] | 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 | 328 | sce | 8_3.sce | clc;
disp("Example 8.3")
d=0.025 // diameter in m
l=120 // length in m
density= 1000
Q=2.525e-3 // volumetric flow rate in m^3/s
U=4*Q/(%pi*d*d)
Re=density*U*d/mew
f=0.0014+(0.125/(Re^0.32))
delP=2*f*l*U*U*density/d
disp(delP,"Pressure head is ")
Power=delP*Q
disp(Power,"Power required to overcome friction... |
8224c58f937a286d4135aec9058801ac12d20ed7 | cc3bff70280a1ee19aaf881e852ab1d5a8a1014d | /Experiment No.7 - Generation of ASK modulation.sce | e329a77a99ed5a7ebc2b9864847f5acd9296160d | [] | no_license | imdeepak27/Digital-Communication-Systems | 814380444ff466fdbd693318fdc25815abd85347 | e35a99437a63bb023e2d6468ecfb92633d6049e5 | refs/heads/master | 2022-06-18T01:07:37.718079 | 2020-05-13T04:26:12 | 2020-05-13T04:26:12 | 263,524,581 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Experiment No.7 - Generation of ASK modulation.sce | clc;
clear all;
f1=input("Enter The Carrier Frequency : ");
f2=input("Enter The Frequency Of Pulse : ");
t=0:0.001:1;
x=cos(2*3.14*f1*t);
y=(squarewave(2*3.14*f2*t)+1)/2;
z=x.*y;
subplot(3,1,1);
plot2d(t,x);
subplot(3,1,2);
plot2d3(t,y);
subplot(3,1,3);
plot(t,z);
|
4e2297a364b6e96585e5bff7e8ff455db9cdd247 | 03d0f9c67fad13abbcf2ce0b810ca85025d12cef | /presentation scripts/bandit/Phase3_R71NoCue.sce | bd64d94dd490f55008c55fb8e393911768ea1ca4 | [] | no_license | Kwan-Lab/behavioral-rigs | 1f6f9719b02d957e2777c1b485ff8224e96c7d5d | 8e2ac0f9a36fc177a457d127474f8823d78c915b | refs/heads/master | 2022-06-21T13:03:35.870220 | 2022-06-06T23:55:01 | 2022-06-06T23:55:01 | 254,467,063 | 4 | 1 | null | 2022-06-06T23:55:03 | 2020-04-09T20:02:30 | Scilab | UTF-8 | Scilab | false | false | 10,806 | sce | Phase3_R71NoCue.sce | ## Reversal Rrobabilistic Reward Task Version 7/27/18
# Only Go cue updated compared to 5/30/2018 version
#
#NOTES: 70:10 Probability Reward - Reversal
# Switch Criteria: 10 Greedy Side for each side + Random
# 1 second no lick period before next trial
#
#MODIFICATIONS: fixed startcode decreased ... |
64b767e5628dda98114de0207b4cac5513165a2f | 2587236934174196597ea90b834c2cf87d5bdb0d | /embaralhador.sci | 952bfa5f5bdec324a7032ee632301c8a9866faa9 | [] | no_license | Stephaniebraga/SC2 | 386bb257d07e874e3a22595d90c1327ec26bf365 | 011331e5cad4a633f935495ff8e95151254a118a | refs/heads/master | 2021-01-19T04:56:19.429061 | 2015-08-04T12:39:35 | 2015-08-04T12:39:35 | 39,805,292 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sci | embaralhador.sci | //Embaralha um sinal
//Recebe: x - sinal a ser embaralhado
// firtD - Numero de atrasos do primeiro estágio
// secD - Numero de atrasos do primeiro estágio
//Retorna: T - Sinal embaralhado
function[T] = embaralhador(x, firstD, secD)
T=x(1,1:firstD);
nx=size(x,2);
//Embaralhador
i=firstD + 1;
while i< nx+1... |
10d987126b92fc17fee34181f9f015ffc4e426fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH7/EX7.8/Ex7_8.sce | 9b9038620fd6414acf9780497b2aac8469e171aa | [] | 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 | 850 | sce | Ex7_8.sce | //Caption:Find synchronous reactance per phase and voltage regulation
//Exa:7.8
clc;
clear;
close;
V_r=2300;//rated voltage (in Volts)
P_r=500*10^3;//rated power (in Volt-Amperes)
pf=0.8;//lagging
theta=-1*(acosd(0.8));
I_sc=150;//short circuit current (in Amperes)
V_anL=V_r/sqrt(3);//open-circuit phase volta... |
efb20a39e277657d8c608bac41ff5a1125b435f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/7_02data.sci | 9085b41e97c8b3905b80672f671c03b8a0cf169c | [] | 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 | sci | 7_02data.sci | Clwb=0.45;//lift coefficient for wing body
Cmac=-0.016;//moment coefficient about the aerodynamic center
dh=0.05;//distance between aerodynamic center and center of gravity |
4514d7f9bc625c7f1594d5e00d08a9f1a15be31b | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/ellip.sci | 264d9fe94e778d033fdaf4107b6c8039db7446a0 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,500 | sci | ellip.sci | function [a, b, c, d] = ellip (n, rp, rs, w, varargin)
//This function generates an elliptic or Cauer filter with rp dB of passband ripple and rs dB of stopband attenuation.
//Calling Sequence
//[a, b] = ellip (n, rp, rs, wp)
//[a, b] = ellip (n, rp, rs, wp, "high")
//[a, b] = ellip (n, rp, rs, [wl, wh])
//[a, b] = ell... |
29b019f6a9b0a2d8eced947286088d1520063ce9 | a45f93853fdb67523e71e3e7fb88c4298eae1ef7 | /Screens/Crew Select Screen.tst | a742ab3c8c1e1b64157e643a5b515fe191bb211d | [] | no_license | voarsh/Disney-Treasure-Planet-Battle-at-Procyon | 68192cbfdf8b823bc8399e3ea1e62d4976b74aed | 99cbbc70701ef6e8f9d95eba1052635de992910f | refs/heads/master | 2020-04-16T01:44:03.761947 | 2016-06-08T10:25:05 | 2016-06-08T10:25:05 | 38,745,932 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,158 | tst | Crew Select Screen.tst | ScreenName String 'Crew Select Screen'
ImplName String 'NULL SCREEN'
ElementChunkArray Int 16
ScreenElementType Int 0
ImplName String 'Assemble Fleet Backdrop'
TabIndex Int 8
Selectable Bool False
Enabled Bool True
ReferenceArea Rect( 0, 0, 800, 600 ) # left,top,right,bottom
ScreenElementType Int 1
ImplName String 'Op... |
1cee21cacffb366982bfd2063456d636edb64f9c | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH6/EX6.2.2/6_2_2.sce | c8bf848fd0f3c3b8e47ae971a0504d2ac51a3d24 | [] | 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 | 1,032 | sce | 6_2_2.sce | //CAPTION: Current-Voltage_Characteristics_Of_a_GaAs_MESFET
//chapter_no.-6, page_no.-244
//Example_no.6-2-2
clc;
//(a) Calculate_the_pinch-off_voltage
a=.1*(10^-6);//channel_height
Nd=8*(10^23);//Electron_Concetration
er=13.1;//relative_dielectrin_constant
e=8.854*(10^-12)*er;//medium_dielecric_consta... |
fcdc546fb7f407875239a15ac4c99ca8cf21aff4 | ff0f2f0553307972877bbd4f9acb9751263b2920 | /Sem2_Mathe/Labor_3/Aufgabe_6.sci | 0a740684c22199f2391c88adb6210857ee38790c | [] | no_license | 42ow0rm/UNI | 78b4bbc339cffb7124e5c8112827bec5a4799b7c | 56a5a1429a458544f5a33e3480f51c03849872f7 | refs/heads/master | 2020-03-31T22:34:19.230790 | 2019-01-03T20:00:27 | 2019-01-03T20:00:27 | 152,623,141 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sci | Aufgabe_6.sci | function [Z] = Aufgabe_6(x1, y1, x2, y2, x3, y3)
X = [x1^2 x1 1; x2^2 x2 1; x3^2 x3 1];
y = [y1; y2; y3];
//LGS lösen
Z = X\y;
endfunction
|
16b9d410392b1f87a2cb5a07264f0b5853795568 | 0cb3ef9e2be55e6924e840d829ad2ad1a9879f2d | /Hack CPU/test2.tst | 988b4bc2496600b8bdd86f639995ea4266a07aea | [] | no_license | jayakamal-geek/Hardware-Description-Language | 5cdbe71b9ebeb823afed69216763ccf9c7d81b6c | 3b75f43321b02ba05ff1c652942315ebb1d4d1bc | refs/heads/main | 2023-04-29T10:45:00.885647 | 2021-05-23T09:44:05 | 2021-05-23T09:44:05 | 370,012,967 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | tst | test2.tst | load Computer.hdl,
output-file test2.out,
output-list time%S1.4.1 reset%B2.1.2 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 RAM64[16]%D1.7.1 RAM64[17]%D1.7.1 RAM64[18]%D1.7.1;
// Load a program written in the Hack machine language.
// The program adds the two constants 2 and 3 and writes the result in RAM[0].
ROM32K load ... |
6ba9c6fa3aeaa99d7d35d451e0942740ed585d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH17/EX17.6/17_6.sce | 4fdd2f4651fcf516b480555628c3f603773c4081 | [] | 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 | 378 | sce | 17_6.sce | g = 1.4;R = 0.287; d = 1.4; // del
P0 = 1.4; // in bar
T0 = 280; T1 = T0;
cp = 1.005; A2 = 0.0013
P_ = P0/((g+1)/2)^(d/(d-1)) ; // P_ = P*
P1 = P0; Pb = 1; P2 = Pb;
T2 = T1*(P2/P1)^((d-1)/d);
V2 = sqrt(2*cp*(T1-T2)*1000);
m_dot = (A2*V2*P2*100)/(R*T2);
disp("kg/s",m_dot,"Mass flow rate is")
disp("The mass f... |
374dda9ded97775bcbf693658c3c2206ac6f5c37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH13/EX13.3/Example_13_3.sce | b321eb529a8959e81ef45b97894cb0af33380d2a | [] | 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 | 799 | sce | Example_13_3.sce | clc;
clear;
printf("\n Example 13.3\n");
T=310; //Temperature of moist air
T_w=300; //Wet bulb tempeature
L=2440e3; //Latent heat of vapourisation of water at 300 K
P=105e3; //Given total pressure
P_wo1=3.6e3; //Vapour pressure of water vapour at 300 K
P_wo2=6.33e3; //Vapour pressure of water vapour at 310 ... |
6c9aed901ba96484331fe661cb8f587faa6ddfd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.24/ex1_24.sce | d5cf500c3774271306d6d1e682697e364b508cae | [] | 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 | 329 | sce | ex1_24.sce | // Exa 1.24
clc;
clear;
close;
format('e',9)
// Given data
Na = 5 * 10^15;// in cm^-3
Nc = 2.8 * 10^19;// in cm^-3
E_CminusE_F = 0.215;// in eV
KT = 26* 10^-3;// in eV
// The concentration of donors atoms
Nd = Na + Nc * (%e^( -E_CminusE_F/KT ));// in cm^-3
disp(Nd,"The concentration of donors atoms in cm^-... |
22eb0a86f3eb460bbc9eddf44403fcd77145688d | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_Ef.sci | 19786e96d0dbaf441b3beb7dd88ad11e55f87315 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,854 | sci | PIL_Ef.sci | // **** Purpose ****
// calculate the chemcial potential of a given energy spectrum
// **** Variables ****
// [E_level]: n x 1, real
// <= the full energy spectrum of discrete DOS
// [e_tot]: 1x1, integer
// <= the total electrons
// [temp]: 1x1, real > 0
// <= the temperature
// [accuracy]: 1x1, real >0, default=10^-... |
53107502ff3b0232d8ef5ab704dc527ae4ccf712 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/Self_tuning_controller/ConventionalTuning_Vikas/PIControllerFandisturbance/scilabread.sce | 1c8ef2c645de613b71066509a55257f9569695d3 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 4,339 | sce | scilabread.sce | 0 0 100 36.50 1402686373698 1402686416875 1402686416893 1402686373778 0.10000E+01
1 80 50 36.70 1402686501117 1402686544310 1402686544327 1402686501208 0.10000E+01
2 0 50 37.40 1402686507252 1402686550427 1402686550444 1402686507335 0.20000E+01
3 0 50 37.60 1402686507724 1402686550924 1402686550941 1402686507827 0.3000... |
b0f25bccd4912763662c3b29555e495f690fc89f | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH8/EX8.6/8_6.sce | 8ae109e2054a92f654a67014ebb2ac7a12a2ed7d | [] | 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 | 414 | sce | 8_6.sce | T1 = 353; T2 = 278;
V2 = 2; V1 = 1;
P0 = 100; P1 = 500;
R = 0.287; cv = 0.718;
m = 2;
S = integrate('(m*cv)/T','T',T1,T2) + integrate('(m*R)/V','V',V1,V2); // S = S1-S2
U = m*cv*(T1-T2);
Wmax = U-(T2*(-S));
V1_ = (m*R*T1)/P1;
CA = Wmax-P0*(V1_); // Change in availability
I = T2*S;
disp("kJ",Wmax,"The maximu... |
ff6e10918c293d35d131966479211f52813afd7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH5/EX5.8w/5_8w.sce | c5e54c2463168f8936203e14b548e5d98a1275f3 | [] | 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 | 602 | sce | 5_8w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 5.8w
//calculation of the maximum acceleration of the man for safe climbing
//given data
m=60//mass(in kg) of the man
theta=30//angle(in degree) made by the rope with ground
fgmax=360//maximum force(in N0 that can be... |
28b39c4680472da337be5be08ec3138bef6f6146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH5/EX5.12/Ex5_12.sce | 25da0a44ec72ad23965c5ba73499b34531d0bba4 | [] | 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 | 505 | sce | Ex5_12.sce | //EX5_12 PG-5.28
clc
disp("Refer to the figure-5.25 shown")
Icbo1=2e-6;//at a temperature T1=25 degree celsius
Vbb=5;
Vbe=0.1
disp("Icbo doubles for every 10 degree Celsius")
T1=25;//temperature in degree celsius
T2=80;//temperature in degree celsius
Icbo2=Icbo1*2^((T2-T1)/10);//at a temperature T2=80 degree c... |
a55b79f5bee8d1c79488f2bbb307b2fa5ae40cfb | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/macros/Knn.sci | 23b347a778dd45425439f135dbc869bf60c8e44b | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,181 | sci | Knn.sci | // Macro for K Nearest neighbours classification -- Scilab
// Subroutine to get distance between two points
function dist = getDistance(point1, point2)
n1 = length(point1)
dist = 0
for i = 1:n1
dist = dist + (point1(i)-point2(i))^2;
end
dist = sqrt(dist);
endfunction
// Function to return flags for category... |
f5171672cd042d9004be1142839e17f0e2374380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.13/Ex5_13.sce | ff89e60bb6bfba1e9f54d78b6f8a36a03932a83e | [] | 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 | Ex5_13.sce | //Example 5_13
clc;
clear;
close;
format('e',9);
//given data :
Ln=0.1;//cm
Lp=0.1;//cm
e=1.6*10^-19;//C/electron
//For Si
ni=1.5*10^10;//m^-3
sigma_p=0.01;//(ohm-cm)^-1
sigma_n=0.01;//(ohm-cm)^-1
mu_n=1300;//cm^2/V-s//For Si
mu_p=500;//cm^2/V-s//For Ge
b=mu_n/mu_p;//unitless
sigma_i=(mu_n+mu_p)*ni*e;/... |
ad3fd2f56374c07a7bcc1e6f5b2c4dfd30965816 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/do_SaveAs.sci | b50e054eb26757c7b685c4da5afc4a4c4817dc37 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 862 | sci | do_SaveAs.sci | function [scs_m,edited]=do_SaveAs()
//
if pal_mode then scs_m=do_purge(scs_m),end
fname=xgetfile('*.cos')
if fname==emptystr() then return,end
[path,name,ext]=splitfilepath(fname)
select ext
case 'cos' then
ok=%t
else
message('Only *.cos binary files allowed');
return
end
// open the selected file
errcatch(240... |
afe4fbd741946d556d367fb9fd49558f3bb7b15c | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52_sac_cuda/dev/vac4.52mkg_24_06_2010/scilab/mygetpictfunc.sci | a461461e22a0dc15dd96d918fb75d649a73ffdab | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,041 | sci | mygetpictfunc.sci | function []=mygetpictfunc()
// Display mode
//mode(0);
// Display warning for floating point exception
//ieee(1);
labindex=1;
numlabs=1;
nr=100;
ne=400+8;
nnepp=ne/numlabs;
startne=400+(labindex-1)*nnepp;
if labindex==numlabs
finishne=ne;
else
finishne=startne+nnepp;
end... |
d597fb40c6759705d73c01ec60935214c8d34806 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.3/example8_3.sce | 5c5a2b820ca9f6c5cec31d3b9c9bf6afcbf0cedf | [] | 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 | example8_3.sce | //clc()
Pdryair = 101.3;//kPa
Pacetone = 16.82;//kPa
Nratio = Pacetone / (Pdryair - Pacetone);
mratio = Nratio * 58.048 / 29;// ( Macetone = 58.048, Mair = 29 )
macetone = 5;//kg ( given )
mdryair = macetone / mratio;
disp("kg",mdryair,"Minimum air required = ") |
c9e4712364ef91129180f7ad8dc3c3c8da2fc10c | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.15.a/data8_15.sci | 0c1000cf8f3bbf91022f5a74ba296a451678df80 | [] | 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 | 275 | sci | data8_15.sci |
//(Welded and Riveted Joints) Example 8.15
//Refer Fig.8.36 on page 293
//Diameter of the beam D (mm)
D = 50
//Eccentric load acting on the beam P (kN)
P = 10
//Permissible shear stress in the welds tau (N/mm2)
tau = 100
//Force eccentricity value e (mm)
e = 200
|
e8862ee2f7ea923fdf71bb949da6e9e0e886644f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH10/EX10.15/Exa10_15.sce | 1f5dfead4e73d98d092f9fcea488a794c5f290b3 | [] | 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 | 643 | sce | Exa10_15.sce | //Exa 10.15
clc;
clear;
close;
//Given Data :
format('v',9);
f=50;//in Hz
V=240;//in Volts
TotalLoad=200+80;//in KW
cosfi_1=0.8;//unitless
tanfi_1=tand(acosd(cosfi_1));
cosfi_2=0.9;//unitless
tanfi_2=tand(acosd(cosfi_2));
//(i)
OA=200;//in KW
OD=280;//in KW
CM=OA*tanfi_1-OD*tanfi_2;//in KVAR
disp(CM,"L... |
8be6aa3af94b02b6e05bcc824a30efde0e1739dc | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/58.tst | 2f3c18a121918e063ca77b5662c09f1c717013cf | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23 | tst | 58.tst | int f(float x, int y);
|
d789e8b7cbf6e3c387bb40c6d7390fe2a63bfe51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.2/ex25_2.sce | 924ec41fef93ae6825bd8d128a06b64796825dba | [] | 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 | 292 | sce | ex25_2.sce | clc;
a=238.03; //atomic mass
m=75; //no. of moles
mass=m*a; //calculating mass of U
n=6.023*10^23; //avogadro's no.
no=m*n; //calculating no. of atoms
disp(mass,"Mass of U in gram = "); //displaying result
disp(no,"No. of atoms = "); //displaying result |
fa8bcd6ffbd1c51c5e5a66255c66234197a55823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH2/EX2.14/2Ex14.sce | ce46810cffe7870ab89d27bb05e9db0843426db1 | [] | 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 | 191 | sce | 2Ex14.sce | //chapter 2 Ex 14
clc;
clear;
close;
n1=62; n2=132; n3=237;
V=int32([n2-n1 n3-n2 n3-n1]); //since it leaves same reminder
Hcf=gcd(V);
mprintf("The largest such number is %d.",Hcf);
|
357d9e21b32e8ef0340f612c26c47522540878e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH10/EX10.1/example_10_1.sce | dcd7c8130a8d2cf9e72f8131251a6c18d1249544 | [] | 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 | 300 | sce | example_10_1.sce | //example 10.1
clc;
clear;
//c= input('Enter the period of the waveform at C in micro seconds : ');
c=24;// given period of waveform
clk= c/8;
clkf = 1/(clk*10^-3);
printf('The clock period is %f micro seconds \n',clk);//displaying the results
printf('The clock frequenc must be %f KHz ', clkf);
|
b5ad56675405dbf11170cd4f39956904f9edb978 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH8/EX8.6/Exa8_6.sce | 21dcfacedbdb631fd400edb3d72e57eebf8d86e0 | [] | 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 | 366 | sce | Exa8_6.sce | //Exa 8.6
clc;
clear;
close;
//given data
CN=0.4;//in uF
V=33;//in KV
VP=V/sqrt(3);//in KV
f=25;//in Hz
//Capacitance between 2 cores for 15 Km length
CN_1=15*CN;//in uF
//Capacitance of each core to neutral
CN=2*CN_1;//in uF
//Charging current per phase
I=2*%pi*f*VP*1000*CN*10^-6;//in Ampere
disp(round(... |
ec50226707fd18129561dd9e0fea3052673215b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH5/EX5.6/Chapter5_example6.sce | bfbd98bb672ca8bbf55c4e630cc603c56b8310c9 | [] | 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 | 398 | sce | Chapter5_example6.sce | clc
clear
//Input data
T=[500,2000]//Change in temperature in K
x=[11.515,-172,1530]//Cp=11.515-172/sqrt(T)+1530/T in kcal/kg mole.K
mO2=32//Molecular weight of oxygen
//Calculations
function y=f(T),y=(x(1)+(x(2)/sqrt(T))+(x(3)/T)),endfunction
I=-intg(T(2),T(1),f)//Integration
dh=(I/mO2)//Change in enthalpy ... |
aa5317f85fb3435035b2560bf84f2bfc8dfd6ad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2747/CH14/EX14.3/Ex14_3.sce | adf36df76d8130eb9912fe603e730850dd66115c | [] | 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 | 192 | sce | Ex14_3.sce | clc
clear
//Initialization of variables
k=5
//calculations
x=poly(0,"x")
p=x^2 *(k-x) -k^2 *(1-x)^2 *(3-x)
vec=roots(p)
x=vec(3)
//results
printf("degree of dissociation = %.2f",x)
|
3f9e0c4621f3650bca034426d4b517409d9d0bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH5/EX5.7/Ex5_7.sce | ee2e20e3f09613da2e8a8cfa0862fe66d05a0032 | [] | 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 | 541 | sce | Ex5_7.sce | clc
clear
printf("Example 5.7 | Page number 128 \n\n");
//Find mass flow rate of cooling water
mh = 9.45 // kg/s // flow rate of steam
h_h2 = 140 // kJ/kg // enthalpy of condensate
h_h1 = 2570 // kJ/kg // inlet enthalpy of steam
t1 = 25 // °C //inlet temperature of cooling water
t2 = 36 // °C //exit temperature... |
2031af5540756a7571eb6dbbe551dea75c3da004 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.78/Ex78.sce | 463db1427afa2927d1a2fb99c1cabe2a1e4e5067 | [] | 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 | 541 | sce | Ex78.sce | //Ex:78
clc;
clear;
close;
R=6378;// Radius of earth in km
R_o=42164;//orbital radius in km
A1=(atan(tan(20*%pi/180)/(sin(60*%pi/180))))*(180/%pi);// in degree
A=180-A1;//Azimuth angle in degree
x_sl=20*%pi/180;//Diff b/t satellite longitude & earth station longitude in radians
x_l=60*%pi/180;;//earth station ... |
4496caf576574d22a54def34b2929b13107ad23a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH11/EX11.2/Ex11_2.sce | e0d4b582bf801a37ae33ade0cb4802632665efe1 | [] | 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 | 649 | sce | Ex11_2.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 11.1
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
L=1.25e3;//length of the link in m
delta_lamda=45;//change in wavelength in nanometers
lamda=850;//perating wavelength of fibre in ... |
f8ecab66d9e9ae54ccaf2442013d6d8dcd6c3a3d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_exist.sci | e94199aa1a36c909362340e7ea3dbec93e07363d | [
"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 | 191 | sci | sci_exist.sci | function [stk,txt,top]=sci_exist()
// Copyright INRIA
txt=[]
set_infos('Not enough information using mtlb_exist instead of exists',1)
stk=list('mtlb_exist('+stk(top)(1)+')','0','1','1','1')
|
52d9a5b9236273bfeb338121ca851df753616697 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/index.tst | 9a0cedbbb6496935a8c288d58c6e34358052f864 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,491 | tst | index.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
618006aa32fd09a50ed5f191325a199c217c2bc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH2/EX2.13/2_13.sce | 9253267f62b478551602ad43eba31cbb68cee9f0 | [] | 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 | 706 | sce | 2_13.sce | //To determine the instantaneous demands and the average demand
//Page 84
clc;
clear;
Kh=7.2; //Meter constant
Kr1=32; //Revolutions of the disk in the first reading
Kr2=27; //Revolutions of the disk in the second reading
T1=59; //Time interval for revolutions of disks for the first reading
T2=40; //T... |
5bfa8fe511cb7fa1d2701bf3d7a7f22805e36378 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH4/EX4.4/Ex4_4.sce | 055b11a71566a3729a938123817db61ec591fc61 | [] | 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 | Ex4_4.sce | clc
//initialization of variables
clear
C=1000/3 //kg/cm^2
sigma_x=2*C
sigma_y=4*C
tau_xy=4*C
sigma_0=4*C
sigma_1=3+C*sqrt(2)
sigma_2=3-C*sqrt(2)
sigma_3=0
tau_oct=1/3*sqrt((sigma_1-sigma_2)^2+(sigma_2-sigma_3)^2+(sigma_3-sigma_1)^2)
tau_max=sigma_1/2
taU=1.885*C
tau_y=2*C
printf('Actual tau is %.3f',taU... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.