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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e6b81666eb2117e3e50b420a2a2f7cedde39072a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH23/EX23.16/Ex23_16.sce | 588fddc7f724d07b398306e020cefbb945d1a10b | [] | 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 | 415 | sce | Ex23_16.sce |
R2=1.1//rotor resistance per phase
//at 60 Hz supply
f=60//frequency of supply
P=6//no. of poles
Ns1=120*f/P//synchronous speed
Nr=1000//speed of rotor
s_m1=(Ns1-Nr)/Ns1//slip at maximum torque
X2=R2/s_m1
L2=X2/(2*%pi*60)
//at 50 Hz supply
X2=2*%pi*50*L2
s_m2=R2/X2//slip at maximum torque
Ns2=120*50/6//sy... |
8354694db2daea4d4cfaa693f2839be59caee779 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH1/EX1.1/1_1.sce | 2a041eb9521d7a943bbd7842e6d316b258a548e4 | [] | 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 | 257 | sce | 1_1.sce | clc
//initialisation of variables
clear
q= 26.45 //coloumbs
e= 2.432 //volts
//CALCULATIONS
Q1= q*e
Q2= Q1*1.0002*10^7
//RESULTS
printf ('Energy expenditure in joules = %.2f int.joules',Q1)
printf ('\n Energy expenditure in ergs = %.2e ergs',Q2)
|
59accd6e407f756a6146b4071f7c0b48c0d06a93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH4/EX4.3/4_3.sce | 57cdf0b3f927cb565151f4c4ea84c9e13f8ae6c6 | [] | 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 | 727 | sce | 4_3.sce | // Reading on ammeters when their shunts are interchanged
clc;
clear;
I=10;
Ra=1000;
Rsa=0.02;
Rb=1500;
Rsb=0.01;
deff('x=cur(y,z)','x=I*z/y')
Ia1=cur(Ra,Rsa); // Initial Current in meter A
Ia2=cur(Ra,Rsb); // Changed Current in meter A
Ib1=cur(Rb,Rsb); // Initial Current in meter B
Ib2=cur(Rb,R... |
296d2b88ac948e9ca541018abea05c3b3e791bc7 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Lurkins aim trainer hard.sce | d978960f4ebc550a512010835e9b09547df0d4ef | [] | 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 | 48,589 | sce | Lurkins aim trainer hard.sce | Name=Lurkins aim trainer hard
PlayerCharacters=A
BotCharacters=fortnite w keyer.bot;fortnite w keyer.bot;Bot Profile.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=A
AddedBots=fortnite w keyer.bot;fortnite w keyer.bot;Bot Profile.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=0
BotTeams=0;0;0
MapNa... |
ab3f3329a5aef86063bd49a485a9051e850056d1 | dfef7a758832217dc909a06be65c696a413f48b8 | /CC-Switch-Behavioral_Youcai_eyetracker.sce | 46602d99676fcbb12aba2f887e62e22fb8de179f | [] | no_license | michaeladlermke/ABA_EXPERIMENT | 84fe73bb8c2f8ef4e5e43b955bc1eea4a46c78c1 | 79943a3f7135bfc9efcd5b20499c85ae77e2e376 | refs/heads/master | 2021-01-01T03:41:17.271524 | 2016-05-01T15:17:04 | 2016-05-01T15:26:10 | 56,557,994 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,732 | sce | CC-Switch-Behavioral_Youcai_eyetracker.sce | scenario = "CC-Switch-Behavioral_Youcai_eyetracker";
$Version = "Youcai_1.0";
$eye_tracker = "true";
$gray_calibration_screen = "125, 125, 125"; # the default_background_color for calibration screen
$TR = 3000;
# scenario_type = fMRI_emulation;
scan_period = $TR;
$pulse_button = 1;
active_buttons = 3;
button_code... |
5c42a01eb942e21cc178f8b96951dd70b8cb0d5a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.10_6.tst | dca437bf4f65b3e18474636aa893e75f1f776cf1 | [] | 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 | 3,835 | tst | bow.10_6.tst | 10 1098:0.16666666666666666 1099:1.0
10 17:0.1111111111111111 18:1.0 21:0.07142857142857142 32:1.0 868:0.5
10 13:0.3333333333333333 32:1.0 40:0.25 48:1.0 59:1.0 63:1.0 98:2.0 104:1.0 116:0.09090909090909091 221:0.5 280:1.0 368:0.5 381:1.0 414:1.0 423:1.0 647:1.0 1045:0.5 1106:1.0 1108:1.0 1376:1.0 1436:1.0 1445:1.0
10 ... |
9b937d145cbdb83353628bc64867fb640c7eb1ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH21/EX21.3/example21_3.sce | ab1cbcf69c44a3009ec48e48850b73408b1aeee8 | [] | 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 | 230 | sce | example21_3.sce | v=20;
disp("Part a");
d=0.5*10^(-3);
e=v/d;
disp("the electric field intensity (in kV/m) is"); disp(e*10^(-3));
disp("Part b");
d1=0.25*10^(-3);
e1=v/d1;
disp("the electric field intensity (in kV/m) is"); disp(e1*10^(-3)); |
0777b35ce5e96eb808255e7abd500677069c852a | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/specgram.sci | 3af24f10d8c865aec2290ab08124da50ffa4d1df | [] | 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 | 506 | sci | specgram.sci | function [S_r, f_r, t_r] = specgram(x,n,fs,window,overlap)
funcprot(0);
rhs = argn(2)
if(rhs<1 | rhs>5)
error("Wrong number of input arguments.")
end
select(rhs)
case 1 then
[S_r, f_r, t_r] = callOctave("specgram",x)
case 2 then
[S_r, f_r, t_r] = callOctave("specgram",x,n)
case 3 then
[S_r, f_r, t_r] = callOct... |
e7e527a3f5fb17d6c01c5823aae228efe6d30620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.2/12_2.sce | 051303b2cc7489279b43bb9b9e6f17a34d7c61d0 | [] | 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 | 658 | sce | 12_2.sce | //To find addendum
clc
//Given:
T=40, t=T
phi=20 //degrees
m=6 //mm
//Solution:
//Calculating the circular pitch
pc=%pi*m //mm
//Calculating the length of arc of contact
Lac=1.75*pc //Length of arc of contact, mm
//Calculating the length of path of contact
Lpc=Lac*cosd(phi) //Length of path of contact, mm
... |
4f8bba029a95a30e04ac64255df07e3550177a3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH11/EX11.6/Ex11_6.sce | f91afb86d6ac34f51dea41c5544b95aae3c89959 | [] | 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 | 764 | sce | Ex11_6.sce |
clc
clear
//Input data
N=16000//Speed in rpm
T1=17+273//Temperature in K
rp=4//Pressure ratio
in=82//Isentropic efficiency in percent
s=0.85//Slip factor
a=20//Angle in degrees
d=200//Diameter in mm
V=120//Velocity in m/s
cp=1.005//Specific heat in kJ/kg.K
g=1.4//Ratio of specific heats
//Calculations
... |
b9e6b08a2831b628fbc9a9a62acab1ca8052e173 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH5/EX5.7/ex5_7.sce | f4716bda14ec141eb5ab16b6785c54136788d57e | [] | 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 | ex5_7.sce | //Find the value of Id
clear;
clc;
//soltion
//given
Vt=1.5;//V //threshold voltage
Id=2*10^-3;//A
Vgs=3;//V //gate supply
Vds=5;//V //saturation voltage
Vdsm=Vgs-Vt; //minimum voltage required to pinch off
// Vds > Vdsm therefore the device is in saturation region
// Calculating K
K... |
5d6bc02f6ffb41c16252adb802cb60c9f2d8fb1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH2/EX2.8/ex2_8.sce | 20af6caf1695b5bbb05eb2ab312e403a6a7a987e | [] | 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 | 397 | sce | ex2_8.sce | clc;
disp("Example 2.8");
Y=1.41; //Young's Modulus.
R=1.293*10^-3; //Density of air in g/centimetre cube.
P=76*13.6*980; //atmospheric pressure in dyne/cm square.
V=sqrt((Y*P)/R); //calculating speed using young's modulus.
disp(V,"Speed of ultrasonic wave in air at n.t.p. in cm/sec = "); ... |
59c3731200c09e0bfc8d468c5f7103f46dd5e250 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/overload_arrays_runme.sci | 4d9a8b035e4b54939a96696708dca0ee55786e7f | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 1,363 | sci | overload_arrays_runme.sci | exec("swigtest.start", -1);
// Functions
checkequal(foo(int32([1, 2, 3])), "foo:int[SIZE]", "foo(int[SIZE])");
checkequal(foo([1, 2, 3]), "foo:double[SIZE]", "foo(double[SIZE])");
checkequal(foo(["1" "2" "3"]), "foo:char *[SIZE]", "foo(char *[SIZE])");
// Class methods
s = new_Spam();
checkequal(Spam_foo(s, int32([... |
424d2126ecbea9a14c44ac67b3f131feb1438dc5 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_Movie/test_skyview_1.SCI | b90a06fd0abbf5ca9d2ff1b1b17c86a6ef7b51cb | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 683 | sci | test_skyview_1.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptFilePath+"\_SkyViewTools.sci");
mydata=map;
mydata.longit=(3+43/60.0)/180*Pi;
mydata.lattit=(51+3/60.0)/180*Pi;
InitSkyView(ref(mydata));
SetViewPosition(0,deg2rad(51));
root.time=time(2011,6... |
2297e586dbf4f71055d1b4e475a90411aef2df89 | 3267dfd638e022b81b44b942a9de44ac896514a1 | /formula.sci | 9605da0d7ac71a3dd7c75d55475fc9abdb584093 | [] | no_license | triv82564/Mass-Transfer-Lab | be5acd413972311bb3adba7e8fc9690a3f616763 | 2323baeaf390ac02e2a95cb0605029dd3b48cc8a | refs/heads/master | 2021-01-01T16:53:08.288071 | 2017-07-21T12:09:17 | 2017-07-21T12:09:17 | 97,940,517 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sci | formula.sci | function y1=formula(u1);
y1=-5169*u1*u1+21240*u1+6135;
disp(y1);
endfunction
|
d2241849583ee8f86aad276243084dc4d807e84a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH6/EX6.11/Ex6_11.sce | b1a8b1bc51193fe7dcde1484383f7c85d3729568 | [] | 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 | 644 | sce | Ex6_11.sce | // Example 6_11
clc;funcprot(0);
// Given data
// From example 6.10
P_1=140;// The steam pressure at turbine inlet in psia
T_1=1000;// The temperature at turbine inlet in °F
P_2=2;// The steam pressure at turbine exit in psia
m=4;// lbm/sec
W_s=1748;// Btu/sec
n_t=0.80;// The isentropic efficiency of the turbi... |
ee409a627ce0b6b672a9d0e08e3955ff88ebf87c | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH13/EX13.5/Example_13_5.sce | 72f3a8d681d350f7074112404bc945755be6793f | [] | 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 | 232 | sce | Example_13_5.sce | //Chemical Engineering Thermodynamics
//Chapter 13
//Thermodynamics in Phase Equilibria
//Example 13.5
clear;
clc;
//Given
//The given example is a theoretical problem and does not contain any numerical computation
//end |
56e90d168c41e6f39898c78128d29f85ff08e67c | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.18/11_18.sce | df613a82bd5c0f7d2997cad789d3d7b7ce25a661 | [] | 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,116 | sce | 11_18.sce | //pathname=get_absolute_file_path('11.18.sce')
//filename=pathname+filesep()+'11.18-data.sci'
//exec(filename)
//Rate at which steam is generated(in kg/hr):
r=5000
//Pressure of steam(in bar):
p=20
//Dryness fraction:
x=0.98
//Temperature of feed water(in C):
T=60
//Rate at which coal is supplied(in kg/hr):
... |
779e5cc8e4a6a674c9f325d8f16fbea330389368 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH11/EX11.3/Ex11_3.sce | 9dbe87702ee4af237e4cf540d494b4dedfb7d74d | [] | 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 | Ex11_3.sce | clear
//
//
//
//Variable declaration
H=6.5*10^-4; //magnetizing force(amp/m)
M=1.4; //magnetic field(T)
//Calculation
chi=M/H;
mewr=1+chi; //relative permeability
//Result
printf("\n relative permeability is %0.3f ",mewr)
printf("\n answer in the book is wrong")
|
9a2ef4deeb47e2bd1aea6cece1a603be471716cc | b53bd365307e1e13cd00473cc373c6ba8df1ba7f | /src/parametricStudies/test_config_files/ICE/naturalConvection_cavity_dx.tst | 805e9ce7ae83ade2c09adff2ad84707b000fff98 | [
"MIT"
] | permissive | Uintah/Uintah | b7c55757cac1f919ac70fa5ffb1d6ea421b2069d | 5678018f6d237faad6aff1c0bcc4791d6af2f61e | refs/heads/master | 2023-09-01T05:27:36.000893 | 2023-07-27T17:18:28 | 2023-07-27T17:18:28 | 206,165,649 | 47 | 25 | null | 2022-10-17T19:14:44 | 2019-09-03T20:22:50 | C++ | UTF-8 | Scilab | false | false | 3,728 | tst | naturalConvection_cavity_dx.tst | <?xml version="1.0" encoding="ISO-8859-1"?>
<!--______________________________________________________________________
#
# Parametric study to reproduce the results in the reference.
# The domain length was computed using the script:
# cavityFlowParameters.m
#
# Note you have to let the problems run for a long time... |
47e97e1731cafb05e06c3e2f8c483941fbe1be9f | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH4/EX4.1/Ex4_1.sce | 0e6accb6fe7d0ed6b59f8cf9abfc175fb052d51f | [] | 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 | 542 | sce | Ex4_1.sce | //Variable Declaration
x1 = [1,2,3,4] // Domain of f(x)
x2 = [0,1,2,3,4] // Domain of h(x)
// calculations
f = (x1-2)/2.0 // list of values of f(x)
h = (x2^2)/25.0 // list of values of h(x)
//Results
if(sum(f) ~= 1 ) then
printf ( "f(x) can not serve as p... |
491babcaf540373c538c60d5bdebb9df1a536385 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.28/ex4_28.sce | 75a41ab1f3e53fbd2d1403b40b3641c57e7684d0 | [] | 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 | ex4_28.sce | // Exa 4.28
clc;
clear;
close;
// Given data
V_B = 4;// in V
V_BE = 0.7;// in V
R_E = 1.2;// in kohm
R_E= R_E*10^3;// in ohm
V_E = V_B-V_BE;// in V
R_C = 2.2;// in kohm
R_C= R_C*10^3;// in ohm
R_B= 330;// in kohm
R_B= R_B*10^3;// in ohm
bita = 180;
I_B = 7.11 * 10^-6;// in A
V_CC = 18;// in V
disp("Par... |
3700fb42d31aa6cf4e82c0d42f9d9b9ec61261cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.10/ex4_10.sce | 3c250582ada8ed3003ccafdda9c0d98910d958fe | [] | 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 | 324 | sce | ex4_10.sce | //Example 4.10
clc
//i=integer type
//x=float type
//c=character type
printf("Enter values for i , x and c in respective order");
printf("\n [Enter values in single line seperated by spaces]) ");
[n,i, x,c]=mscanf("%3d %5f %c");
disp(i,"i = ");
disp(x,"x = ");
disp(c," c = "... |
249d0acd751e3d1c9e06eff1012569d098230574 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH6/EX6.5/6_5.sce | 6701b2e19e7194e631736716fdcbce0b90d268b2 | [] | 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 | 240 | sce | 6_5.sce | clc;
nH=0.5;//kmole
m_O=32;
VH!VO=2;
x=m_O*nH/VH!VO;
disp("mass of oxygen required is:");
disp("kg",x)
nO=x/m_O;
n=nH+nO;
R_=8.3145;
T=288;//K
p=1;//bar
V=n*R_*T*10^3/(p*10^5);
disp("Volume of container is:");
disp("m^3",V);
|
b1e03a68465a2275b1ac83e07185268cd0bd87d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.4/example_9_4.sce | 4092e3bf64123ffa3092d65dd9be90bd0441e400 | [] | 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 | sce | example_9_4.sce | s=%s
sys=syslin('c',(k)/(s*(s+2)))
evans(sys)
printf("there are 2 branches approaching infinity") |
4dd7bc4bbd073bc0ed95776be1752261b074fec2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH3/EX3.2/Example3_2.sce | 1892e8982481ccb861628d5fabb45c9cf2858352 | [] | 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 | 415 | sce | Example3_2.sce | //Example 3.2.
format(6)
me=1000*9.1*10^-31
disp(me,"Mass of the charged particle(kg) = 1000 times the mass of an electron =")
disp("The charge of the partical = 1.6*10^-19 C")
q=1.6*10^-19 //charge of the particle
V=1000 //potential difference
format(8)
v=sqrt(2*q*V/me)
disp(v,"Therefore, The velocity, v(m/s)... |
5c4994d399d8b3519e509e5b50c4d73479b04a12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH20/EX20.2/Ex20_2.sce | 794bdc64ccbc10a01da3a9f81f9cff9fccc30163 | [] | 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 | 118 | sce | Ex20_2.sce | clear
//Given
I2=150
I1=75.0
E1=20
//Calculation
E2=(I2*E1)/I1
//Result
printf("\n Illumination is %0.3f lux", E2)
|
82577132ecd6432c8b3139a0f7ad7bf0e76f3bfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH4/EX4.12/Ex4_12.sce | dd61e285a58df569b44b97b09029b22e45b714bf | [] | 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 | 971 | sce | Ex4_12.sce | // Chapter 4 Example 12
//==============================================================================
clc;
clear;
// input data
l = 0.1*10^-9; // length of one dimensional box
h = 6.625*10^-34 // plancks constant in Jsec
m = 9.11*10^-31 // mass of electron in Kg
n ... |
8a913095d337d7251e1fdd792166507af50ca71b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH8/EX8.23/Ex8_23.sce | ec9cd79f0a6a0828fadba5de89aeebf12cb33570 | [] | 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 | 880 | sce | Ex8_23.sce | //page 301
//Example 8.23
clc;
clear;
close;
disp('Linear transformation from V into W i.e. T is:');
disp('T(x1,x2,x3) = ');
disp('0 -x3 x2');
disp('x3 0 -x1');
disp('-x2 x1 0');
disp('Then, T maps V onto W');
disp('And, putting:');
disp('A = ');
disp('0 -x3 x2');
disp('x3 0 -... |
b8027ebef6ccf978dfedc9c3234b57ef55b8512e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH9/EX9.14/Ex9_14.sce | f216733606a7404d93a765a9d4741e54e24616b7 | [] | 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 | 339 | sce | Ex9_14.sce | clear
//
//given and derived
v=450
r=0.25
i1=160
i2=125
r1=450/(160)
eb1=v-i2*r1
//flux decreases by 12% hence eb2=1.12*eb1
eb2=110.60
r2=(v-eb2)/i1
eb3=v-i2*r2
eb4=1.12*eb3
r3=(v-eb4)/i1
//resistance of each section of the starter is determined as follows
R1=r1-r2
printf("\n R1= %0.1f ohm",R1)
R2=r2-r3
printf("\n R2... |
4388bd8769944665876133556bbbe151226b8d71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.46/P2_46.sce | 384771268f26890ce9df7fd7ace1cd487c14134e | [] | 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 | 295 | sce | P2_46.sce | //EXAMPLE 2.46, Cross corelation Computation.
// Given two finite length sequence.x[n],y[n]:
clear;
clc;
x=[1 3 -2 1 2 -1 4 4 2];
disp(x,'x');
y=[2 -1 4 1 -2 3];
disp(y,'y');
//Cross corelation rxy[n]:
rxy=convol(x,mtlb_fliplr(y));
disp(rxy,'The Cross-Corelation Operation of the Inputs is =')
|
8220b156bcd1a419ccce2fa6f169215cc40420d1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Circuits_And_Systems_Y._N._Bapat_2561.zip/Electronics_Circuits_And_Systems_Y._N._Bapat_2561/CH10/EX10.8/Ex10_8.sce | cf496c3c68e6628d552f8b32262dc99439ae5240 | [] | 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 | 203 | sce | Ex10_8.sce | errcatch(-1,"stop");mode(2);//Ex10_8
h='48';
disp("Hexadecimal number="+string(h))// value in hexadecimal
d=hex2dec(h)//hexadecimal to decimal
disp("Eqivalent Decimal number="+string(d))
exit();
|
67a1b3c357a1ae8f464bda01fa19d4376572a11d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH15/EX15.6/Ex15_6.sce | a7dd4d0dcb4213153622b6e28edf736595754cbf | [] | 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 | 577 | sce | Ex15_6.sce | clear
//
//Initialisation
R=10**4 //Resistance in Ohm
f=10**3 //Frequency in Hertz
C=3*10**-8 //Capacitance in Farad
V=10 //Voltage
//Calculation
Xc=1/(2*%pi*f*C) //Reactance
a=((10**4)**2)+(5.3*10**3)**2
I=sqrt((V**2)/a) ... |
d81e77368f839beb2aa65e739c7561cea920daef | fa1dce9ce0696cada1df5b34389384bde14c62af | /BackPropagation/matlab/relu.sce | 1276a3acfcdb74c9b620415b28341518e4bf9aed | [] | no_license | DarthC0mp1ler/MIW | 356c45e8b9e0a1544979fa433124b52e1d8bbf6a | 38b2998e22565d158dd23eba834d20573e5700c7 | refs/heads/main | 2023-06-01T11:32:36.033066 | 2021-06-13T14:11:39 | 2021-06-13T14:11:39 | 376,556,338 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | relu.sce | clear close()
P = -4 :0.1: 4; T = P.^2 + 1*(rand(P)-0.5);
//siec
S1 = 100;
W1 = rand(S1, 1)- 0.5; B1 = rand(S1, 1)- 0.5;
W2 = rand(1, S1) -0,5; B2 = rand(1,1) -0.5;
lr = 0.001
for epoka = 1 : 2000
//odpowiedz sieci
X = W1*P + B1*ones(P)
A1 = max(X,0); //ReLu
A2 = W2*A1 + B2;
//propagacja wsteczna
E2 = T - A2;
... |
66163ee75ae5958de7fd99c813a8b28a5404b4b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH12/EX12.9/ex12_9.sce | ec865f57f6ef0f279ab381e24ec1c58dc19c6a3f | [] | 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 | 289 | sce | ex12_9.sce | clc;
clear all;
d = 60e-6; // Diameter of core in fiber in meters
lambda = 2.7e-6; // Operating Wavelength in meters
NA = 0.25; // Numerical Aperture
N = 4.9*((d*NA)/lambda)^2 // Number of modes propogating through fiber is
disp('',N,'Number of modes propogating through fiber is')
|
60b3f91d65ba3f2b08b30a1dee6c939ff39f1f51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH14/EX14.12/Example12.sce | 21dce5a42d9b6f9cd2b621f74652f2f621dfe85e | [] | 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,778 | sce | Example12.sce |
clear
flag=1
mode(-1)
clc
printf("Example 12 : Show the use of shift arguments \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are preloaded in the form of a demo\... |
77f9f5041f9c4d70cc7d30505d8621cc275e0c9e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2lsf/poly2lsf8.sce | d0038128db4c941cee05355f31611daf854b5f94 | [] | 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 | 310 | sce | poly2lsf8.sce | a = [0.000 -23 -0.6149 -0.9899 -0.0000 -0.0031 -0.0082];
b=poly2lsf(a);
disp(b);
////output
//!--error 10000
//Input to ROOTS must not contain NaN or Inf
//at line 19 of function poly2lsf called by :
//b=poly2lsf(a);
//at line 2 of exec file called by :
//Test/poly2lsf/poly2lsf8.sce', -1
|
ea3264ddd6d9ce7d146062d36caf39ad3ecba9e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH3/EX3.14/ex3_14.sce | c972824e829a4a12acd16eaac081eb3c45c76e79 | [] | 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,054 | sce | ex3_14.sce | // Exa 3.14
clc;
clear;
close;
format('v',6)
// Given data
R_L = 200;// in ohm
Vin = 20;// in V
V_Z = 10;// in V
P_Zmaz = 400;// in mW
R_S = 220;// in ohm
//The value of V_L with 200 ohm
V_L =(R_L/(R_S+R_L))*Vin;// in V
disp(V_L,"The value of V_L with 200 ohm in V is");
// The value of I_Z with 200 ohm
... |
af617c8ecc3da4a790e5bcc4dc1189c0058928cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.9/ch8_9.sci | 3ab3421dba943e63f27078b68f8ec50dc0b8a07f | [] | 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 | 660 | sci | ch8_9.sci | //to calculate the generator current and its pf
clc;
j=sqrt(-1);
X=.24;
r=400; //rating in MVA
rr=600; //rating in MVA
Pe=r/rr;
Vt=1;
Vth=1;
dl=asind(Pe*X/(Vt*Vth));
Ia=2*sind(dl/2)/X;
V=24000;
IaB=(rr/3)*10^6/(V/sqrt(3));
Iaa=Ia*IaB;disp(Iaa,'generating current(A)');
phi=dl/2;
pf= cosd(phi);disp... |
e6e73e1e000dd2cc2d244147c7be15625db973e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH1/EX1.2/Ex1_2.sce | 4cd4e8245ee83f537481a9710a83a27205ef901a | [] | 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 | 187 | sce | Ex1_2.sce |
//i1, i2, i3 be the currents in the branches CD, EF and GH respectively
//i1+i2+i3=1.5
i2=(20-1.5*10)/15
i3=(20-1.5*10)/15
i1=1.5-i2-i3
r=(20-1.5*10)/i1
mprintf("r=%f ohm", r)
|
18f2c293aa4efd794f316d492de15d452f05f124 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testtrycatch2.sce | 1f94d9fb666c0146563d1d5b099915422c17ca6a | [] | 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 | 57 | sce | testtrycatch2.sce | exec('scilab-base-program-testtrycatch.sce')//to delete
|
d7e24d100da36f520710eeb6ebc2d09ea07624b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH10/EX10.3.1/Example_10_3_1.sce | 83801889329202014fd88ee5ef4fe1544b1505d6 | [] | 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,234 | sce | Example_10_3_1.sce | //Example 10.3.1 Page 357
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
//Taking r=2;
r=2;
x=poly(0,"x");
f = x-2*(x^2); //Defining Polynomial--> f(x*)-x* = 2*x(1-x)-x. Let th... |
be9c1d0e2f895c15f8b1ff17a96a9946271519f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.11/example5_11_TACC.sce | f50b96dec7a6ba065cafb276a64e6fb8ccd724d3 | [] | 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 | 276 | sce | example5_11_TACC.sce | //example 5.11
clear;
clc;
//Given:
N=3;//Total no. of balls
Nb=2;//Black balls
Nw=1;//white ball
//To find the total no. possible configuration
w=prod(1:N)/prod(1:Nb)/prod(1:Nw);
printf("The total no. of possible configurations are %f ",w);
|
ebeb1e7987499e0e1ca476f4d2030eb0b2172c71 | 4bcfc36b3fe4f98e84b3bf8fd08adde00b7da338 | /Results/exploration/graph1d_1511.049.sci | 7bf565f029da019cb251e0307decbd4db521ec0b | [] | no_license | CSSS2013UrbanMobility/UrbanMobilityNew | 52bea127d39046a7ef6796936b07664784a8fa4c | 48fb4b517718a961ca99e2fab678b80f17c22bf2 | refs/heads/master | 2021-01-01T18:42:37.730732 | 2014-02-09T16:40:18 | 2014-02-09T16:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sci | graph1d_1511.049.sci | tol=[];
reroutes(1)=1.0485689505637468;
reroutes(2)=0.8946877912395154;
reroutes(3)=0.5102420856610801;
reroutes(4)=0.622822299651568;
reroutes(5)=0.28558052434456926;
reroutes(6)=0.22595704948646125;
reroutes(7)=0.20191470844212359;
reroutes(8)=0.06273408239700375;
reroutes(9)=0.06279287722586692;
reroutes(10)=0.08355... |
4eaf35a4a87d8e498d2c158454ab1b1a6fb1b811 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH13/EX13.4/Ex13_4.sce | a7f0c8a6b8cb2980e83a728afd330763ff866921 | [] | 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 | 217 | sce | Ex13_4.sce | errcatch(-1,"stop");mode(2);//Ex:13.4
;
;
f_rf=162.5;//in kHz
f_af=1.25;//in kHz
f_bfo_max=f_rf+f_af;
f_bfo_min=f_rf-f_af;
printf("The two possible BFO freq. =%f kHz and %f kHz",f_bfo_max,f_bfo_min);
exit();
|
c021bf4f73b19f198e8469eb328244cfe025cbc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH5/EX5.3a/5_3a.sce | 8939bafda99950cc7346b98887ae4617e6a0dd62 | [] | 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 | 676 | sce | 5_3a.sce | clc;
//page 222
//problem 5.3.a
// refer fig from page no. 212 Fig.5.4a
// The values of constsnts Kf and Kp are given as Kf= 2*pi*10^5 and Kp=5*pi .
// Here we are assuming the Bandwidth B of m(t) as the frequency of the third harmonic, i.e. 3(10^4/2)Hz= 15kHz
B=15;// in kHz
// For FM:
// Here peak amplitude ... |
01068b307a539b23a7b930503fbb7f4b297a4f61 | 02d16dcc50adfac84da99d9558f5044a2cc2b37a | /sample/Eq3.tst | 7964d8503012927e443360faa8733ea526511cd2 | [] | no_license | anvicordova/nand2tetris | 985eeb17e8f6b11b1bacf2818c460a469453b8c2 | e186745025d20ffdc6d40d298ba172a15c6d90b1 | refs/heads/master | 2023-08-07T18:06:06.126691 | 2021-09-20T17:58:04 | 2021-09-20T17:58:04 | 398,842,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | tst | Eq3.tst | /* Test the Eq3.htl program. The Eq3 chip sets out to 1 if it three inputs have the same values or 0 otherwise*/
load Eq3.hdl,
output-file Eq3.out,
compare-to Eq3.cmp,
output-list a b c out;
set a 0, set b 0, set c 0, eval, output;
set a 1, set b 1, set c 1, eval, output;
set a 1, set b 0, set c 0, eval, output;
set ... |
6c53f48afe49d303f670671f3fb5d56257c00c67 | 25661c60cc20d638f33763f40c0ab394380634c0 | /codes/corde/corde.sce | fa6d59dd01629099196b433a8b36d519fb8a1e58 | [] | no_license | kpofi/projetMN | 8de81c55f7cacc005fc51bb1233a720ece79cbd2 | f9379ca440111603fbfbf99d264057225f678552 | refs/heads/master | 2020-06-19T04:47:45.729923 | 2016-11-27T23:01:59 | 2016-11-27T23:01:59 | 74,919,670 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,845 | sce | corde.sce | //fonction corde
driver("Rec");
SR = 44100; // taux d'échantillonage
B = 0.001; // paramètre d'inharmonicité
f = 110; // fréquence fondamentale
TF = 4; // durée de la simulation
x0 = 0.1; /... |
ca850fe2f0a016fbf430afd5c512e0483c64753c | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH7/EX7.6/7_6.sce | 1ea46b925893980d86fc77d6b0eb2e9248ecd0a7 | [] | 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 | 280 | sce | 7_6.sce | clc;
s = %s;
printf("S.S. error = 0.1");
Kv = 1/0.1
G = syslin('c',(s+5)/((s*(s+6)*(s+7)*(s+8))));
printf("\n For type-1 system and finite steady state error implies a ramp input. \n")
syms k s;
disp(s*G);
l = limit(s*G,s,0);
disp(l);
k = Kv/l;
disp(k,"Value of K:");
|
fcacba25ab8f3827d8e181fd911e4b84a0909b80 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/MSVC2008_Patch/findmsvccompiler.sci | 0eb20ce8ec03c580739a37200d018bef0213db99 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,958 | sci | findmsvccompiler.sci | //-----------------------------------------------------------------------------
// Allan CORNET
// INRIA 2005
//-----------------------------------------------------------------------------
function MSCompiler=findmsvccompiler()
MSCompiler='unknown'; // unknown
if MSDOS then
ierr=-1;
ierr=execstr... |
98a074c7081a51624ff7ea628d4242eb256c5acf | 8341e5d4592082938937701d121dc41f7b544347 | /app/views/application/_nav.html.erb.tst | 05ded6fc6aaf2e50b55be5646447e733af85accd | [] | no_license | ozavala/gymsystem-v4 | 6133fc277379513add2c220e6855e96c1eacc7bd | 777d7899032fce1ea361b1c3f421f032a8cbaa6c | refs/heads/master | 2020-04-22T23:34:34.947207 | 2019-03-09T16:17:41 | 2019-03-09T16:17:41 | 170,746,316 | 0 | 0 | null | 2019-02-20T23:29:21 | 2019-02-14T19:30:13 | Ruby | UTF-8 | Scilab | false | false | 2,374 | tst | _nav.html.erb.tst | <!DOCTYPE html>
<title>My Example</title>
<!-- Latest compiled and minified Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style>
body {
... |
19c0f0b50f27bb57bba65376a9c1f8eb31632d58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH3/EX3.1/ex_3_1.sce | 6cdb6fa5e47ea5d7e46396ae6dd74e37ad6c261e | [] | 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 | ex_3_1.sce | //Example 3.1: miller indices
clc;
clear;
close;
//given data
x1=1;//
x2=1;//
x3=2;//
h1=1/x1;//
h2=1/x2;//
h3=1/x3;//
disp("Miller indices of the plane (112) are: "+string(h1)+","+string(h2)+","+string(h3))
x11=0;//
x21=0;//
x31=1;//
h11=%inf;//
h21=%inf;//
h31=1/x31;//
disp("Miller indices of the plane (001) are : "... |
05278e04eb1e6d8f253c3453c841d6302261df8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH11/EX11.2/112.sce | 2542ac7751ba7a5edf852ebdf809684eaa4f00d9 | [] | 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 | 265 | sce | 112.sce | // problem 11.2
H=46
Q=1
u1=15
y=165
y2=180-y
Cv=0.975
g=9.81
V1=((2*g*H)^0.5)
Vw1=V1
Vr1=V1-u1
Vr2=Vr1
Vw2=(Vr2*(cosd(y2)))-u1
w=9810
P=(w*Q*(Vw1+Vw2)*u1)/(g*1000)
n=P*1000/(w*Q*H)
disp(n*100,P,"power developed in Kw and efficiency of the wheel")
|
4fb9f6a5d69dfbc18d6505ed97a3fef5bfb96afe | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH4/EX4.8/Ex4_8.sce | 5576f96e4d940717f43ee3f2eb4695c55107a5dd | [] | 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 | 150 | sce | Ex4_8.sce | errcatch(-1,"stop");mode(2);//Ex:4.8
;
;
V=240;
c=100*10^-9;
f=50;
X_c=1/(2*%pi*f*c);
I_c=V/X_c;
printf("Current flow = %f A",I_c);
exit();
|
977a929d0f9b1bbd35c02f60f41f24e0eefaeccf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH9/EX9.1/ex_9_1.sce | 70d9c75a5ac388bbbb633b2744751f297cba6f69 | [] | 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 | 217 | sce | ex_9_1.sce | //Example 9.1 : difference
clc;
clear;
close;
//given data :
E=200*10^9; // in N/m^2
C=(4*10^-6)/2;// in m
gama=1.48; // in J/m^2
sigma=sqrt((2*E*gama)/(%pi*C));
disp(sigma*10^-6,"fracture strength,sigma(MN/m^2) = ")
|
b558133addf1c66840692f6bae18f33b6594ab32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH4/EX4.4/disc1.sce | 456181fe18fd4dc736f2805c570c58e21ed35625 | [] | 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 | 200 | sce | disc1.sce | // Discrete transfer function of the continuous state space system
// 4.4
F = [0 0; 1 -0.1]; G = [0.1; 0];
C = [0 1]; dt = 0.2;
sys = syslin('c',F,G,C);
sysd = dscr(sys,dt);
H = ss2tf(sysd);
|
4dcbfdc34e83f5d266e6046b0d5b0b010a3dbd43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH3/EX3.6/Ex3_6.sce | 59935f183c95142073ae1d8d4fe965847aa7c3f5 | [] | 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 | 762 | sce | Ex3_6.sce | clc
// Variable Initiallization
Ea=400 // Voltage Of MOtor In Volt
Ia1=70 //Line Current In Ampere
Ia2=90 //Line Current In Ampere
Ra=0.3 //Armature Resistance In Ohm
N1=750 //Speed Of Motor In rpm
N2=300 //Speed Of Motor In rpm
//Solution
Eb1=Ea-(Ia1*Ra)
Eb2=(N2/N1)*Eb1
Rb=-((Eb2-Ea-Ia2*Ra)/Ia2)//Wrongly ... |
2eef9137787243cb1f765a3ca05841baf5ef6979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH8/EX8.45/EX8_45.sce | 9933c707b8ccbe6dcd7ecb901c09b4ea74106e3c | [] | 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 | 647 | sce | EX8_45.sce | // Example 8.45
// Calculation of incident optical power.
// Page no 499
clc;
clear;
close;
//Given data
lambda=1.3*10^-6; // Wavelength
B=6*10^6; // Bandwidth
S=10^5; // Total system margin
n=1; ... |
61cc67a2faf6aa2ec42e59b648ebcd32f12d6a95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH2/EX2.11/Ex2_11.sce | dd52a1bf08d18dad28a1f994e999a95459f792c4 | [] | 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 | 676 | sce | Ex2_11.sce | //Initilization of variables
P=5000 //N
lAB=5 //m
lOB=1.443 // m
alpha=30 //degree //angle made by force P with the beam
//Calculations
theta=atand(lOB/lAB) // degree // eq'n 1
Xa=(P*cosd(alpha)) //N //using eq'n 4
Ya=Xa*tand(theta) //N // from eq'n 3 & 4
Rb=P*sind(alpha)-Ya // N from eq'n 5// substuting valu... |
936ea1f50891d7850147298c21750aa6ae89af7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH20/EX20.6/eg20_6.sce | fd4bafcbeb7271afdd29f8fda35532bb7ef0702f | [] | 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 | eg20_6.sce | clear;
//clc();
z1=400;
z2=600;
zp=2000;
ef1=100;
ef2=(2/z1)*ef1/(1/z1 + 1/z2 + 1/zp);
er1=ef2-ef1;
printf("The voltage reflected in line1 is:%d kV\n",er1);
ir1=round(er1)/z1;
printf("The current reflected in line1 is:%.2f kV\n",ir1*1000);
zp=1/(-(1/z1)-(1/z2)+(2/z1));
printf("The resistance at the junc... |
0a81493253aacaaa5ee606387997a68a724f8601 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/target_program_ver02_gui.sce | 7fd0aa504b11331f5d851ff3f9ee498bff74eac8 | [] | 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 | 94,240 | sce | target_program_ver02_gui.sce | global file_name showprog;
//get filename, path and extension
[path,fname,extension] = fileparts(file_name);
hid_dir = path + '.' + fname;
//exec("~/rasp30/prog_assembly/libs/scilab_code/characterization/char_diodeADC.sce",-1);
exec('~/rasp30/prog_assembly/libs/scilab_code/diodeADC_v2i.sce',-1);
exec('~/rasp30/prog_as... |
28522812476b7d33da44dbb2d3b5d88bfbbe0312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH6/EX6.12/6Ex12.sce | 7b24fbe55b05814dd8cd795bcd244a482b85f089 | [] | 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 | 187 | sce | 6Ex12.sce | //chapter 6 Ex 12
clc;
clear;
close;
n=10; inc=1.8;
weightreplaced=53;
totalinc=n*inc;
weightNew=weightreplaced+totalinc;
mprintf("The weight of new man is %d kg.",weightNew);
|
50b55a1867f7d7acb1b40fbb35da52ba01fc3b62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.7/Example4_7.sce | 30ba7663f4b966eec49eb24ee98a50843ebeab73 | [] | 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,024 | sce | Example4_7.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-7
clear; clc; close; // Clear the work space and console.
// Given data
R_a = 0.25 ; // Armature resistance in ohm
BD = 3 ; // Brush contact d... |
b8eecc00b59980b0d9c72e82a97a9bbb039f553b | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.16/17_16.sce | 87881e21962c6fddab9dfec041635c8c26966da1 | [] | 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 | 695 | sce | 17_16.sce | pathname=get_absolute_file_path('17_16.sce')
filename=pathname+filesep()+'17_16_data.sci'
exec(filename)
//Swept Volume(in cc)
Vs=0.25*%pi*D^2*L
//Volume of gas in the cylinder(in cc/cycle)
V1=(1/(1+AF))*(Vs+(Vs/(r-1)))
//Volume of gas at NTP conditions(in cc)
V=V1*(p2/p)*(T/T2)
//Heat added(in kJ/cycle)
H=V*... |
09844b12212b0b9a4e39ecb6a71f1323a4ab645e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH3/EX3.11.6/Ex3_6.sce | baab72d4bee55f7a7a7abc9f9768f631042318f5 | [] | 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 | Ex3_6.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 3:Properties of Semiconductors
clc
clear
//given
ni=2.5*10^(19);//ni=intrinsic conductivity of intrinsic material in S/m
Nd=5*(10^19)//Nd=donor concentration in /(m^3)
n=(1/2)*(Nd+sqrt((Nd^2)+(4*(ni^2))))//n=electron concentration
disp("/(m^3)",n,"n=")
p=... |
7d824b2548a069c37bcd674462a5a54584518ed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3480/CH3/EX3.1/Ex3_1.sce | 8b44b9727df87577090f8e7a3aec9b12e0a120ca | [] | 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 | 136 | sce | Ex3_1.sce | //Example 3.1, page 69
clc;
n1=1.5
r=1//in cm
n=1//in cm
a=4//in cm, air
s=.5-(1/a)
s1=n1/s
printf("\n The image is formed at %d cm",s1) |
f76104503ffa56e9ab04350d4027ab9e854ec73c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH6/EX6.14/ex6_14.sce | a6f1488f861c1c10cee056e0e682a1472f7f3e9d | [] | 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,445 | sce | ex6_14.sce | //Determine recieving end voltage and current
clear;
clc;
//soltion
//FUNCTIONS
function [z]=rxr(A,B)//Function for the multiplication of rectangular
z(1)=A(1)*B(1)
z(2)=A(2)+B(2)
endfunction
function [a]=r2p(z)//Function for rectangular to polar
a=z(1)*complex(cosd(z(2)),sind(z(2)))
endf... |
e6b9ef9736c8367b71df49a415d4be8420baae40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH18/EX18.9/18_9.sce | 7b24a3cbca868a6b9d8b8ddce2bc077672773778 | [] | 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 | 492 | sce | 18_9.sce | //example 18.9
clc; funcprot(0);
// Initialization of Variable
sigma=5.67e-8;
D1=0.02;
D2=0.05;
D3=0.035;
pi=3.14;
T1=77;
T2=300;
qwo=(sigma*pi*D1*(T1^4-T2^4))/(1/0.02+(1-0.05)/0.05*(D1/D2));
disp(qwo,"heat rate per unit length in W/m");
Rtot=(1-0.02)/(0.02*pi*D1)+1/pi/D1+2*(1-0.02/(0.02*pi*D3)+1/pi/0.035+(... |
2755cf771c95dcba821393f4e97eb7c10bc3f3e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.28/EX3_28.sce | 9b2675bd1e5cd653ae181aa76db770350bfe4732 | [] | 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 | 920 | sce | EX3_28.sce | //Calculate efficiency of transformer //Chapter 3
//Example 3.29
//page 236
clear;
clc;
disp("Example 3.29")
kVA=50; //rating of the transformers
I1=250; //primary current in amperes
Re=0.006; //total resistance referred to the primary side
ironloss=200; ... |
c390e0f1224e22470828ecede2b38c244d9f0bc4 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/abstract_typedef2_runme.sci | afe67ed5e02bed629e537a31a55169d671fb13c0 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sci | abstract_typedef2_runme.sci | exec("alaqiltest.start", -1);
try
a = new_A_UF();
catch
alaqiltesterror();
end
try
delete_A_UF(a);
catch
alaqiltesterror();
end
exec("alaqiltest.quit", -1);
|
91d6facf414f1c58fe926b735aec846651424baa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.5/Ex9_5.sce | 82aa4fbd8bfa75ff90cc4f1372ae4b07bdbe0b88 | [] | 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,681 | sce | Ex9_5.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 5
clear ;clc;
//Given data
V = 1 // volume of tank in m^3
P1 = 0.1 // pressure of tank with He in MPa
T1 = 300 // temperature of tank with He in K
P2 = 0.4 ... |
3ac505e984826966d74f8cc1531b1ab06c66419d | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch9_7.sce | fe7c0cf199934a0e36a01a6f7883e846e4a4b30a | [] | 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 | 687 | sce | ch9_7.sce | clc
disp("Example 9.7")
printf("\n")
printf("Given")
disp("Resistance is 10ohm and Capacitance is 0.2F")
disp("Applied voltage is 10*exp(-2*t)*cos(10*t+30)")
s=%s;
//For a RC circuit
//Applying KVL equation
//v=i*R+(1/C)*integrate(i*dt) (1)
//As v=10(30 deg) (2)
//Equating (1) and (2)
// Let i=I*e... |
856e3665813191199a490e03e37d01e72b15893e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH6/EX6.2/6q2.sce | d91e18f16e446f430b2187972fada97aa2f0e85b | [] | 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 | 301 | sce | 6q2.sce | clc
//initialisation of variables
G= 2.6
LL= 20
P= 20
//calclations
R= (4804574*G-195.55*(LL)^2+156971*(P)^0.5-9527830)^0.5
n= (1.195e-4)*((LL)^2)-1.964*G-(6.617e-5)*(P)+7.651
w= %e^n
//results
printf ('maximum dry density = % f kg/m^3 ',R)
printf ('optimum moisture content = % 2f ',w)
|
a9e387e8b88d44cdbd50f4be7f9ed55deefb9d29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH9/EX9.6/Ex9_6.sce | a520763e99043af8977ebe1b4a46ea83617f1cdd | [] | 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 | 423 | sce | Ex9_6.sce | clc;clear;
//Example 9.6
//from 9.5
Wsc=244.16;//compressor
Wst=606.60;//turbine
h1=300.19;
h3=1395.17;
//given data
nC=0.8;
nT=0.85;
//calculations
Win=Wsc/nC;
Wout=nT*Wst;
rbw=Win/Wout;
disp(rbw,'back work ratio is');
h2a=h1+Win;
qin=h3-h2a;
Wnet=Wout-Win;
nth=Wnet/qin;
disp(nth,'thermal effi... |
bcc62615b74e370ed04c11125f715dcaa19668d1 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /css/Scripts/Funciones/get_ciudad.tst | 8422f6c5b404d02127e775cb2aa00c1ba1911189 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | ISO-8859-2 | Scilab | false | false | 152 | tst | get_ciudad.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := get_ciudad(pciudad => :pciudad);
end;
2
result
1
Síndey
5
pciudad
1
1
4
0
|
84889ac5b5cd9c6ace335b81eef8034d4b4080da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH17/EX17.4/17_4.sce | 579fa6171b40faddeb0483f510dfdf5e8fa98f48 | [] | 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 | 784 | sce | 17_4.sce | //chapter 17
//example 17.4
//page 523
clear all;
clc ;
//given
Rl=100;//load resistance
Po=0.5;//output power
//peak output voltage
Vp=sqrt(2*Rl*Po);
//peak output current
Ip=1000*(2*Po)/Vp;
Vr6=0.1*Vp;
Vr7=Vr6;
R6=1000*Vr6/Ip;
R7=R6;
//quiscent current
Iq2=Ip/10;
//dc voltage across R4
Vr4dc=0.7+10... |
8af86c7fad485fe6b60e0545c41b2c12e9ee7e37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH9/EX9.6/9_6.sci | 6ec8bef803290d34129c02afb9ecc2de16d4191b | [] | 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 | 388 | sci | 9_6.sci | clc();
clear;
//To determine the wavelength
lambda1=0.708; //wavelength of a certain line in an X-ray spectrum
Z1=42; //atomic number
Z2=24;
a=1; //screening constant
lambda2=(lambda1*(Z1-a)^2)/((Z2-a)^2)
printf... |
8bd23f159d9be403308e9c5af689bb048affd0d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH22/EX22.1/Ex22_1.sce | 0cfef0f372645fac1553cf1a35193eee86ed25ef | [] | 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 | 583 | sce | Ex22_1.sce | clear
// Variable declaration
T_d=37// The dry bulb temperature of air in °C
H=24// % saturation
n_s=75// Saturation efficiency in %
h=62.67// The entering enthalpy in kJ/kg
// Calculation
// By construction on the chart, or from tables, the ultimate saturation condition would be 21.5°C, and 75% of the drop from 37°C ... |
3a69581fc7d339527001620240f01613219a0d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH3/EX3.17/Ex3_17.sce | 858b2d948007c27864d78d195b0964d831df1355 | [] | 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,755 | sce | Ex3_17.sce | clear;
clc;
printf("\t\t\tProblem Number 3.17\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.17 (page no. 117)
// Solution
p1=1000; //Unit:psia //Initial pressure
t1=100; //Unit:Fahrenheit //Temperature at pressure p1
p2=1000; //Unit:psia //Final pressure
t2=1000; //Unit:Fahrenheit //... |
24f2da6a6b976c59eea20b2bd161a31e82a0831e | db719ae90d19be4c228e1cc4209c3271c9c72eaa | /MissionX2.sce | de7297330f1bf09c36499f72d4c8e0c4df08f1da | [] | no_license | Cedric-M/Projet_Scilab_Imagerie | 9a51a12cf70ef820a158630a2b0c29c5f1ad4f08 | 13c62cddd8e1969a61864a332fae21457e8afdf7 | refs/heads/master | 2021-01-22T20:12:42.509435 | 2017-03-17T09:33:57 | 2017-03-17T09:33:57 | 85,294,028 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | MissionX2.sce | //MissionX2
function missionX2(imgX2)
disp("Résultat de la mission X2 :")
[y,x]=size(imgX2)
//Les boucles for servent à parcourir tout les pixels de l'image
for i=2:1:y-1
for j=2:1:x-1
//calcul de la moyenne entre les 4 pixels
k=imgX2(i,j)+imgX2(i+1,j)+imgX2(i,j+1)+imgX2(i+1,j+1)+imgX2(i-1,j-1)... |
8703a5bb23c6d47d70a5e93626282ec3ee71a6e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.18/6_18.sce | 91c0f91297b2fd8cd7023b55e4ba0fe9b5a11842 | [] | 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 | 537 | sce | 6_18.sce | //pathname=get_absolute_file_path('6.18.sce')
//filename=pathname+filesep()+'6.18-data.sci'
//exec(filename)
//Initial volume in part A(in m^3):
Va=0.4
//Pressure(in bar):
pa=10
//Initial volume in part B(in m^3):
V=0.4
//Pressure in part B(in bar):
p1=10
//Final pressure in part B(in bar):
p2=15
//From st... |
bd454e2567a6c27840c2cbc691d3b71bce2c1254 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Machine_Design_U._C._Jindal_683.zip/Machine_Design_U._C._Jindal_683/CH18/EX18.4/RB_4.sce | 2a8042f5aeb9403eb94352be1f4785c58f191dd6 | [] | 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 | 202 | sce | RB_4.sce | errcatch(-1,"stop");mode(2);// sum 18-4
;
;
P=20*10^3;
Co=22400;
C=41000;
Ln=(C/P)^3;
Lh=Ln*10^6/(720*60);
// printing data in scilab o/p window
printf("Lh is %0.3f hrs ",Lh);
exit();
|
3d8604a96e636f73d4320889e13b1f4bccc78c7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.7/Example_14_7.sce | f7ce60dcdb7450ec0373c66044cf147f3417c3da | [] | 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 | 5,158 | sce | Example_14_7.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.7
clear;
clc;
//Given
//SO2 + (1/2)O2 - SO3
//Basis: 1 Kgmole of SO2
n_SO2 = 1;// SO2 fed in Kgmole
n_O2 = n_SO2;//O2 fed in kgmole
//To Calculate the conversion of SO2 to SO3 at 1atm and at various t... |
8de52102d5b95dab08cb82cef9658ee627c66867 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.19/35_19.sce | 3b09762d92f1478fdbb6647b4c6a47b1cc7e167e | [] | 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 | 201 | sce | 35_19.sce | //ques-35.19
//Calculating frequency shift from TMS required
clc
R=1;//resonance order
f=500;//frequency (in MHz)
shift=R*(f*10^6)*10^-6;
printf("The frequency shift required is %d Hz.",shift);
|
e7157ded64e30c6783537d30e971310dcd7ad4ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.9/M_Ex_3_9.sce | b6119d015168e41c0c17b6b42043c518ac3b0344 | [] | 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 | 678 | sce | M_Ex_3_9.sce | clc
//Chapter3: Modulation, page no 142
//Example3.9
//Given
t=0:0.001:10
//e=500*(1+(0.4*sin(3140*t)))*sin(6.28e7*t)
//a
wc=6.28e7//Carrier angular frequency
fc=wc/(2*%pi)// Carrier freq
//b
wm=3140//Modulating angular freq
fm=wm/(2*%pi)//Modulating freq
//c
Ec=500///peak carrier voltage
Pc=(Ec^2)/(2*600... |
06a28466dd45ee7c6371cf7ff4685fd758ebd146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3422/CH5/EX5.4/Ex5_4.sce | 1cb78b61e6695528d73764f1b93f6c939d66a8cb | [] | 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 | 511 | sce | Ex5_4.sce | //Example 5.4, Page no 110
clc
p=400*20*.88*sqrt(3)//input power in watt
l=12193.6-10000//in watt, full load loss
e=l*60//energy lost per minute
ws=(2*%pi*1000)/60//angular frequency
j=.5
R=1//resistance in ohm ir R1/R2
El=(0.5*j*ws**2)*(1+R)
//disp(El)
N=e/El
//disp(N)
printf("\n The number of starts that can be made ... |
942e31a20e1039dcc94256c44df14ce8174f939b | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH4/EX4.1/4_1.sce | 533a0abe9da0406114e66a07881580d81d0e8cda | [] | 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 | 270 | sce | 4_1.sce | V1 = 0.3; // Initial volume in m3
V2 = 0.15; // Final volume in m3
P = 0.105e06; // Pressure in Pa
Q = -37.6e03; // Heat tranferred in J
W = P*(V2-V1); // Work done
U = Q-W; // Internal energy change
disp("Joule",U,"Change in the internal energy of the system is") |
348b88f5cad7e26b9fd3e517fce0ddbfc8e64501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH2/EX2.1.b/Example_2_1_b.sce | bd7097d03285d1239aee9b03a99d7493e27b3c7e | [] | 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 | 336 | sce | Example_2_1_b.sce | //Chapter2
//Page.No-45, Figure.No-2.9
//EXAMPLE_2_1_b
//Output voltage for open-loop differential amplifier
//Given:
clear;clc;
vin1=10*10^-3;vin2=20*10^-3; // Both input voltages are in volts
A=200000; // Voltage gain
vo=A*(vin1-vin2); // Output voltage in volts
printf("\n Output voltage is vo = %.f V rms \... |
6ed34110b4382d41cfecb495dda89324feda869d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.69/Ch02Ex69.sce | 52fe7d1136caa55a00935a001f21e59c82217aa7 | [] | 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 | 478 | sce | Ch02Ex69.sce | // Scilab Code Ex2.69:: Page-2.51(2009)
clc; clear;
R = 100; // Radius of curvature of plano-convex lens, cm
D15 = 0.590; // Diameter of 15th dark ring, cm
D5 = 0.336; // Diameter of 5th dark ring, cm
p = 10; // Order of 10th Newton ring after 5th ring
lambda = (D15^2-D5^2)/(4*p*R); // Wavele... |
7782005d63e8a281ca0d432f6b3b3175025bb72b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.31/2_31.sce | 60c78c31881557d88f3275118f3706759a14d7f4 | [] | 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 | 518 | sce | 2_31.sce | //Network Theorem 1
//page no-2.34
//example2.30
disp("Applying KCL to node a:");
disp("0.5*Va-0.2*Vb = 34.2");....//equation 1
disp("Applying KCL to node b:");
disp("0.1*Va-0.4*Vb = -32.4");...//equation 2
disp("Solving equations 1 and 2");...//solving equations in matrix form
A=[0.5 -0.2;0.1 -0.4];
B=[34.2 -... |
9412d2757975efd4dfe76be1f093322498e5c96b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.36/6_36.sce | 619b67c7438b5b38af0095a6d761fc8fab43ba84 | [] | 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 | 6_36.sce | clc,clear
printf('Example 6.36\n\n')
V_L=11000
V_ph=V_L/sqrt(3)
VA=2*10^6,phi=acos(0.8)
I_FL=VA/(sqrt(3)*V_L)
phi_1=acos(0.8)
IX_s=(20/100)*V_ph //product of I and X_s
X_s=IX_s/I_FL
I_1=I_FL
BC=I_1*cos(phi_1)*X_s
AB=I_1*sin(phi_1)*X_s , OA=V_ph
OC=sqrt( (OA+AB)^2+(BC)^2 ) ,E_1=OC
E_2=1.25*E_1,OE=E_2
... |
9be626eb325195bfa91ebb83a33ea163ce37b909 | 607fe53653a19100ed470c4f0b5da1a5cbb0a7f3 | /s13102020_2.sce | 40cb041e216d2b024bb2a3dbaeced77df7aa0464 | [] | no_license | sanjeevphy/ForPhDCourseWork | 70b3944e4dce8a5f054ef59b8710923005ca9127 | 945812099f1f41395daa1b1ceeb33c69b9a07481 | refs/heads/main | 2023-02-22T04:25:00.575704 | 2021-01-28T07:00:53 | 2021-01-28T07:00:53 | 333,669,242 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | s13102020_2.sce | clf
t = 0:.01:2*%pi;
polarplot(t,sin(2*t)+cos(2*t))
filename='jitendra';
xs2pdf(1,filename);
xs2pdf(gcf(),filename);
|
a1166d0b3a774cf330e4ac46dbc422d2cc80db71 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/E03.prev.tst | 23e13ddea563601881c64e9cc013aececfbfc3cf | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,549 | tst | E03.prev.tst | EEC run k=3
[3,4,5,6]
[1,6,8,9]
[3,4,5,6]
[1,6,8,9]
[3,4,5,6]
[3,10,18,19]
[7,14,17,20]
[3,4,5,6]
[4,17,22,25]
[1,6,8,9]
[18,19,21,28]
[11,15,27,29]
[3,4,5,6]
[1,6,8,9]
[3,4,5,6]
[3,10,18,19]
[7,14,17,20]
[2,17,40,41]
[6,32,33,41]
[3,4,5,6]
[16,23,41,44]
[1,6,8,9]
[3,36,37,46]
[27,30,37,46]
[3,4,5,6]
[4,17,22,25]
[29,3... |
d0cf2b15d9a1c152b1856617791ed2aef7c7491f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH2/EX2.8/Ex2_8.sce | eaf45f6a442df72226ac6d51c37ff90561b2e668 | [] | 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 | 767 | sce | Ex2_8.sce | //Example 2.8
//To solve the triangle when 2 sides and opposite angle is given
clc,clear
a=18 //side oposite to vertex A
A=25 //angle at vertex A
b=30 //side opposite to vertex B
//using law of cosines solving for c
c_polynomial=[1 -54.38 576]
root_c=roots(c_polynomial)
//case 1
c=root_c(1)
cos_B = (c^... |
3032d53fa7c003accb4393fcca99f197b8070b2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.2/Ex7_2.sce | 02d584db348c6ce672aa3dc20f85119797cb67fb | [] | 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,631 | sce | Ex7_2.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 2
clc;
disp("CHAPTER 7");
disp("EXAMPLE 2");
//
//400/200V transformer
//VARIABLE INITIALIZATION
v1=400; //primary voltage in Volts
v2=200; //secondary voltage in Volts
I0=1; //in Amperes
pf1=0.4; ... |
d29737b71498b2c967a972f7775ecaf21eda37f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.17/Example317.sce | d20119cb3c82a1715ba2c0bd3f50236396318b13 | [] | 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 | 699 | sce | Example317.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 17")
disp("Velocity in casing at inlet to turbine")
Q = 7.8;
disp("Cc = Discharge/(Cross - sectional area of casing)")
Cc ... |
189580cec3b196f1623c86f4af7b4c697b77bff2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH13/EX13.9/Ex13_9.sce | d078898ccee08090bd3717b5a2c6dc5fab9938e0 | [] | 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 | 260 | sce | Ex13_9.sce | //chapter13
//example13.9
//page283
Rc=3 // kilo ohm
Rl=6 // kilo ohm
Rin=0.5 // kilo ohm
Vin=1 // mV
gain_beta=50
R_AC=Rc*Rl/(Rc+Rl)
Av=gain_beta*R_AC/Rin
// since Av=Vout/Vin we get
Vout=Av*Vin
printf("output voltage = %.3f mV \n",Vout)
|
553e0517f0d9949016a9bad159bf20a1175d82e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.19/Example_2_19.sce | 33ef78828ca67ac83c065bfeeaa675827db128fd | [] | 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 | 581 | sce | Example_2_19.sce | //Example 2.19
clear;
clc;
//Given
T1=273; //initial temperature in K
T2=1073; //final temperature in K
w=1;//weight of aluminium taken in kg
mp=931;//melting point of aluminium in K
delHm=362.3;//enthalpy change during melting process in kJ kg^-1
// To determine delH
delH1=(0.9121*(mp-T1))+(2.0083*0.0000... |
da1176a6164c5183b7e8eedfbff081823bf2c9e0 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /sci2blif/create_palette.sce | 882c743ef2200c817531886251ac5ce164467655 | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 1,590 | sce | create_palette.sce | // clear the console window
clc
//Turn off the warning messages in the console
previousprot = funcprot(1) //integer with possible values 0, 1, 2 returns previous value
funcprot(0) //allows the user to specify what scilab will do when such variables are redefined. 0=nothing, 1=warning, 2=error
// Import some useful X... |
4124697dd679997582a5454170d6e26e2e05ef0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH3/EX3.6/Ex3_6.sce | 9d541369028710ae37774afe4e718c19f761ef5c | [] | 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 | 419 | sce | Ex3_6.sce |
//Example No.3.6.
// Page No.100.
//To find refractive idex.
clc;clear;
NA = 0.26;//Numerical aperture.
del = 0.015;//Refractive index difference of the fibre.
n1 = sqroot((((NA)^(2))/(2*del)));//Refractive index of the core
printf("\nThe refractive index of the core is %.2f",n1);
n2 = sqroot((n1^(2))-(NA^(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.