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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29baed6e5655f55cc3646d970a41c4bb00281c69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH10/EX10.6/Example10_6.sce | 45f3c9c7406b32cd02933df8299ebd2fafb3b322 | [] | 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 | 277 | sce | Example10_6.sce | //chapter10,Example10_6,pg 273
q=3.2*10^-19
m=6.68*10^-27
B=1.5
v=7.263*10^6
F=B*q*v
printf("force on particle\n")
disp(F)
T=(2*%pi*m)/(B*q)
n=1/T
printf("\nperiodic time\n")
disp(T)
printf("\nresonance frequency\n")
printf("n=%.2f Hz",n) |
dc057dd92f93535931e3949b2c499113916365c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH4/EX4.6/EX6.sce | 1b20d9c765c087ab98a714a5b4d1542278fddaf6 | [] | 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 | 827 | sce | EX6.sce | // Example 4.6: Vo1, Vo2
clc, clear
betaf=100; // Current gain
disp("Let us assume that the transistor is in active region.");
VBE_active=-0.7; // in volts
// From Fig. 4.23
VCC=-10; // in volts
VEE=10; // in volts
VBB=2.5; // in volts
RE=6.8e3; // in ohms
RB=100e3; // in ohms
RC=10e3; // in ohms
// Writing... |
30912b220431794e9bb8ad24e178efeef8293895 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.8/c13_8.sce | 065465dd1d8a272a827b0415b261cd2a98ccad69 | [] | 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,672 | sce | c13_8.sce | //(13.8) Liquid octane at 25C, 1 atm enters a well-insulated reactor and reacts with air entering at the same temperature and pressure. For steady-state operation and negligible effects of kinetic and potential energy, determine the temperature of the combustion products for complete combustion with (a) the theoretic... |
c80d77abb54d676b31a858db60ec464e890d04d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH17/EX17.3/Ex17_3.sce | 9556ddecd0de3fba5cdda28c293ef26d3b1bda23 | [] | 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 | 379 | sce | Ex17_3.sce | //Variable declaration:
rf = 6.0/12.0 //Outside radius of fin (ft)
ro = 4.0/12.0 //Outside radius of %pipe (ft)
t = 0.1/12.0 //Thickness of fin (ft)
//Calculation:
Af = 2*%pi*(rf**2-ro**2) //Face area of fin (ft^2)
At = Af + 2*%pi*rf*t //Total area of fin (ft^2)
... |
897450e0afccb77f8e5c3ec2ae8c42ac7033799d | b1b2e80029cc5546ff903cab102cf2f635407fda | /tp.sci | c260b95e4eabbcbbed9b713ab19dfeb9ea7d7e88 | [
"MIT"
] | permissive | walidzbiri/zip-code-classification | abc3f0e84400b66ea1e13304ef6353e683e085e5 | f46b4196ba87afc9eff3ad598a40657999860bf4 | refs/heads/main | 2023-03-22T22:56:10.434583 | 2021-03-20T21:22:51 | 2021-03-20T21:22:51 | 349,837,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,998 | sci | tp.sci | xdel(winsid());
clc;
//getd('C:\Users\ab\Desktop\TP S7 eilco\TpImage\TP\cavite');
//// qst 1
//// qst2
//I=imread('code_postale.jpeg');
//figure;
//imshow(I);
//I_gray=rgb2gray(I);
//figure;
//imshow(I_gray);
////qst3
//seuil=imgraythresh(I_gray);
//I_bw=~im2bw(I_gray,seuil);
//figure;
//imshow(I_bw);
//// qst4
//str... |
3d68227e41fb5d51ed327580500f2dcfa47d4295 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bs/test_10.sce | a2d2e8d1b9195f84de65133b38925e19c7f17d5c | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | test_10.sce | // Test #10 : Valid input test case #2
exec('./allpasslp2bs.sci',-1);
[n,d]=allpasslp2bs(0.23,[0.2,0.67]);
disp(d);
disp(n);
//
//Scilab Output
//d=1. -0.4080468 0.4882792
//n=0.4882792 - 0.4080468 1.
//Matlab Output
//n= 0.4883 -0.4080 1.0000
//d= 1.0000 -0.4080 ... |
107a5aa06c42103e69bf4112c705e47f89578bbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH8/EX8.2/8_2.sce | 01d2f8b2965fd3794536a86025f114e12b5f6383 | [] | 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 | 823 | sce | 8_2.sce | //taylor's method
//example 8.2
//page 304
clc;clear;close;
f=1;//value of function at 0
f1=0;//value of first derivatie at 0
deff('y=f2(x)','y=x*f1+f')
deff('y=f3(x)','y=x*f2(x)+2*f1');
deff('y=f4(x)','y=x*f3(x)+3*f2(x)');
deff('y=f5(x)','y=x*f4(x)+4*f3(x)');
deff('y=f6(x)','y=x*f5(x)+5*f4(x)');
h=0.1;//val... |
d2c996feec507be03a8f31a88d45696996b1b137 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH3/EX3.15/ex3_15.sce | f7aef5651d175aa5a6e627c50d7a4009af0d65a5 | [] | 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 | 252 | sce | ex3_15.sce | // Exa 3.15
clc;
clear;
close;
format('v',6)
// Given data
V_Z = 15;// in V
Vin = 24;// in V
R = 27;// in ohm
I = (Vin-V_Z)/R;// in A
// The minimum value of R_L
R_Lmin = V_Z/I;// in ohm
disp(R_Lmin,"The minimum value of R_L in ohm is");
|
de1fc099534ab83ff7dc4f5cfccc304f16c59d1a | 488671045d59079d7b3aa27dcecc04e73e9d90c2 | /cinematica/cinematicainversa.sce | 239f47fac85ef21a78f4e0879ca619c01749faba | [] | no_license | marieediaas/Robotica | cd09b30629e9a090077e72556a3379af5877e9f2 | f4aaf15bd7f11b8a6f6a5f898305f5bdb483fdcf | refs/heads/master | 2022-04-10T06:48:10.906055 | 2020-02-22T16:14:45 | 2020-02-22T16:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,324 | sce | cinematicainversa.sce |
L1 = 10;
L2 = 5;
//x = 5;
//y= 13.660254;
//theta2
num2 = (x^2) + (y^2) - (L1^2) - (L2^2);
den2 = 2*L1*L2;
//positivo
theta2p = acosd(num2/den2);
//negativo
theta2n = - acosd(num2/den2);
//theta1 positivo
nume1 = y*(L1+L2*cosd(theta2p)) - x*L2*sind(theta2p);
deno1 = x*(L1+L2*cosd(theta2p)) + y*L2*sind(theta2p);
t... |
f7694463e19d97f531529c2ccd8381f7355faa68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH1/EX1.1/Ex1_1.sce | 40770a4875d80d09055ea7570ef032ca1b1a0884 | [] | 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 | 166 | sce | Ex1_1.sce | clear
// Variable Declaration
T_0=-5+273// K
T_1=35+273// K
// Calculation
COP=(T_0)/(T_1-T_0)// Coefficient of performance
printf("\n Carnot COP= %0.2f error",COP)
|
3e51e6a89169a23dd3f441bb62ae2acfa26b7025 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Oblique Tracking small fast strafes.sce | b40488a5b62cc2e0e28be0d1a79ca628d8de2de8 | [] | 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 | 64,171 | sce | Oblique Tracking small fast strafes.sce | Name=Oblique Tracking small fast strafes
PlayerCharacters=OT Challenger
BotCharacters=OT Target Rotation.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=OT Challenger
AddedBots=OT Target Rotation.rot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=oblique_tracking_offset.map
MapScale=1.0
BlockProjectil... |
d99b9fca22f441004ed69aeaf8998381343313a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH11/EX11.9/11_9.sce | 31a636e343183df40b134be3ef113b9c16e84616 | [] | 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 | 266 | sce | 11_9.sce | clc
//initialisation of variables
clear
T= 25 //C
R= 8.314*10^7 //ergs /mol K
st= 72 //dynes cm^-1
mv= 18 //cc mole^-1
r= 10^-5 //cm
p= 23.76 //cm
//CALCULATIONS
p1= p*10^(2*st*mv/(r*R*2.303*(273.2+T)))
//RESULTS
printf ('vapour pressure = %.2f mm',p1)
|
91fcf7fdcc684a0a9f8cba18666f225678e8291d | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnBa/enba.2.tst | e6b237d6b4019e3fccdd9e1661b91ae50f546e61 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 52,793 | tst | enba.2.tst | a b a l a অ ব ল া
a b a l a k a n t a অ ব ল া ক া ন ্ ত
a b a n i d h a r অ ব ন ী ধ র
a b i g a i l আ ব ি গ া ই ল
a b s a r o k a আ ব স া র ো ক া
a b u l k a d e r আ ব ু ল ক া দ ে র
a b u s a e i d আ ব ু স ৈ য় দ
a c h a m a b i b i আ চ ে ম া ব ি ব ি
a c h a r y a আ চ া র ্ য
a d e s a r অ দ ে শ র
a d o l f অ ্ য া ড ল ... |
f3b565c5781000b7bfdd6c7144c55db67c66a7a6 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/bpgf8err.tst | 659e83b0e8fd16a6c45f434d6ead5f27ff36a3b3 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | tst | bpgf8err.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "bpgf8err.rsl" bpgf8err "w")
(dribble-on "bpgf8err.out")
(batch "bpgf8err.bat")
(dribble-off)
(load "compline.clp")
(printout bpgf8err "bpgf8err.bat differences are as follows:" crlf)
(compare-files bpgf8err.exp bpgf8err.out bpgf8err)
; close result file
(close bpgf8err)... |
8b9127b3770660a7496b03e601a0372bccac6e76 | d509da43b576591668212a5d5c77b77091260d59 | /DH Algorithm.sce | 2030518842acb640943dadf55272bfad1850e76e | [] | no_license | kaustubhcs/Robot-Kinematics | 3d399afd4e9cf1260f035bb8dc6aee8ff45e9b0d | 55b2b64ad8827e2a54e4f397a8b30a3182e19558 | refs/heads/master | 2021-01-01T05:07:28.992410 | 2016-04-19T09:23:41 | 2016-04-19T09:23:41 | 56,582,611 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,811 | sce | DH Algorithm.sce |
// Denavit-Hartenberg (D-H) Algorithm
dof = input('Degrees of Freedom: ');
for i = 1:dof
disp('Parameters for')
disp(i);
tht(dof) = input('Theta: ');
ak(dof) = input('Length of Link: ');
end
Pmx = input('Enter Initial X co-ordinate ');
Pmy = input('Enter Initial X co-ordinate ');
Pmz = input('Ente... |
4c07707bb3c8ca874609d14d8232eb8bcda5fd08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.23/EXAMPLE5_23.SCE | bfb80c3b372c85dced5f606e5332cf0dea7ce3c6 | [] | 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 | 642 | sce | EXAMPLE5_23.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.23(PAGENO 251)");
//given
disp('modulated carrier waveform is given by s(t) = A*sin((2*%pi*f_c*t)+m_f*sin(2*%pi*f_m*t))');
f_c = 100*10^6//carrier frequency in hertz
delta_f = 75*10^3//f... |
8ecd92055b050db06d65ed6f8f66aa4751d1706d | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH3/EX3.3/example_3_3.sce | e4ef1db8815de88095d1c2a6e5f13719a40bad01 | [] | 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 | 90 | sce | example_3_3.sce | syms s t R L C
Ei= I*L*s + I/(C*s) + R*I
Eo= I*R
disp(Eo/Ei,'transfer function=')
|
885bbf91addf318444a1212b5ab7cb9b14b62111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH7/EX7.13/Ex7_13.sce | 05d5c962683859d2aae4c7e836d7839f952bb489 | [] | 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,431 | sce | Ex7_13.sce | clc
T = 300
disp("T = "+string(T)+"K") //initializing value of temperature
Nd1 = 10^18
disp("Nd1= "+string(Nd1)+"cm^-3")//inializing value of emitter doping
Nd2 = 10^20
disp("Nd2= "+string(Nd2)+"cm^-3")//inializing value of emitter doping
dEg1 = (22.5*sqrt((Nd1*300)/((10^18)*T)))/10^3
disp("The bandgap narrowin... |
57aa5c37ada2962f558336d4c7f6f7521382ecde | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH7/EX7.9.1/Example_7_9_1.sce | c29261ae5dcc58b85d6f28e8c0b4838e96ba8736 | [] | 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 | 485 | sce | Example_7_9_1.sce | // Example 7.9.1
clc;
clear;
lamda=1.4d-6;
h=6.626d-34; //plank's constant
c=3d8; //speed of light
q=1.6d-19; //charge of electron
eta=65/100; //quantum efficiency
I=10d-9; //current
NEP= h*c*sqrt(2*q*I)/(eta*q*lamda);
D=NEP^-1;
printf("\nNoise equivalent power is %.3e W.\nSpecific directivity i... |
a9b05af080d4c53bce2dc5eb899f93227429cfc5 | 75bbd82f0bfa2040e92161597c5e36931ff7767b | /Secante.sce | bb2b806738e30c216dfe2c25f5e6591acafd783b | [] | no_license | v0ltmx/scilab-MAT | d7da8e73b9d7551c2a00be04d2a2d64e80346c1d | b2f7cdc994ad49d77f90c24393769a5fdcac0568 | refs/heads/master | 2022-01-20T10:00:26.830030 | 2019-07-20T02:42:56 | 2019-07-20T02:42:56 | 197,870,163 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | Secante.sce | x=[0 %pi/3 2*%pi/3 %pi/4 3*%pi/4 %pi/6 5*%pi/6 %pi];
sec(x)
x=linspace(-%pi,%pi,100)
plot(x,sec(x))
|
44d3021337dbe223454b8beb19b9c809644f0052 | b69e6fbe0f61af14bf3d9f662b333bf901382f34 | /src/compiler/tests/inputs/11/ConvertToBin/Main.tst | e79582ad66fefbc9efca77250c5c83288e06e76d | [] | no_license | renowncoder/nand2tetris-7 | ac0aead1557fd6e4e144898f0b84967229fa5762 | 4a188d3196d7cbb801f581eecd252e73968f554d | refs/heads/master | 2022-11-19T11:18:40.247020 | 2020-07-20T16:40:38 | 2020-07-20T16:40:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | tst | Main.tst | load Main.vm;
set RAM[8000] 255;
// set RAM[8000] 42;
repeat 1000000 {
vmstep;
}
|
45674b7c5a6e42031f69a720119cdae9f5e0c554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH9/EX9.11/ex9_11.sce | 84bdd8dd93f183acc30223a353d17c9a86ff624a | [] | 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 | 140 | sce | ex9_11.sce | s=%s;
H=syslin('c',10/(s*(0.1*s+1)*(0.05*s+1)))
fmin=0.1;
fmax=100;
bode(H,fmin,fmax)
show_margins(H)
gm=g_margin(H)
pm=p_margin(H)
|
0f0da359dfd1e53740e2eb4f6cf5ae57692be69f | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH10/EX10.10/10_10.sce | 5766bfe69b934d0cb6afcee642f3f5666ed2233b | [] | 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 | 820 | sce | 10_10.sce |
Zs=20
Zo=50
ZL=30
S11=0.45*exp(%i*150*%pi/180)
S21=0.01*exp(-10*%pi/180*%i)
S12=2.05*exp(10*%pi/180*%i)
S22=0.4*exp(-150*%pi/180*%i)
function x=mod(n)
r=real(n)
i=imag(n)
x=sqrt(r^2+i^2)
endfunction
Fs=(Zs-Zo)/(Zs+Zo)
printf("\nFs=(Zs-Zo)/(Zs+Zo)=%.3f",Fs)
FL=(ZL-Zo)/(ZL+Zo)
printf("\nFL=(Z... |
d0c7df380ea00c944b7759dffdbf07ef8649ceca | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/macros/ann_FF_Jacobian.sci | 821c3e6dcc4792d1d7d2a6f6d6585f08b6e19166 | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sci | ann_FF_Jacobian.sci | function J = ann_FF_Jacobian(x,N,W,dx,af)
// This file is part of:
// ANN Toolbox for Scilab 5.x
// Copyright (C) Ryurick M. Hristev
// updated by Allan CORNET INRIA, May 2008
// released under GNU Public licence version 2
// calculates the Jacobian using a finite differences procedure
[lsh,rsh] = argn(0);
// option... |
1f1f0d862924a9c8c9d954e2a1cf09e2c401d3d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH3/EX3.2/3_2.sce | 91f1a7b233b4a343e54068311758433a0f88c890 | [] | 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 | 542 | sce | 3_2.sce | clc
//ex3.2
C=0.1*10^-6;
//symbolic integration cannot be done in scilab
t=[0:0.001*10^-3:3*%pi*10^-4];
i=0.5*sin((10^4)*t);
//on integrating 'i' w.r.t t
q=0.5*10^-4*(1-cos(10^4*t));
C=10^-7;
V=q/C;
subplot(221)
plot(t,q*10^6)
xtitle('charge vs time','time in seconds','charge in Mc') //Mc=micro coulomb... |
68035fda10a5831658ab5f0c592bae0847e17aab | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_xcorr2.sci | 5f446702eb92f1fa6079aafbe2d7a936bad11d49 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,456 | sci | moc_xcorr2.sci | function c = moc_xcorr2(a,b,biasflag)
//Compute the 2D correlation
// Calling Sequence
// C = moc_xcorr2 (A, B)
// C = moc_xcorr2 (A)
// C = moc_xcorr2 (..., 'scale')
// Parameters
// C = moc_xcorr2 (A, B) : Compute the 2D cross-correlation of matrices A and B.
// C = moc_xcorr2 (A) : Compute two-dimensional autocorre... |
3adfa7c82d73de5b9f22efc119a0277332bfc93a | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.17/Example6_17.sce | 58e24cee97eae68900078633e7adafebef9f7c51 | [] | 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 | Example6_17.sce | clear;
clc;
// Example: 6.17
// Page: 222
printf("Example: 6.17 - Page: 222\n\n");
// This problem involves proving a relation in which no mathematics and no calculations are involved.
// For prove refer to this example 6.17 on page number 222 of the book.
printf(" This problem involves proving a relatio... |
2bdfcdfaa6759248fc984bfc99eb565aa5741fa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH5/EX5.8/example8_sce.sce | cd561ae8f92bf7177a0f2dc7fa478413046e7f95 | [] | 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 | 253 | sce | example8_sce.sce | //chapter 5
//example 5.8
//page 199
printf("\n")
printf("given")
Vcc=18;Vbe=.7;hfe=100;
R1=33*10^3;R2=12*10^3;Re=1*10^3;Rc=1.2*10^3;
Vt=(Vcc*R2)/(R1+R2)
Rt=(R1*R2)/(R1+R2)
Ib=(Vt-Vbe)/(Rt+Re*(1+hfe))
Ic=hfe*Ib
Ie=Ib+Ic
Ve=Ie*Re
Vc=Vcc-(Ic*Rc)
Vce=Vc-Ve |
ad38f7fc1cae42286c46c08e7f2bce597225c7d3 | 4ba406c1422fd1f3462feb6c2f378b17ea9175c2 | /src/functions/dump/Planet.tst | 9beb139a8f24f7d5e474279d84eb24a1f915517e | [] | no_license | dwjohnston/geoplanets-model | 236670178c456a0537ee31cfb3ab931ea46c7edf | 06ff2b0ec83272f56ffe02b9ee38f1e169b41a51 | refs/heads/master | 2021-07-12T23:00:17.411355 | 2018-09-02T08:08:22 | 2018-09-02T08:08:22 | 144,376,835 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,360 | tst | Planet.tst | import {SimpleParameter} from '../SimpleParameter';
import {Circle, Position, Color, Line} from "blacksheep-geometry";
import {SinePhaser} from "./modules/phasers/SinePhaser";
import { ColorParameter } from '../ColorParameter';
import { CircularOrbit } from './CircularOrbit';
import { AbstractParameter } from '../Abstr... |
b016f62f8c73eec9fd6072fe5b90a1722ef6a3f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.25/Ex18_25.sce | c59541b59bce7bf357e3196fdcc9b23bb1e9f88f | [] | 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 | 224 | sce | Ex18_25.sce |
clc;
VCC=10;
VEE=10;
RC=1*10**3;
RE=5*10**3;
RB=50*10**3;
VBE=0.7;
VE=-VBE;
IE=(VEE-VBE)/RE;
disp('mA',IE*10**3,"IE=");
IC=IE;
disp('mA',IC*10**3,"IC=");
VC=VCC-IC*RC;
VCE=VC-VE;
disp('volts',VCE*1,"VCE=");
|
c0a7f00b6cae2fb1e8d08d20516797e949562144 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH2/EX2.4.1/Example_2_4_1.sce | e541c9bc1f8967f66a95231fcb2a1e19449849b7 | [] | 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 | 568 | sce | Example_2_4_1.sce | // Example 2.4.1 page 2.11
clc;
clear;
n1=1.49; //core refractive index
n2=1.45; //cladding refractive index
phi = asind(n2/n1); //computing critical angle
NA = sqrt(n1^2 - n2^2); //computing numericla aperture
theta= asind(NA); //computing acceptance angle
printf("\nCritical an... |
67cb664e1c5bc45fef9f47d4a0b49643f57fe22c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/robust/augment.sci | f8ee27765633ecd182020bdbddd8fd47e89b9f0f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,840 | sci | augment.sci | function [P,r]=augment(G,flag)
// Augmented plants P
//!
[LHS,RHS]=argn(0)
if RHS==1 then flag='SRT';end
r=size(G);
[ny,nu]=size(G);Iu=eye(nu,nu);Iy=eye(ny,ny);
Ouy=zeros(nu,ny);Oyu=zeros(ny,nu);Ouu=zeros(nu,nu);
Oyy=zeros(ny,ny);
ssflag=0;
if G(1)='r' then ssflag=1;end
long=length(flag);
select long
case 3 then
// ... |
c1c84f83cc44b5e12a524cb5a3c3fb440928a543 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.8/Ex13_8.sce | 3eec3dea1b52aee4e89b64dba33608529947857e | [] | 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,409 | sce | Ex13_8.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.8
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
P=100e-9;//Optical power in W
R=0.65;//Responsivity in A/W
Rl=1000;//Value of load resistor in Ohms
e=1.6e-19//Electronic charge in C
kB=1.3... |
0c3f6b13bcd8f7be936d7889b5cc62e6fbd08cbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.15/Example_7_15.sce | 67abee2df8bde86e4dce8a693174f4090c2fb3ea | [] | 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 | 698 | sce | Example_7_15.sce | //Scilab Code for Example 7.15 of Signals and systems by
//P.Ramakrishna Rao
//Plotting the impulse and step responses
clc;
clear;
syms s t R L;
Y1=(1/s)-(1/(s+(R/L)));
disp(Y1,'Laplace Transform Of differential Equation is:')
y1=ilaplace(Y1,s,t);
disp(y1,'The Step Response of the System is:');
//Taking R/L=1... |
8f5dbe78478d1ab61e80fbf78b90dd8b08e804ac | 33cc75a925b12133bc78fe0f307140878bb093b6 | /july-circuits/2018/bonus-money/call.tst | 2e354c1d5f61faa7132dd9f730ca62aa2afbfba0 | [] | no_license | redeff/cmp | 05603369f404cff25d168105b1f1c7a956fd07b8 | 8974bacf61b6c73d1cb5d3b5aa33c12af0d687d0 | refs/heads/master | 2021-05-08T01:10:47.542693 | 2019-10-13T22:19:32 | 2019-10-13T22:19:32 | 107,782,810 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,998 | tst | call.tst |
[1;33mProfiling [1;0mcopy [0mwith callgrind[0m...
[32mTotal Instructions[0m...3,019,392
[0m234,691 ([32m7.8%[0m)[0m ???:copy::main
-----------------------------------------------------------------------
103,797 ([32m3.4%[0m)[0m ???:_..alloc..vec..Vec..T....as..core..ops..deref..DerefMut..::deref_mut
---... |
c0c051fc6a748a019928fd1f2348be12e967ea9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH13/EX13.13/13_13.sce | 0ac75a289cbda4eb76b21e26b90a39adad0c2d0c | [] | 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 | 665 | sce | 13_13.sce | //Example No. 13_13
//System of differetial Equations
//Pg No. 455
clear ; close ; clc ;
deff('F1 = f1(x,y1,y2)','F1 = x + y1 + y2 ')
deff('F2 = f2(x,y1,y2)','F2 = 1 + y1 + y2 ')
x0 = 0 ;
y10 = 1 ;
y20 = -1 ;
h = 0.1 ;
m1(1) = f1( x0 , y10 , y20 )
m1(2) = f2( x0 , y10 , y20 )
m2(1) = f1( x0+h , y10 + h*... |
f07c090a52dd8eb73d92ce22811cce40133a5052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.13/ex4_13.sce | d725b61070b39486581f48cebc75b8166288b4ed | [] | 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 | 340 | sce | ex4_13.sce | //Example 4.13
clc
printf("Enter value for Item, partno, cost : ");
printf("\n [Enter values in single line seperated by spaces]) ");
[a,Item, partno,cost]=mscanf("%11s %*d %f");;
//due to uncertainity of values assigned, omitted use of printf here
disp( " = cost",cost," = Partno ",partno,... |
15585187f523b794b816b748247f18767c630623 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH2/EX2.9/Ex2_9.sce | 77a7152f63136f9bed62cdb6205a561ab8e70fab | [] | 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 | 871 | sce | Ex2_9.sce | errcatch(-1,"stop");mode(2);//Caption: Find how they will share 750KVA load at 0.8 power factor lagging
//Exa:2.9
;
;
P_s1=500000//Supplied power(in VA) to first transformer
r_1=0.01//Per unit resistance of first transformer
x_1=0.05//Per unit reactance of first transformer
P_s2=250000//Supplied power(in VA) t... |
0b9748cee9fd82e368a3b19826ab58f08a5b43a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.13/EX17_13.sce | c3e617bb8292122df755c807604365727b84bfd8 | [] | 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,424 | sce | EX17_13.sce | clc;funcprot(0);//EXAMPLE 17.13
// Initialisation of Variables
pmicover=6.5;....................//Mean effective pressure on cover side in bar
pmicrank=7;......................//Mean effective pressure on crank side in bar
D=0.2;...........................//Engine bore in m
l=0.35;..........................//Engin... |
237a487fc4846cc208ac4045eba8b85478c997ce | 7c4e0931bb85459599a2fde1bc9b9b0fdab7fb67 | /mulfi-full.sce | 710d85f6e116b009cfa56560aa6e277b58570221 | [] | no_license | jendralhxr/directional_fft | 8182b731666d2cdd94ec244aea20160bc9e6f1ef | 37861c23da94c95a39b712983e34900a2231b154 | refs/heads/master | 2020-04-18T02:01:30.600285 | 2019-05-28T03:53:41 | 2019-05-28T03:53:41 | 167,143,446 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,419 | sce | mulfi-full.sce | clear;
funcprot(0);
exec('peak_detect.sci');
ANGLES= 72;
SAMPLE_POINTS= 9;
SAMPLING_FREQ= 240; // Hz
PEAK_THRESHOLD= 50;
//ORDER= 3;
x_orig=csvRead("short\cn2l", ascii(9), 'double');
y_orig=csvRead("short\cn2v", ascii(9), 'double');
size_m = size(x_orig);
freq=0:SAMPLING_FREQ/2/(size_m(1)/2-1):SAMPLING_FREQ/2;
teta=... |
9d7456accdcce6481cbfecc4197ba39faf2012a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH8/EX8.4/ex8_4.sce | a5381259bf6e9eebba39b1eb29e9f7a3de2af3ee | [] | 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 | 225 | sce | ex8_4.sce | // Exa 8.4
format('v',9)
clc;
clear;
close;
// Given data
str= 450;// given number in decimal to convert into octal
str_in_oct= dec2oct(str);// octal equivalent
disp(str_in_oct,"The octal equivalent of 450 is : ")
|
661cc5b9a8484cda208b125be9e7ec889867c50f | 2aa691474c33ea3aaf2cb920b1904e7ce43c6cad | /projects/04/strlen.tst | 83860766951b4c85add875d679c4adf00b02d39d | [] | no_license | viethngn/nand2tetris | 1a586045691352640dcc80137728e7a06e5b0fc0 | 54acdf73356b15d33625a4b0836f278feb081e1c | refs/heads/master | 2020-04-30T13:39:33.395992 | 2019-03-21T03:42:36 | 2019-03-21T03:42:36 | 176,864,801 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,487 | tst | strlen.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/mult/Mult.tst
load strlen.hack,
output-file strlen.out,
compare-to strlen.cmp,
output-list RAM[16]%D2.6.2;
// Should output 7
set RAM[100] 4, // S... |
21e549f6b82e61b12f852accaf5cb8c74f498052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH18/EX12.18.8/Ex12_18_8.sce | 7006f805925ede314193214da2f0393d8f7ce42c | [] | 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 | 438 | sce | Ex12_18_8.sce | //Section-12,Example-4,Page no.-SS.40
//To calculate number of atoms per mm^2 surface area.
clc;
N_100=1+(4*(1/4))
a=4.049*10^-7
A1=a^2
N100_pmm=N_100/A1
disp(N100_pmm,'No. of atoms/mm^2 in(100) plane')
N_110=(1/2*2)+(4*1/4)
A2=(sqrt(2))*a^2
N110_pmm=N_110/A2
disp(N110_pmm,'No. of atoms/mm^2 in(110) plane')
... |
3d73db728a9c1b8b5046f3083a36bd3759d00895 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH3/EX3.3.19/3_3_19.sce | 068e15ed6e5bd88280c3125f4b5f6f08cfc1242c | [] | 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 | 3_3_19.sce | disp('the points forming the parrallelogram are')
disp('(0,0),(5,2),(6,4),(11,6)')
disp('using the vertices adjacent to origin to form a matrix')
A=[5 6;2 4]
disp(A,'A=')
disp('Area of parallelogram = det(A)')
disp(det(A),'=') |
eb372a0401c8080e9cc222506e987fead5bad84a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.31/Ex12_31.sce | 38fed7fe057af5956e6d6d3062cfd45b0ca89533 | [] | 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 | 488 | sce | Ex12_31.sce | //Chapter 12
//page no 510
//given
clc;
clear all;
SNRdB=40; //in dB
NFd=6; //in dB
bw=4; //in GHz
Gd=8; //in dB
hv=1.6*10^-19; //photon energy in J
N=8; //no of amplifiers
SNR=10^(SNRdB/10);
NF=10^(NFd/10); //amplifier noise figure
G=10^(Gd/10); //ampli... |
8d5e159159539cecb57f15a11285deb2788192ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH3/EX3.9/pe3_9.sce | 41c94ea3d7c732dfb885c1d48bb94b8d5dce8016 | [] | 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 | 317 | sce | pe3_9.sce | //example 3.9
clc; funcprot(0);
// Initialization of Variable
Vin=1;
Ri=1100;
Rf=10000;
Rl=8;
Vs=18;
pi=3.1428;
//calculation
Ir=Vin/Ri;
Vl=Ir*(Ri+Rf);
Ip=Vl/Rl;
Pl=(Vl*Ip)/2;
disp(Pl,"power delivered to the load in Watt:-")
Ps=(Vs*Ip)/pi;
disp(Ps,"power provided by each supply in Watt:-")
clear()
|
dcc5b4f8418c8c15476d6a18036d5a5c270f8606 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.12/7_12.sce | 68e90cf01eb010be45c14f20f70be8dafd57e6df | [] | 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 | 751 | sce | 7_12.sce | clc,clear
printf('Example 7.12\n\n')
input_power=15*10^3
V_L=400,V_ph=V_L/sqrt(3)
E_b=480,E_bph=E_b/sqrt(3)
Z_s=complex(1,5) //synchronous impedance
theta=(%pi/180)*phasemag(Z_s) //phasemag returns angle in degree , not radians
I_a_cosphi=input_power/(sqrt(3)*V_L) //product of I_a & cos(phi)
//Applying cos... |
559317b1701eecd117fb6c599620a5a2c53ed939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH12/EX12.1/12_1.sci | ed47a6f06b568e78702752991851854f7f342026 | [] | 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 | 116 | sci | 12_1.sci | //12.1
clc;
K=4;
strain=1*10^-6;
R=150;
dR=K*strain*R*10^6;
printf("Change in resistance=%.1f micro-ohm",dR)
|
e7ef45a90553648a17fac43bb7bba906c9014cc5 | c341a1b2a6e260a17ecd314325165a7fe402bc46 | /solution.sce | 4731d53c861ca102c5b697d68183d3f0e8b259e8 | [] | no_license | ionagamed/iu-dsp-assignment3 | 5013a187b689378934adad1e7fb47da7695f62f0 | 4ba9ddbe605614605160bb01c4b150c6d2edb21c | refs/heads/master | 2021-03-08T00:08:07.521109 | 2020-03-10T13:19:24 | 2020-03-10T13:19:24 | 246,306,097 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,611 | sce | solution.sce | // Task 1 {{{1 =================================================================
// Custom convolution function {{{2 ============================================
// This function uses the multiplicative property of FFT to compute convolution
// with the speed of an FFT (which is NlogN instead of N^2).
function result... |
a3b10368f6d05a6ac77507fe01241885fc445d0e | 598546b56588670efcd591e67deb3578f52ddddc | /btests/4.3.tst | 63d89403c3cffc2a9fc5dd0215d8f58b2490a02f | [] | no_license | natindo/techpark-HM1 | 6ae5da7cca55a5306f33fedd9ab4021a0d897cc2 | e9a4f25d32b0e802d1749ec2f5d1a250b6e1b2f4 | refs/heads/master | 2023-08-25T14:35:18.304147 | 2021-10-13T18:51:42 | 2021-10-13T18:51:42 | 416,403,554 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19 | tst | 4.3.tst | KEYS="4 1"
OUT="1"
|
7e32de57d5c77381f75a6b181be876525693e51d | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH9/EX9.5/sadiku_9_5.sce | e446f74e404ac749041ae9297d62da9b530bd6e8 | [] | 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 | 145 | sce | sadiku_9_5.sce | clear;
clc;
z3=%i,z4=3+4*%i,z5=-1+6*%i,z6=3+4*%i;
z1=(z3*z4/(z5*z6));
disp(z1,'z1 =');
z7=1+%i, z8=4-8*%i;
z2=(z7/z8)^.5;
disp(z2,'z2 = ') |
6f113a2d0820914d25868eb3d03a8d73d4ab3c51 | c8390c7d40cc2d159d87b3d5663d876a1c1bfef3 | /src/another.tst | 875092cd7b69631b7ab306fb5e1670893dac03e8 | [] | no_license | hans-jorg/rtalgs | f4ac8ef6eeff2205e1c1ca28365441c8ac894570 | b2b180bf3b4cce8ae12b115a61866794db065be4 | refs/heads/main | 2023-01-24T12:54:18.288624 | 2020-12-02T18:29:55 | 2020-12-02T18:29:55 | 316,499,844 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | tst | another.tst | ; TASK DESCRIPTION FILE
;
; Task set descriptions, from which tasks are instantiated.
; Keywords are at the line's beginning, and end with ':'.
;Everything in the line after the keywords or values is ignored. Lines
;beginning with '*' are also ignored. No line can be longer than MAX_STRING
;characters, an... |
8d6bcd35f920086b73c43c577ee0d6bea3ef9af9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH5/EX5.3/Ex5_3.sce | 6d4c71a93106fc390d984ba19d12208b575f74b4 | [] | 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 | 332 | sce | Ex5_3.sce |
// Example 5.3
mo=4*%pi*10^-7; // Permeability of free Space
i1=80; // Current in 1st Wire
i2=30; // Current in 2nd Wire
r=2; // Distance between 2 wires
F=(mo*i1*i2)/(2*%pi*r);
disp(' Force between 2 wires = '+string(F)+' N/m');
// p 192... |
8856ddd9894709f7459a6765a3c7775414995077 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH2/EX2.12/2_12.txt | 87ef042f7548ce4d7ed31586f6ce9f4d4abcfa26 | [] | 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 | txt | 2_12.txt | //Caption:Find effective inductance when connected in (a)parallel aiding (b) parallel opposing
//Exa: 2.12
clc;
clear;
close;
L1=1.6;//self inductance of coil 1 (in Henry)
L2=0.1;//self inductance of coil 2 (in Henry)
M=0.34;//mutual inductance (in Henry)
//Refer to eqn-2.45
L_aid=((L1*L2)-M^2)*10^3/(L1+L2-(2*... |
9adee821538dac1aca96e0103ab24134dd458678 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/roundup.tst | e7c0c175793fc1b110ae1d53023e6ab77402ed31 | [
"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 | 130 | tst | roundup.tst | ## Test squash --pushback
set echo
read <roundup.fi
set interactive
:1? resolve
:39,:42 inspect
:42 squash --pushback
:39 inspect
|
2b22009ccd0be078bd01d21a9eaead2ad209fb58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH3/EX3.5/3_5.sce | 78a80578eb6ea5d730243784e0bb9402025201f2 | [] | 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,291 | sce | 3_5.sce | clear;
clc;
// Illustration 3.5
// Page: 171
printf('Illustration 3.5 - Page: 171\n\n');
// solution
//*****Data*****//
// a-ammonia
T = 300; // [K]
P = 101.3; // [kPa]
ya_g = 0.6; // [ammonia concentration in bulk gas]
xa_l = 0.12; // [ammonia concentration in bulk liquid]
Fl = 3.5*10^-3; // [kmole... |
bb84461d0f806eb8950ef9cd47bb2a0b69a7a969 | 7f8a82b193633b744689e1f194923592e656b470 | /rltoolSci/macros/rltool.sci | 499ef06dcf2051dfa5f76b302feb96273816f52f | [] | no_license | josuemoraisgh/rltoolSci | 3b5a5e8fc6a27b60bca3354af5222350cd8e8b3b | a76ad9fbfe988bb2674adfeb466847a32719474a | refs/heads/main | 2023-07-14T10:40:12.549424 | 2021-08-26T17:52:16 | 2021-08-26T17:52:16 | 385,216,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,489 | sci | rltool.sci | function rltool(varargin)
global axes sys gnum gden cnum cden cCk hnum hden Mp T5 ganhoEvans ti dt tf
s = %s;
ti = '0';
dt = '0.1';
tf = '100';
cCk = '1';
cnum='1';
cden='1';
gnum='1';
gden='s';
hnum='1';
hden='1';
Mp = 5.0;
T5 = 0.1;
ganhoEvans = 1000;
... |
31628c4938e66eab03a716ace058c1e7ce6e9566 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.13/ex1_13.sce | a365c70dca846f970f26367a8f79508fe8040eee | [] | 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 | 147 | sce | ex1_13.sce | // Exa 1.13
clc;
clear;
close;
// Given data
V1 = 12;// in V
V2 = 0.3;// in V
V_o = V1-V2;// in V
disp(V_o,"The output voltage in V is");
|
6d953aae72e19b197e5c6ab2d1320d14933cc133 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH1/EX1.11/1_11.sce | f656a92bbaa21a525b9efb6530d0d1631312cc32 | [] | 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 | 607 | sce | 1_11.sce | clc
//initialisation of variables
v=2//ft^3
p=1100//lb/in^2
t1=44//Degree C
t2=15//Degree C
p1=300//lb/in^2
t3=3//Degree c
Cv=0.17//ft/lb
T=273//F
R=96//ft lb
p3=300//lb/in^2
n=1.12//lb
gama=1.404//lb
W=[(144*p*v)/(T+t1)]/R//lb
//CALCULATIONS
Wc=W*Cv*(t1-t2)//C.H.U
p2=p*(T+t2)/(T+t1)//lb /in^2
A=(144*... |
944df05a9a60f55f28f9b360e10b15b893bfa4ad | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/logspace.man.tst | 3c7e37a853a7079a2d3834fd861389c63d9b7644 | [
"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 | 33 | tst | logspace.man.tst | clear;lines(0);
logspace(1,2,10)
|
f09c6a7cfcb6ec69096518b99cd88be26997ab8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.3/16_3.sce | 8295e809e171841931af505331bdce7157468da9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 16_3.sce | clear;
clc;
D=20;Ro=75;
N=10^(D/20);
R1=Ro*(N-1)/(N+1);
R2=Ro*2*N/((N*N)-1);
printf("R1 = %f ohms\n",round(R1*100)/100);
printf(" R2 = %f ohms\n",round(R2*100)/100);
|
cd4b9f0a9a13eeb9c1c5d8c6c5837449199a6302 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Uralic/olo.tst | 082b43dcd0d5d0d2515d207712cfa0437251cc4b | [] | 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 | 272,482 | tst | olo.tst | louhindu N;PRT;SG
kubaidu N;NOM;SG
čiäry N;NOM;SG
kulku N;PRT;PL
käpčy N;PRT;SG
päivikkö N;PRT;SG
tägäläine ADJ;PRT;PL
ižändättömys N;PRT;SG
piähengi N;NOM;SG
piättäi N;PRT;PL
toppoli N;NOM;SG
mečänhoidoala N;GEN;SG
sydämentabuamine N;PRT;PL
fašizmu N;PRT;PL
kapsua V;IND;SG;3;POS;PRS
kosmossusoba N;GEN;SG
tansie V;NFIN... |
c5bf6c175b951bb33f19c7c77cb3d8e4879ef387 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TRI3.prev.tst | 242d9e7c85bfb6070ba75b048702515991c4b8ce | [
"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 | 1,517 | tst | TRI3.prev.tst | ---- j = 2
f = [[[1],[1,1],[1,4,2],[1,7,11,3]], [[0],[0,0],[0,0,0],[0,0,0,0],[1,10,29,26,5]]]
q = [[[0]], [[0]]]
s = [[[1]], [[0]]]
f = [[[1],[1,1],[1,4,2],[1,7,11,3]], [[0],[0,0],[0,0,0],[0,0,0,0],[1,10,29,26,5]], [[1],[1,1],[1,4,2],[1,7,11,3]]]
q = [[[0]], [[0]], [[0]]]
s = [[[1]], [[0]], [[1]]]
-------------------... |
a11a0ac9f21894f4135dd67480155a25fa6ab75c | 1c0a381442e787465dcbfc8eb1ae5192c322ab86 | /scilab/examples/pwm.sci | 98bcc0e2a35ac3aa19571fc3e5603076e3ea2bb4 | [
"MIT"
] | permissive | sfuxy/stDAQ | 1ea87f0dd2ee49812e52208b6bb26cba78b90b1a | bdef5de7c806612feae0b2669b9abfb9f90b7955 | refs/heads/main | 2023-08-11T13:54:01.531127 | 2021-09-01T14:59:14 | 2021-09-01T14:59:14 | 382,806,217 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sci | pwm.sci | // Example for stdaq_set_pwm() as from the Reference Manual in docs/refman
stdaq_open("COM0");
pwm = 1;
duty = 20; // 20% duty cycle
rate = 50; // 50 Hz
stdaq_set_pwm(pwm,duty,rate);
stdaq_enable_pwm(pwm);
sleep(100); // wait 100 msec.
duty = 50; // 50% duty cycle
stdaq_set_pwm(pwm,duty);
sleep(100); // wai... |
cd840a086dfecbb1073026dc603e4388cade9d16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH8/EX8.8/Ex8_8.sce | 0682ca6c5059a471f4aa84e0edc62be06908b47b | [] | 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 | 761 | sce | Ex8_8.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 288
clear;
clc;
//Given Data
vin_p=2;//input signal amplitude in volts
fin=50;//input signal frequency in hertz
I1=10;I2=1.5;I3=0.70;I4=0.3;//input current nth harmonic's amplitude in amperes
//Solution
D2=I2/I1;//second harmonic... |
5beed2dfdab6e6cb4326224c7d473dd26a233e8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.12/i_12.sce | db2b5b2fb5e4e27ea570a61106850637aced93bf | [] | 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 | i_12.sce | // To Compute the resistor, when operating voltage is altered.
clc;
clear;
V=120;
P=100;
Rd=(V^2)/P;
Vr=80; // Reduced voltage
Ir= Vr/Rd;// Reduced current
Rt=V/Ir; // The Total Resistance required to circulate the reduced current.
Re= Rt-Rd; // External resistance required.
disp('ohms',Re,'Th... |
fe33c1512d33319d9dbeb558ef414dc527e626d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.8/ex13_8.sce | deb5331e4061dc0efbd487c88307bfa3498593a9 | [] | 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 | ex13_8.sce | //Chapter-13, Example 13.8, Page 390
//=============================================================================
clc
clear
//INPUT DATA
Ic=80;//collector current in mA
b=170;//common-emitter DC current gain
//CALCULATIONS
Ib=Ic/b;//base current in mA
Ie=Ib+Ic;//emitter current in mA
mprintf("Thus emitter ... |
300dd95d7584e9d74393c5dd7f0095823d2e25bf | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/freq/scilab/incr_freq.sce | 044f4c958208c3495720e9185aa110fd6dbbc17c | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | incr_freq.sce | // Updated(18-7-07)
// 5.1
n=0:16;
subplot(2,2,1), stem(n,cos(n*%pi/8))
xgrid,xtitle('','n','cos(n*pi/8)')
subplot(2,2,2), stem(n,cos(n*%pi/4))
xgrid,xtitle('','n','cos(n*pi/4)')
subplot(2,2,3), stem(n,cos(n*%pi/2))
xgrid,xtitle('','n','cos(n*pi/2)')
subplot(2,2,4), stem(n,cos(n*%pi))
xgrid,xtitle('','n','c... |
5df2c1246b367477b604ebebf59c012f2d4b5ec5 | 11b48ab2e0fbc782931cc1162673a725c914a3ee | /M2/M3DA/Mecanique/Fichiers/Fichiers/MSHloader.sci | 273a3fb780e2ec75e0a18fbe68a40e7abe4b6bef | [] | no_license | naitabdelaziz/M2 | 1fcaa366c5993e6a879af49b40d43d32d1c2387b | c88aba0ae384c804c74e136e8c831b25032c4d0a | refs/heads/master | 2020-06-11T19:40:05.884042 | 2014-11-01T11:56:17 | 2014-11-01T11:56:17 | 26,049,488 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,755 | sci | MSHloader.sci | // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% OBJLoader function
function [ vertices , faces ] = MSHLoader(MSHfile)
//%%%%%%%%%%%%%%%%%%%%%%%%%%%% load the vertices %%%%%%%%%%%%%%%%
fid=mopen(MSHfile,'r');
a = mfscanf(fid,'%s');
while (a~='Coordinates'),
a = mfscanf(fid,'%s');
e... |
717aa33403250edd89b8d711b7bb4c33d3a4a385 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.8_7.tst | 4048b20f17c3f2da8bf85613b6a809c8e34967b6 | [] | 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 | 25,104 | tst | bow.8_7.tst | 8 3:0.6666666666666666 13:0.25 18:1.3333333333333333 22:0.4 34:0.25 44:0.5 46:0.016129032258064516 59:1.0 65:0.5 114:0.16666666666666666 120:1.0 208:0.5 221:0.5 381:1.0 645:1.0 796:2.0 877:1.0 903:1.0 1092:1.0 1149:0.5 1176:1.0 1213:1.0 1339:0.3333333333333333 1397:1.0 1894:1.0 2003:1.0 2154:1.0 2353:1.0 2968:1.0 3002:... |
334318c7fea1ce8684c02e130432c096b44c4ce2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH11/EX11.9/11_9.sce | a912d78fae6334d1b8838481721d9ad78411b815 | [] | 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 | 862 | sce | 11_9.sce | //Example 11.9
//Gauss-Seidel Method
//Page no. 380
clc;clear;close;
U=eye(4,4)-eye(4,4)
U(2,1)=150;U(3,1)=120;
U(2,4)=180;U(3,4)=150
deff('y=d(i,j)','y=(U(i-1,j-1)+U(i+1,j+1)+U(i-1,j+1)+U(i+1,j-1))/4') //diagonal 5 point formula
deff('y=s(i,j)','y=(U(i-1,j)+U(i+1,j)+U(i,j-1)+U(i,j+1))/4') //... |
6961fae1ec3212d44cc9202ef9c18ee33bc49871 | 86959bc0249a84ce262885ec5eae5d39bb5c778a | /tutorial/mode_3/metal_box_sheet_line/build_truesig.sci | 3893a8224009e94fc2bc77cd4b2b9d94cf9690d1 | [] | no_license | exploregeoleigh/HRE4D | 0846de103d2588dc0293f91c4ef59bbd19ffbdbb | a3f17cf22afaaf1ad1a2ca24d1237d524c3e465a | refs/heads/master | 2023-03-21T03:58:44.882132 | 2021-03-17T05:50:44 | 2021-03-17T05:50:44 | 330,889,380 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,413 | sci | build_truesig.sci | //This scilab script builds the conductivity file for tutorial 3.2
//in the E4D users guide.
//make sure there is sufficient memory in the stack
stacksize('max');
//___________________________READ THE MESH_____________________________________
//open the node file for writing
f1=mopen('mbsl.1.node','r');
//read th... |
c1ed7c1dccda05e68365e26abad3811ff7a74c41 | 5c99f90e816244fbea65c73357432fb54ac25d09 | /dynamic_alloc_rishi.sce | 9d7f667c191fc6362b6ec6202ef2ddd9177c845e | [] | no_license | varunkamble/story_book | 6301153ce6898a4275f99017facd814ea1df1633 | 0bc1f9d059b9cc718e36ea0b8da4a53dd24812d3 | refs/heads/master | 2020-03-26T05:27:21.794874 | 2018-10-21T17:15:34 | 2018-10-21T17:15:34 | 144,558,147 | 0 | 1 | null | 2018-09-18T13:33:23 | 2018-08-13T09:31:05 | Python | UTF-8 | Scilab | false | false | 1,330 | sce | dynamic_alloc_rishi.sce | //total number of channels
tch=50
//total number of control channels
cch=12
//total number of channels to be allocated
ach=tch-cch
prior = grand(38,1,"uin", 1,10);
c=1
d=1
for i=1:ach
if (prior(i)<=5) then
high_prior(c)=i
priorityh(c)=prior(i)
c=c+1
else
low_prior(d)=i
priorityl(d)=prior(i)
d=d+1
end
end
printf("high p... |
75c820bfb6d5c8e47daf5e02bbbb6f9eca704c27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.49/ex2_49.sce | a10306d46c46875592201d5959c04b595fd15b76 | [] | 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 | 305 | sce | ex2_49.sce | clc
Vr=25; //Assigning values to parameters
Vcoil=40;
Vc=55;
Vrcoil=50;
I=0.345;
C=20*10^-6;
Xc=Vc/I;
f=1/(2*%pi*C*Xc);
R=Vr/I;
Zcoil=Vcoil/I;
Zrcoil=Vrcoil/I;
r=(Zrcoil^2-(R^2+Zcoil^2))/(2*R);
Xl=sqrt(Zcoil^2-r^2);
Z=sqrt((R+r)^2+(Xc-Xl)^2);
V=I*Z;
disp("Volts",V,"Voltage"); |
2653a374372550fabe1510b615c9c41dd3afc452 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 5/Q3.sce | 4de69dcb2ea8337cd9ae6dc0d429fa1ea4428cf1 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,503 | sce | Q3.sce | clc; clear;
function [rise_time] = Tr(t, sl, flag)
outputs = csim('step', t, sl);
ss_val = mean(outputs(size(outputs, 2)-200:size(outputs, 2)));
if flag then
ss_val = 1;
end
peak_val = max(outputs);
rise_time_low = 0;
rise_time_high = 0;
for i=1:size(outputs, 2)
if(output... |
e2abc621d0c32d026cd21e98fe7fad06d7e4089e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH21/EX21.6/21_6.sce | 850239d60d4e09e74e0b2e2b616ac8186b38aeda | [] | 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,328 | sce | 21_6.sce | clear
clc
//Example 21.6
disp('Example 21.6')
//data
x=[ 17.7 1380.
23.6 1458.
13.2 1322.
25.2 1448.
13.1 1334.
27.8 1485.
29.8 1503.
9. 1540.
14.3 1341.
26. 1448.
23.2 1426.
22.8 1417.
20.4 1384.
1... |
2768c0d04cc2f614b62f3a7b9311ed27a1dc0d5f | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/pipe_command_1.tst | fe066294be1251d16ebbc9b725a5b69463109a9e | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | tst | pipe_command_1.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
ls / | cat -e | sort
</stdin>
|
16df6ab24dda0d34db08285add2712749ea56638 | c6f8bc8a96cc612d33dfd5a50cc7ab6ddb4442c5 | /resultados/CurrentAlgorithms/Scilab/fft_notes_over.sci | 2535dcd465c31eccd9e6be30e04ea83f4f2254ac | [] | no_license | gabiapple/TCC | 5a0b28e7d0460e18ec152cac98e2edff7709ab83 | ab518fb4711402dadfb2f6d76753d964b560ae89 | refs/heads/master | 2020-03-29T15:11:21.985800 | 2019-11-21T11:07:20 | 2019-11-21T11:09:15 | 150,049,256 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,035 | sci | fft_notes_over.sci | function fft_note = fft_note()
som1 = wavread('acordes/sol.wav')
som2 = wavread('acordes/sol_5casa.wav')
som3 = wavread('acordes/sol_pestana_3casa.wav')
som4 = wavread('acordes/sol_pestana_10casa.wav')
som5 = wavread('acordes/sol_quinta.wav')
exec get_mono_signal.sci;
exec get_fourier_transform.sci;
//Get one dimen... |
50737fc318dcf5b78d8fcbf37d6076aa488a3929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH2/EX2.29/ex29.sce | 378fabc722df20897b82e8564c2a084105404d19 | [] | 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 | 916 | sce | ex29.sce | clc
clear
//Input data
p1=1000;//Pressure at the inlet of the system in kPa
p2=15;//Pressure at the outlet of the system in kPa
v1=0.206;//Specific volume at the inlet of the system in m^3/kg
v2=8.93;//Specific volume at the outlet of the system in m^3/kg
h1=2827;//Specific enthalpy at the inlet of the system in... |
62fab57b1b462f455db96fb62cfc3dbdee5d345e | 76a83cfb88a40c41e30531ec7d9661b0136d503c | /Faceviewing.sce | 73f4613caee71903d4173a294e7291bb6cc3a3a1 | [] | no_license | UtrechtUniversity/youth-tasks-fmri-faceviewing | 30378b8d1b971b3b42b13ef20bf334e0e73dc89a | 8726631e0fdc88625a47a0fae67967942e03c4ee | refs/heads/main | 2023-08-16T18:30:43.413459 | 2021-08-19T09:55:54 | 2021-08-19T09:55:54 | 405,977,171 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,964 | sce | Faceviewing.sce | # 2017 - ppas
scenario= "faceviewing";
scenario_type= trials;
active_buttons= 2;
button_codes= 1,2;
default_all_responses = false;
default_background_color = 108, 108, 108;
default_text_color= 255,255,255;
default_font="arial";
default_font_size=18;
response_port_output=false; ... |
c2770bb1ded6599678d5da59322e0b108ef4d278 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH1/EX1.3/1_03.sce | bf41fb9c6d88c84451c196f9a8932ac1dd134a90 | [] | 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 | 274 | sce | 1_03.sce | errcatch(-1,"stop");mode(2);//Chapter 1, Problem 3
;
M=0.2; //mass in Kg
g=9.81 // acceleration due to gravity
F=M*g; //calculating the force
//Force acting downwards = weight
printf("Force acting downwards = %f N",F);
exit();
|
ad9dedc6ebc79f483bec4dbec9df6b6a1cb3feb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH15/EX15.1/ex_15_1.sce | 01c8acfdf6b0971494e737df56c139fdce141910 | [] | 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 | 661 | sce | ex_15_1.sce |
clc
//soltuion
//given
//ref fig 15.5
L=450//mm
P=400//N
ft=100//N/mm^2
t=55//N/mm^2
//let d1 be mean dia of pin and d be dia of spindle
d=50//mm
T=P*2*L//N-mm
//T=2*(%pi/4)*d1^2*t*(d/2)
//T=2160*d1^2
d1=sqrt(T/2160)//mm
printf("the dia of pin is ,%f mm\n",d1)
//let D be dia of handle
M=P*L//N-mm
T1=400*100//N-mm
Te=s... |
07a75b84bb6856c0a8682ef3fa7894c47463e675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH6/EX6.11/Chapter6_Example11.sce | 96dbc4ae91323e32d46661d050622e6a3cc47068 | [] | 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,128 | sce | Chapter6_Example11.sce | //Chapter-6, Illustration 11, Page 317
//Title: Refrigeration cycles
//=============================================================================
clc
clear
//INPUT DATA
T1=-18;//Temperature at point 1 in oC
T3=27;//Temperature at point 3 in oC
rp=4;//Pressure ratio
m=0.045;//mass flow rate in kg/s
y=1.4;... |
5924f01308ef14d65947f00e2ae492400d9cae9b | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/GachanGame/GachanGameObject/GachanGameObjectBlock00.tst | c5fa224c178587b198021cbe2acf8b83a8fc199a | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85,422 | tst | GachanGameObjectBlock00.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_BlockA__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
#endif
DX3DMATERIAL_START( mater... |
33e106cce0f75fe36383c0b9134a71d8dc779461 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH11/EX11.1.2/Ex11_1_2.sce | f18ba012203c73c7bbfd6ac14713d09f382b5746 | [] | 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 | 371 | sce | Ex11_1_2.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 10.3.3
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given
ETA=0.7;//The quantum efficiency
lambda=1664;//Operating wavelength in nm
R=(ETA/1248)*lambda;//Responsivity of an InGaAs photodiode A/W
mprintf("Re... |
879c6a1d7f2da46cfbb2c6369a9cde4e6da9a141 | 2587236934174196597ea90b834c2cf87d5bdb0d | /desembaralhador.sci | cefa3e789e1ca3473fb9656f92206c4a63a3ff40 | [] | 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 | 545 | sci | desembaralhador.sci | //Desembaralha um sinal
//Recebe: T - sinal a ser desembaralhado
// firtD - Numero de atrasos do primeiro estágio
// sescD - Numero de atrasos do primeiro estágio
//Retorna: S - Sinal desembaralhado
function[S] = desembaralhador(T, firstD, secD)
S=T(1,1:firstD);
nT=size(T,2);
//Embaralhador
i=firstD + 1;
... |
e2c7b5996ec54a0708f2bc2fedae735a9e0b5f66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH3/EX3.2/3_2exam.sce | 978deb53b98f04f1f8ec27a08f1b2a1a796d7e30 | [] | 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 | 703 | sce | 3_2exam.sce | //Engineering and Chemical Thermodynamics
//Example 3.2
//Page no : 119
//Solution(a)
clear ; clc ;
//Given
del_U = 0 ; // As no work or heat transfered across its boundaries during the process
T_1 = 500 ; // [K]
V1 = 1.6682 / 2 * 10^-3; // [m^3]
V2 = 2 * V1 ;
del_S_sur = 0 ; // As no heat transfered ac... |
3dcf1c97c0f9b5fbeeb3d018ad523c070e52450c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH8/EX8.2/Ex8_2.sce | dea527ffbfcfc57580b734d66b98f6228fbffeca | [] | 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 | Ex8_2.sce | // Ex8_2 Page:164 (2014)
clc;clear;
h = 6.626e-034; // Planck's constant, Js
m = 9.1e-031; // Mass of an electron, kg
e = 1.6e-019; // Energy conversion factor, J/eV
rho = 10.5; // Density of silver, g/cc
M = 108; // Atomic weight of silver, g/mol
N_A = 6.02e+023 // Avogadro's number, atoms/mol... |
f3bbb54c2ba6f241967600e3470acaa6180f1bab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH12/EX12.4/ex12_4.sce | 53ae8d95b05ec37b36a07311ac07adfc1e6952f9 | [] | 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 | 401 | sce | ex12_4.sce |
clc
//given
AB=12.5//in
IB=10.15//in
IA=10.75//in
IX=2.92//in
IY=5.5//in
w=3//lb
Fi=5//lb
Fa1=9//lb
Fb1=(Fa1*IA-w*IY-Fi*IX)/IB
//From the polygon of forces
Fa2=7.66//lb
Fb2=3.0//lb
Fa=(Fa1^2+Fa2^2)^(1/2)
Fb=(Fb1^2+Fb2^2)^(1/2)
printf("\nThe total force applied to the link AB at the pin A = Fa = %.2f l... |
70e03a215d0681483a524a105c13e2dcad1113da | e708f81011d4a09a8ad1ee85f0c1872e1634f35c | /Documentation/Wrapping/Scilab/btk/sci_gateway/loader_gateway.sce | b3b311345c28d494277abfe1243b5c7e6b4c2b4a | [
"BSD-3-Clause"
] | permissive | allardhoeve/BTKCore | ef26f818acf06780c3e57147097f65f2d72c1c27 | f6805699fe37f64ac6434a92736c6b59f0ea148d | refs/heads/master | 2020-04-27T07:58:51.948297 | 2019-03-28T11:03:41 | 2019-03-28T11:03:41 | 174,155,043 | 0 | 1 | NOASSERTION | 2019-03-06T14:27:02 | 2019-03-06T13:55:59 | C++ | UTF-8 | Scilab | false | false | 602 | sce | loader_gateway.sce | // ====================================================================
// Allan CORNET
// Simon LIPP
// INRIA 2008
// ====================================================================
// Generated by builder_gateway.sce, do not edit
// ====================================================================
sci_gateway... |
a77f4c14314f8d51002033303827b08e3f7c1162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.7/11_7.sce | 0ea507ea152d015b8405bcaaa6a9fa71c6f13b9f | [] | 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,512 | sce | 11_7.sce | //To find stress in the belt
clc
//Given:
N1=200, N2=300 //rpm
P=6*1000 //W
b=100, t=10 //mm
x=4, d2=0.5 //m
mu=0.3
//Solution:
//Stress in the belt for an open belt drive:
//Calculating the diameter of the larger pulley
d1=d2*(N2/N1) //m
//Calculating the velocity of the belt
v=%pi*d2*N2/60 //m/s
//Calculating the ang... |
2bfb5fa2764ffa24e7e1e7c6f1e55be5ffeebec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH9/EX9.7/unstb.sce | b360cf96bc622d606033a5f2ed80e0f99524a54d | [] | 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,530 | sce | unstb.sce | // Simulation of closed loop system with an unstable controller, as discussed in Example 9.5 on page 335.
// 9.7
exec('desired.sci',-1);
exec('zpowk.sci',-1);
exec('polmul.sci',-1);
exec('polsplit2.sci',-1);
exec('polsize.sci',-1);
exec('xdync.sci',-1);
exec('rowjoin.sci',-1);
exec('left_prm.sci',-1);
exec(... |
e21d2cc9ebc7f742e2fe8f0af1b257e03bf52a09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH1/EX1.6/Exa1_6.sce | f367c89e8baf941378ac4e33551e69b68c63bf4f | [] | 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 | 214 | sce | Exa1_6.sce | //Exa 1.6
clc;
clear;
close;
//given data
lambda=1.539;//in Angstrum
theta=22.5;//in degree
n=1;//order unitless
d=n*lambda/(2*sin(theta*%pi/180));//in Angstrum
disp(d,"Interpolar distance in Angstrum : ") |
514c2f5c82d4ddb8434a9991489308ac4fad5688 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH14/EX14.9/14_9.sce | 3ee09f74dad715810b153eb9a1a7802356a817b5 | [] | 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 | 317 | sce | 14_9.sce | //Find Eddy current loss at 60 and 100 Hz
//Ex:14.9
clc;
clear;
close;
f=50;//in Hz
L=100;//Eddy current loss in transformer in W
f1=60;//in Hz
w_e=L*(f1/f)^2;//in W
disp(w_e,"Eddy current loss at 60 Hz (in W) = ");
f2=100;//in Hz
w_ee=L*(f2/f)^2;//in W
disp(w_ee,"Eddy current loss at 100 Hz (in W) = "); |
be56283e47be07c2914a12eda05a908e92171106 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.33/P6_33.sce | 4de06062c6d86d43786c6c3b7bc7b2ea90063f84 | [] | 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 | 158 | sce | P6_33.sce | //EXAMPLE 6.33
//Transfer function of moving average filter
clear;
clc;
syms n z M;
x=z^(-n);
H1=nusum(x,n,0,M-1);
H=H1/M;
disp(H,'Transfer function, Hz = '); |
b06eb75195240a22d0c95b0161e12bc9618065a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH6/EX6.8/FFT_Exercise1.sce | 54ed73fe4a59a4d60dc2a737d144017dad25465e | [] | 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 | 203 | sce | FFT_Exercise1.sce | //Graphical//
//Exercise 6.8
//Program to Calculate DFT using DIF-FFT algorithm
//x[n]= 1, 0<=n<=7
clear;
clc;
close;
x = [1,1,1,1,1,1,1,1];
X = fft(x,-1)
//Inverse FFT
x_inv = real(fft(X,1))
|
11782ee9d9cd4c04d18682068b2c2e3ed9463231 | 8712fac5701f1aea100763dd8e3c1e4a06470df1 | /FourierScilab_ST.sci | 894bc4f3b05b5e8564b0bf87ead01265e47b78b8 | [] | no_license | paula-an/FourierScilab | a47404673d957a098b988444aec86c50b1fc96f4 | 32782dfe8904107c9a4c707f683f931570b195a1 | refs/heads/master | 2022-12-04T06:37:40.792025 | 2020-08-10T22:05:42 | 2020-08-10T22:05:42 | 285,903,782 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,440 | sci | FourierScilab_ST.sci | clc // Limpa o console
clear // Apaga as variáveis do "navegador de variáveis"
xdel(winsid()) // Apaga as janelas gráficas abertas
A = 10 // Amplitude do pulso
tau = 1 // Largura do pulso
H = -100:100 // Vetor de harmônicas a serem avaliadas
nH = length(H) // Número de harmônicas a serem avaliadas
//... |
6f8a76d3555a3371c49e202f79d841104b775c18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH5/EX5.7/7.sce | af1739a612a2be7a49a0fce617b84eec3d78d7cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | 7.sce | clc;funcprot(0);
//Example 5.7
//Initializing the variables
Vj = 5*10^6; //Velocity of Jet
Mr = 150000; // Mass of Rocket
Mf0 = 300000; // Mass of initial fuel
Vr = 3000; //Velocity of jet relative to rocket
g = 9.81; // Acceleration due to gravity
//Calculations
m = Vj/Vr; ... |
064a95736b630ed78f98237da59db52cc45aefa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH5/EX5.6/e5_6.sce | 8ebd9ed802e6c5bde7e5e8bffb249fa65c83a2a5 | [] | 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 | 642 | sce | e5_6.sce | //example5.6
clc
disp("a) We have,")
disp("A_vmid=(-g_m*R)= -15")
r=15/(5*10^-3)
disp(r,"Therefore R(in ohms)=(-15)/(-5*10^-3)= ")
disp("b) The Miller effect capacitance is given by ")
disp("C_d(in F)=C_gs+(1+g_m*R)*(C_g*d)")
c=(10^-12)+((1+15)*(3*10^-12))
format(8)
disp(c," = (1*10^-12)+(1+15)*(3*10^-12)=")
... |
29f89cc9be8561a705a31611eff5726d80485f8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH7/EX7.10/data05.sce | 4cc7dbe160afb8fab3cd1f00887f3554c4678516 | [] | 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 | 580 | sce | data05.sce | // Solution to polynomial equation, as discussed in Example 7.14 on page 295.
// 7.10
exec('move_sci.sci',-1);
exec('makezero.sci',-1);
exec('seshft.sci',-1);
exec('colsplit.sci',-1);
exec('clcoef.sci',-1);
exec('cindep.sci',-1);
exec('indep.sci',-1);
exec('t1calc.sci',-1);
exec('left_prm.sci',-1);
exec('p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.