blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
679a4be0bf46d1d5b60f1bd138f04eba7228ad16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH17/EX17.7/C17P7.sce | 62d9f0ce38a6e27a1d0c1d1a3986b5260f7e9f22 | [] | 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 | 578 | sce | C17P7.sce | clear
clc
//to find time required by body to come halfway
// GIVEN:
//refer to figure 17-15 from page no. 385
//from the equation given
//radius of reference circle
r = 0.35//in m
//angular speed
omega = 8.3//in rad/s
// SOLUTION
//refer to problem 17-5
//angle turned to come halfway
wt = 60//in degree... |
ff4a81b7f28a5e539d7d00d30ae7a268ab629470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.20/Chapter5_Example20.sce | 131e7debeb56421db4971b7ad01a4d7806e885ce | [] | 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 | 420 | sce | Chapter5_Example20.sce | clc
clear
//Input data
t1=0;//The given temperature in degree centigrade
//Calculations
T1=t1+273;//The given temperature in K
T2=(1/2)^2*T1;//The temperature at which the r.m.s velocity of a gas be half its value at 0 degree centigrade in K
T21=T2-273;//The required temperature in degree centigrade
/... |
7cc05ee0fc33021f67f26e1655aec64f1dc30871 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH18/EX18.1/Example1.sce | ec0b3c22acb34ab194cd1dfce0b90e961050f570 | [] | 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,229 | sce | Example1.sce | clear
flag=1
mode(-1)
clc
printf("Example 1 : Show the method of using field extraction in awk \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are preloaded in the form of a demo\n\nIniti... |
39d86e4bf005c1c24233e64f0cbd58a1d1c72ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH11/EX11.7/ex11_7.sce | 0441fe7f8c47ef7956a03ead2cd6a6e7e8130196 | [] | 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 | 489 | sce | ex11_7.sce | //Page Number: 11.15
//Example 11.7
clc;
//(a)Channel Matrix
//Given
Py1byx1=0.9;
Py2byx1=0.1;
Py1byx2=0.2;
Py2byx2=0.8;
PYbyX=[Py1byx1 Py2byx1;Py1byx2 Py2byx2];
disp(PYbyX,'Channel Matrix,P(Y/X):');
//(b)Py1 and Py2
//Given
Px1=0.5;
Px2=Px1;
//As P(Y)=P(X)*P(Y/X)
PX=[Px1 Px2];
PY=PX*PYbyX;
disp(P... |
0215a50e8f5c283f6a035d40170a271374325ca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH3/EX3.10/Ex3_10.sce | 52802c086b4e699b5db1ed5094d5904c181feb7d | [] | 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,066 | sce | Ex3_10.sce | Bf=1300//width of flange, in mm
Df=100//thickness of flange, in mm
d=500//effective depth, in mm
sigma_cbc=5//in MPa
sigma_st=275//in MPa
m=18.66//modular ratio
Ast=1570//in sq mm
Asc=1256//in sq mm
top_cover=30//in mm
//to find critical depth of neutral axis
Xc=d/(1+sigma_st/(m*sigma_cbc))//in mm
//assume x... |
ffb0a5f9fb1b197f5cb71fd60c369711e0aa6a96 | ad6dfdda667ace738c35e5b68986a792213c5a55 | /make-tests/make05.tst | a8186dc11029374cc379163815a496b36ebadbbb | [] | no_license | kombuchafox/API | 0fd8417c0f93e7883b99c7ed7bd2001447f0e249 | f964dc287bca40bde60427e92a8d73ef1adf1d3c | refs/heads/master | 2021-09-18T18:16:36.609858 | 2018-07-18T05:19:44 | 2018-07-18T05:19:44 | 15,957,824 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | tst | make05.tst | java -ea make.Main -f make-tests/make05.mk -D make-tests/file01
|
1060fda567040ae8a59e45087fd82dfcfa3cdd6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH19/EX19.08/19_08.sce | 0a77e8f2d20f3467f5ffe88b006f1e08c4cdee9c | [] | 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 | 532 | sce | 19_08.sce | //pathname=get_absolute_file_path('19.08.sce')
//filename=pathname+filesep()+'19.08-data.sci'
//exec(filename)
//Speed of jet plane(in m/s):
Ca=250
//Density of air(in kg/m^3):
d=0.15
//Drag(in kW):
D=6800
//Propulsive efficiency:
np=0.56
//Relative velocity(in m/s):
Ce=2*Ca/np-Ca
//Absolute velocity of je... |
2d61ecbdaf83d704fc5025fe4ad8c3c9cc569f72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.10/ex_1_10.sce | e376d2dabc4628a89b98d4f860ce7799ac2755b7 | [] | 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 | 227 | sce | ex_1_10.sce | clear;
clc;
close;
t=0:1/100:10;
w=1;
theta=%pi/3;
T=2*%pi/w;
x=cos(t*w+theta);
y=cos((t+T)*w+theta);
if ceil(x)==ceil(y) then
disp('cos(wo*t+theta) is periodic with T=2*pi/W0')
else
disp('nonperiodic')
end |
3bfbe629e8b6b22135cdcffbb6dcd37971bdbfc2 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MaximumLikelihoodEstimation/FLMLEWeibullUdt-NZ-01.tst | 8b66462a2ae9f3ea35816b5eae532160d5318085 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 61,977 | tst | FLMLEWeibullUdt-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
--... |
6e59068b34f3642a4f0cbd946a660849cc79cbaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH2/EX2.4/Example2_4.sce | ded27eb22af1c6ea60a0e97e0f0a7de4609ca231 | [] | 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 | 466 | sce | Example2_4.sce |
clear;
clc;
printf("\t Example 2.4\n");
k=18; // thermal conductivity of ressistor, W/(m*K)
A=1; //area of slab surface, m^2
hc=3000; //convective heat transfer coefficient,W/(m^2*K)
//Req=1/A*(2L/k+1/hc), for contact ressistances to be neglected 2L/18 must be very greater than the 1/3000
printf("th... |
29e04e5cabab75c04f9f4bf0e7c657b0258b5231 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH10/EX10.5/10_5.sce | 5b3f57f5924b60aeafac9611249d20b0e002c111 | [] | 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 | 128 | sce | 10_5.sce | clear; clc; close;
Rf = 500*10^(3);
R1 = 100*10^(3);
V1 = 2;
Vo = -(Rf/R1)*V1;
disp(Vo,'Output voltage(Volts) = ');
|
749e65ac6714c2b951c699c83b1de96a450a381e | b667735486117d0c7bb30d616ee6ed37032e947d | /online/labca3_5/documentation/xmlhelp/en_US/lcaDebugOff.sci | 6c3d6345f3bd538f4a12c80eecf3ccbed35c9b57 | [
"EPICS",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KIT-IBPT/MML | 6b8093aec421162c56ada56daa2d43a1b6977e62 | 4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26 | refs/heads/master | 2021-08-28T07:39:45.693497 | 2021-08-04T13:14:01 | 2021-08-04T13:14:01 | 226,303,582 | 0 | 0 | null | 2019-12-06T10:28:11 | 2019-12-06T10:28:11 | null | UTF-8 | Scilab | false | false | 308 | sci | lcaDebugOff.sci | function lcaDebugOff
// Switch the ezca library's debugging facility off.
//
// Calling Sequence
//
//lcaDebugOff()
//
// Description
//
// Switch the ezca library's debugging facility off.
// __________________________________________________________________
//
//
// till 2017-08-08
endfunction
|
b2816d75d313be741dc49109e27c9d6323996768 | 48d313982e11468e3406524c01f1cba2700a2db5 | /Calcul numeric/ResurseTemaCalculNumeric/New folder/ExFct/fib.sci | a03a2a298b188f72009b6fc26451668af3fb0ee7 | [] | no_license | albanionut/University | b8e918a192c131647099c57e1b2caa231de98d6d | b3d3dfe3cf64d0cddfaeb570151adf7d4c9ad0b7 | refs/heads/master | 2021-07-13T11:31:29.880681 | 2020-10-10T15:07:00 | 2020-10-10T15:07:00 | 214,223,943 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sci | fib.sci | function t=fib(n)
t=[1,1];
for i=3:n
t(i)=t(i-1)+t(i-2);
end
endfunction |
909a73ecee62c9965669321dedddeea97200e2cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.20/20.sce | d9dec6ea72242011a1057976af1527766cb53370 | [] | 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 | 20.sce | clc
// Given that
lambda_1 = 6000 // wavelength of light in angstrom
lambda_2 = 4800 // wavelength of light in angstrom
theta = asin(0.75) // Angle of diffraction
// Sample Problem 20 on page no. 165
printf("\n # PROBLEM 20 # \n")
printf(" Standard formula used \n")
printf(" n*lambda= sin(theta)/N \n")
n = ... |
1a98ec68803324277fd7f4e227495ed1faa4354e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/invr.man.tst | 8fba7a1ef5476645bc61854525de44f4c8c74aec | [
"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 | 124 | tst | invr.man.tst | clear;lines(0);
s=poly(0,'s')
H=[s,s*s+2;1-s,1+s]; invr(H)
[Num,den]=coffg(H);Num/den
H=[1/s,(s+1);1/(s+2),(s+3)/s];invr(H)
|
0227df130a7dfbaf479e1407aa6d915c8109b28c | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2104.sce | c730186951459503c58773634e3282c702676639 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,217 | sce | map2104.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2104" Width="13" Height="15" CellSize="40" BackgroundSize="1" Background="13plus.png">
<Cell Name="木箱" X="6" Y="1" />
<Cell Name="猪怪-bt" X="9" Y="1" arg0="28" />
<Cell Name="木箱" X="10" Y="1" />
<Cell Name="树" X="11" Y="1" />
<Cell Name="出生点" X="1" Y="2... |
643a3923d106d9bf4e3e6c8b0b257dfe0a5f5e4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.10/Example3_10.sce | 8a8834b734b0862a9d825fbf7c31e4a382810fb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Example3_10.sce | //Example 3.10
clc;
clear;
close;
format('v',9);
//Given data :
g=9.81;//gravity
xbar=8;//meter
D=4;//meter
A=%pi*D^2/4;//meter^2
w=g*1000;//in N/m^3
p=w*A*xbar/10^3;//in kN
disp(p,"Total pressure in kN : ");
IG=%pi*D^4/64;//in m^4
h_bar=IG/A/xbar+xbar;//in meter
disp("Depth of centre of pressure is "+st... |
3753b06ca662c6b91bb1e4a3dc6843d40883ac08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH18/EX18.7/18_7.sce | 9a473cfe68f75d5cd72f2636b534cadc45cf9614 | [] | 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 | 177 | sce | 18_7.sce | clc
//initialisation of variables
v= 8.867*10^13 //sec^-1
u= 1.628*10^-24 //gms
//CALCULATIONS
k= (%pi*2*v)^2*u
//RESULTS
printf (' force constant = %.2e dyne cm^-1',k)
|
e9e606dbfdabcda81ce3320b873a94f3781f653f | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH5/EX5.4/example5_4.sce | a5cab9c1853709a22d6a1b80109a23b5b50bc276 | [] | 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,866 | sce | example5_4.sce | disp("Part a");
disp("if the pilot is not lit, no emf will be generated and all voltages will be zero");
disp("Part b");
disp("If the thermocouple is defective, all voltages will be zero (no emf generated)");
disp("Part c");
disp("voltmeter readings when connected across A and B is 750 mV")
disp("voltmeter readin... |
342872b6b69cfe6cd5e8bd69d9e360acdb1e7e12 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/sci_fieldnames.sci | 2f124cdf106f0c943edee47d28511573431f2040 | [
"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 | 206 | sci | sci_fieldnames.sci | function [stk,txt,top]=sci_fieldnames()
// Copyright INRIA
txt=[]
if isname(stk(top)(1)) then
s=stk(top)(1)
else
s=gettempvar(1)
txt=s+'='+stk(top)(1)
end
stk=list(s+'(1)(2:$)','0','?','1','10','?')
|
5c1cd381fdb96230bdb12b0127c78206800cf548 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH2/EX2.5/ex_2_5.sce | ca8b4af2e6cf258bb2209ea2a2096aab1da55cd8 | [] | 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 | 690 | sce | ex_2_5.sce | //Example 2.5; pulse broadning
clc;
clear;
close;
format('v',6)
disp("part (a)")
h=850;//WAVELENGTH IN NANO METER
l=80;//fiber length in Km
dh=2;//in Nano Meter
m1=105.5;//material dispersion for h=850nm in ps/nm-Km
m2=2.8;//material dispersion for h=1300nm in ps/nm-Km
t=m1*l*dh*10^-3;//material dispersion in ns when h... |
dea676b47d277f044e550f6dde4b409d5e7726c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH8/EX8.16/8_16.sce | 026140ac2f10e98673213a8bccf0d1ad99006059 | [] | 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 | 319 | sce | 8_16.sce | //calculation of K on root loci
s=%s
sys=syslin('c',(s+2)/(s^2+2*s+2))
evans(sys)
//value of K at s=0
printf("K=A*B/C \n A and B are lenths of vectors drawn from poles of sys \n C is lenths of vector drawn from zero of sys")
A=sqrt((-1)^2+1^2)
B=sqrt((-1)^2+(-1)^2)
C=-2
K=A*B/C
disp(K,"value of K at s=0 is") |
904404bf5e84ec6dbcbcb4cf9b1fe833386cce67 | fde3e6cb4f00a38c6d09434e8fe3a52c6dd7b3bc | /Labo_1/Labo_1.sce | 8e5dd7cb40bcac54d26b6a2e698c34eeb56e4a99 | [] | no_license | HardelinTanguy/Labo_Statistique | 6b0f08a793fa61e23e7df5b64e1a145fc0105a30 | 76052a79b10764c05e80ab9cf77a2477e4ac1eec | refs/heads/master | 2020-05-23T10:20:35.573811 | 2017-01-30T14:46:31 | 2017-01-30T14:46:31 | 80,423,463 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Labo_1.sce | clear;
clc;
function [nombre]=loi_uniforme(n)
x=1:n
nombre=1:n
for i=1:n
nombre(i)=grand(1,1,"uin",1,6)
end
// scf(1)
// plot2d(x,nombre)
// histplot(linspace(0.5,6.5,7),nombre)
endfunction
function [nombre]=fdr(nombre)
val=[0 0 0 0 0 0]
for i=1:(length(nombre)-1)
val(n... |
f34ae5f38720607fc73cf7f1b8967ffc9484c1a5 | 906f286d018d405ea3ace52a3e8e8a109d68cefe | /kalman/scilabExample.sce | ed11a971d2c51003a4594d79bb584ec38895639b | [] | no_license | andreinakagawa/control | 165398c239178670934328a278113d136e7c5747 | b69f0cb7ee4f4328bdc7d45d7bb9fd82eec6343f | refs/heads/master | 2021-01-21T21:38:24.436418 | 2017-07-13T18:57:30 | 2017-07-13T18:57:30 | 92,322,739 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,824 | sce | scilabExample.sce | clear;
clc;
// Construction of the sinusoid
w=%pi/4; // angular frequency
T=0.1; // period
t=0:T:100;
signal=cos(w*t);
// Sinusoid with noise
v=rand(t,"normal");
y=signal+v;
// Plot the sinusoid with noise
//subplot(2,1,1);
//plot(t,y);
//xtitle("sinusoid with noise","t");
// System
n=2; // system order
f=[cos(w*T) -si... |
46a94c067d66bbd56b710991b6ebfc7951079715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH19/EX19.3/19_3.sce | 4a7eedb089feff67d99c865d6dfa67abc58c4a7a | [] | 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 | 181 | sce | 19_3.sce | clc
//Initialization of variables
r1=0.850
r2=0.50
//calculations
Da=-log10(r1)
Db=-log10(r2)
D=Da+Db
r3=10^(-D)
//results
printf("Transmittance of solution = %.3f ",r3)
|
dd51f2cf72f51d8d3af8533ce2f4c9696ba78a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.5/1_5.sce | c7babac38415fe886c4475e5b599a0851b24e5f4 | [] | 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 | 657 | sce | 1_5.sce | // To find the inductance of a choke to operate a 120V 500W lamp at 230V
clc;
clear;
V=120;
W=500;
Rl=(V^2)/W;
I=W/V; // Circuit Current
// Q of a choke means the ratio of its inductive reactance to its resistance
Q=2;
f=60;
w=2*%pi*f;
Vs=230; // Supply Voltage
Xcir=230/I;
L=poly([0 1],'L','c... |
bff7b5275f0024b9ff0aa58b53578a3150c32670 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH5/EX5.6/Ex5_6.sce | db9daecd9569e1a80136c15b9e5ed73c9ccde1d8 | [] | 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 | 197 | sce | Ex5_6.sce | //problem 6 pagenumber 5.100
//given
c=10e-6;//farad
w=6;format(6);
//determine R
r=w/(1.11*c);
format(6);
disp('R = '+string(r/10^3)+' Kohm');
disp('C1 = '+string(c*1e6)+' μfarad');
|
78e61a0a50ad24de7c97dc7bc1e943f74ba50ed9 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/reset_mdaq_blk_idx.sci | 930d0fe8afc287c03168aa850ec751a0b8d41d48 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 589 | sci | reset_mdaq_blk_idx.sci | function reset_mdaq_blk_idx()
global %microdaq;
%microdaq.private.dac_idx = 0;
%microdaq.private.adc_idx = 0;
%microdaq.private.mem_write_idx = 0;
%microdaq.private.to_file_idx = 0;
%microdaq.private.webscope_idx = 0;
%microdaq.private.udpsend_idx = 0;
%microdaq.private.udprecv_idx... |
127f48db9b0777438135d188387de01367301775 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Working_Memory_MEG_KP85YLZ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 281ba20bf7991f1e77ad7a2c7e58de201967e3ef | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,615 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
2409d726c5a4ce1a8240af5f9d19fe74f873e5cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.3.b/3_3_soln.sce | 1ba784795586b846b3c4fea71c90a10351fe6f74 | [] | 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 | 426 | sce | 3_3_soln.sce | clc;
pathname=get_absolute_file_path('3_3_soln.sce')
filename=pathname+filesep()+'3_3_data.sci'
exec(filename)
// Solution:
// we know,output power=(Force * Displacement)/time,
outpw=(F*S)/t; //ft.lb/s
outpw_HP=outpw/550; //HP
// Efficiency=output power/input power
inpw=outpw_HP/(eta*0.01); //HP
// Results:
printf... |
8513bc4ff11b2af3da4f6d4c2a789970e1c2f6fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.7/example13_7.sce | 46c76e70e3d47fee0028ed9e0aa933ae4c7878d8 | [] | 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 | 376 | sce | example13_7.sce | clear;
clc;
//Example13.7[Radiation Heat Transfer between Parallel Plates]
//Given:-
T1=800,T2=500;//Temp of parallel plates[K]
e1=0.2,e2=0.7;//Emissivities
//Solution:-
q12=(5.67*10^(-8))*((T1^4)-(T2^4))/((1/e1)+(1/e2)-1);
disp("is transferred from plate 1 to plate 2 by radiation per unit surface area of eit... |
a64a5e427183996003c5d42e30a2de1e5927b9df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH12/EX12.7/Ex12_7.sce | d21a8d60e1d6eacf42e7be36867da274243fc56f | [] | 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 | 417 | sce | Ex12_7.sce | //Chapter 12,Example 7, page 410
//Determine the induced sheath voltage
clear
clc
D = 15 // cm
rsh = 5.5/2 // Sheath diameter converted to radius in cm
I = 250 // A
E = 2*10^-7*314*I*log(D/rsh)*10^3
printf("\n Induced sheath voltage per Km = %f V/km",E)
printf("\n If the sheaths are bonded at one end, the voltage betw... |
fdc5e93e1f2f58ee742a0f84142cf82c14c2df5d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/fraclab/regdim.sci | 2ea3b6c32d4c6db1ccc53ead9686c53c73a0c898 | [
"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 | 13,629 | sci | regdim.sci | function dim=regdim(x,sigma,voices,Nmin,Nmax,kernelReg,mirror,reg,graphs)
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right ... |
fab1825b114cb98aec8aac3d26034d511faad048 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH5/EX5.15/Ex5_15.sce | f0a7462d228ca33fdc5166e6bfe7d34db7980e80 | [] | 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 | Ex5_15.sce |
clc
//initialisation of variables
v=2 //ft^3
u1=7.259//lbm
u2=9.403 //lbm
p1=60 //lbf/in^2
t=300 //f
M=0.275 //lbm
h1=1181.6//btu
h2=1283.0 //Btu
t1=144//in^2/ft^3
T=778//F
W=6.5//Btu
//CALCULATIONS
Q1=M*(h2-h1)//Btu
U=Q1-W //Btu
v1=h1-(p1*t1*u1/T)//Btu/lbm
v2=h2-(p1*t1*u2/T)//Btu/lbm
U1=M*(v2-v1)//... |
65cbc30d71e5b35f12e5b64b67b96645d6b6e27a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH2/EX2.11/Ex2_11.sce | 0c51c68a19b9625dd1982f923c9c2299e9d6e330 | [] | 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 | 387 | sce | Ex2_11.sce | // chapter 2
// example 2.11
// Fig. E2.11
// Calculate shortest fault clearance time
// page-54-55
clear;
clc;
// given
Vm=120; // in V (sinosoidal ac supply)
integration=15; // in a^2.s (integral of square of current)
// calculate
t=integration/Vm^2; // calculation of fault clearance time
t=t*1E3; // changing unit fr... |
796924f43b6d37fc8b223940cb07300c73f7065e | bd6a24f2398fc7c6ed3648fefaaa9e0d306338e0 | /sym_testscript.sce | b6864c4c4691957c017146ab544cb11b387553b5 | [] | no_license | KPJoshi/SymphonyToolboxForScilab | f552eef762cccacd65fd55cfe22c6422ed55eb9d | 2c58d197d4d21aa8310e02ab6dd9252d1c43ac94 | refs/heads/master | 2021-01-10T16:40:49.898146 | 2015-07-21T12:46:54 | 2015-07-21T12:46:54 | 36,343,205 | 0 | 1 | null | 2015-07-02T15:36:30 | 2015-05-27T04:38:36 | C++ | UTF-8 | Scilab | false | false | 4,959 | sce | sym_testscript.sce | //Symphony Toolbox
//Script to test the toolbox
//Made by Keyur Joshi
//--------------
//initialization
//--------------
exec loader.sce
function performLotsOfTests(numVar)
//be verbose
mode(1)
//get data
sym_getNumVar
sym_getNumConstr
sym_getVarLower
sym_getVarUpper
sym_getObjCoeff
sym_getObjSense
for ite... |
a9149fa99d4a5cccd956267c39c1ba64d9dc5447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH4/EX4.7/Ex4_7.sce | 6964b2cedec940e91ec8cec983da3d5f6b6a5e1f | [] | 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 | 469 | sce | Ex4_7.sce | //example-4.7
//page no-126
//given
//radii of cation and anion in MgO
rc=0.78*10^-10 //m
ra=1.32*10^-10 //m
//so the lattice side will be
a=2*(rc+ra) //m
//effective no of atoms in FCC lattice structure
Ne=4 //because MgO has FCC cubic structure
//molecular weight of MgO
Aw=24.3+16
//atomic weight uni... |
e0df207f38b3627f6548facafc925975aeca6645 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH2/EX2.4/2_4.sce | 032bedd186dec08fbce58eabde891411699dde4d | [] | 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 | 369 | sce | 2_4.sce | clc
clear
//Initialization of variables
pb=28 //in mercury
d=13.6 //g/cc
gam=62.4
xm=15 //in
xw=10 //in
patm=28 //in
//calculations
pB=-xm/12 *gam/144 *d + xw*gam/144
pair=patm/12 *gam/144 *d - xm/12 *gam/144 *d
//results
printf("The pressure gauge at B indicates a reading of %.2f psi vacuum",-pB)
printf(... |
bf347fa33338dac973e8c347fdff225aa58c9027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.2d/eg7_2d.sce | 7c20cb26853708c55a8395bf2d0038919b8e4038 | [] | 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 | eg7_2d.sce | accidents= [4 0 6 5 2 1 2 0 4 3 ];
lambda= mean(accidents)
disp(cdfpoi("PQ", 2, lambda)) |
3956a815f1fbb9d5122ac570ed4c02734d488a44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH7/EX7.10/Ex_7_10.sce | a4e4aacaac505598074311a994f4801230379dd9 | [] | 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 | 179 | sce | Ex_7_10.sce | //Example 7.10 // Bandwidth
clc;
clear;
close;
//given data :
t_tr=100;// in ps
tau_rc=100;// in ps
BW=(1/(2*%pi*(t_tr+tau_rc)*10^-12))*10^-9;
disp(BW,"Bandwidth,BW(G bit/s) = ")
|
2f300c4c1242378f5d08c78da8ac94441b45d470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.17/Ex6_17.sce | 007efa6d73e729916dc052e75894f352d2580e95 | [] | 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 | 921 | sce | Ex6_17.sce | //===========================================================================
//chapter 6 example 17
clc;clear all;
//variable declaration
Tp = 1; //number of turns in primary
KT = 200; //turns ratio
Is = 5; //secondary current in A
Rs = 1.5; //secondary burden in Ω
f = 50; ... |
5aa5ce7182700dad9b4411d03e29e5e25107cc69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.27/2_27.sci | 126c0d4d369fbd5eeb5f905d5a0b87f4ed842cd3 | [] | 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 | sci | 2_27.sci | //calculating the voltage across the oscilloscope
clc;
C=50*10^-6;
f=100000;
disp(f,'frequency=')
Xc=1/(2*%pi*f*C);
R=10^6;
Zl=(R*-%i*Xc)/(R-%i*Xc);
Eo=1;
Zo=10*10^3;
El=Eo/(1+Zo/Zl);
disp(El,'Reading of the multimeter (V)=')
|
fab187141ce13fe69e53fc6500b6638edc29df62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH8/EX8.3/Ex8_3.sce | d93ee4a536a057266f8c2fa1ddcabc9b8e4c4530 | [] | 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 | 417 | sce | Ex8_3.sce | //Example 8.3
printf('a.Solution is beyond the scope of numerical computation');
//For (b), the ratio of magnitudes of impulse imparted to the balls = (2*m*u)/(2*m*u*cosd(30))
theta=30;//Angle (deg)
r=1/cosd(theta);
printf('\nb.Ratio of magnitude of impulse exerted on first ball to that on second ball = %0.3f',r)
... |
269fc2fef0b433b63ec9068f8dbc3eae48349ffc | ceef50b760b74e789250868ad377d5f5c5e390b1 | /tp2/gaetan/tiTesteProjection.sce | afd89082dc95d07bd17574f1ad49a79ffcfd5085 | [] | no_license | agoryu/TI | c01c9666e0d06b243e2e5450d168976a7e41091a | 5acedfe65ce7122045d59a4b7d3f213e40c0a8b2 | refs/heads/master | 2021-01-22T23:20:17.395990 | 2015-04-17T10:15:21 | 2015-04-17T10:15:21 | 29,386,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | tiTesteProjection.sce | // Effacer la memoire de travail de Scilab
clear;
// Chargement des fonctions externes
exec ('tiProjection.sci');
// Definition d'un cube de cote unite, sommets et aretes
[pCube, sCube] = tiCube (1);
// Matrice de projection 3D -> 2D
// Matrice intrinsèques
//M = [ -360 0 80 400;
// 0 -3... |
936b2eeeec879bed69e83cec3a7eef1553baad43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH9/EX9.4/94.sce | dd030b06a962facd3c36df90044e82f1756520a6 | [] | 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,506 | sce | 94.sce | clc;
//Example 9.4
//page no 89 fig 9.2
printf("Example 9.4 page no 89 fig. 9.2\n\n\n");
//water is discharged through a fire hose
rho=1000//density of water
meu=0.001//viscosity of water
q=0.025//flow rate at section 1
D1=.1//diameter at section 1
D2=.03//diameter at section 2
printf("\n density rho=%f kg/... |
ccbaf237b1426b0ec6569587e0f74f15d2aa8ec2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH1/EX1.10/ex_1_10.sce | 3d38dfe158675ac8ae26ad2910b3cc6c794cb766 | [] | 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 | 457 | sce | ex_1_10.sce | //Example 1.10 // height
clc;
clear;
close;
format('v',8)
vs=10;//secondary voltage in volts
p=400;//power drawn in kW
pf=0.6;//
is=(p*10^3)/pf;//secondary current in amperes
zs=vs/is;//impedence of secondary circuit in ohms
rs=zs*pf;//resistance of secondary circuit in ohms
res=zs*(sqrt(1-pf^2));//rectancetance of sec... |
50193b47a497926108dd1006edb36af09493fbce | 72d7c10733e74eafb60961874dedea7fa2a43569 | /2.Basics/conv.sce | 5ff9787eb5255326ef7164d4315a95e6d640450f | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 89 | sce | conv.sce | clear;
clc;
close;
t=0:1:6;
x=1:4;
h1=[1,1,-1,1];
x1=convol(h1,x)
plot2d3 (t,x1)
|
688b4b4d42744d9519f88217342001d80eba846b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/NF65WHQ/ATWM1_Working_Memory_MEG_NF65WHQ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 697f94b84e4f4f410db2a811d06ca2dab263cb4e | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
456d75ba17eb7e3db070396242cf86beaf63e47c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH11/EX11.6/6.sce | b318597312da4117baf0d1bb22674db69322e6b1 | [] | 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 | 244 | sce | 6.sce |
//Variable declaration
n1=1.55; //refractive index of core
n2=1.50; //refractive index of cladding
//Calculation
NA=sqrt((n1**2)-(n2**2)); //numerical aperture
//Result
printf('numerical aperture is %0.3f \n',(NA)) |
13f90ae67dc0c7e4e43ba57d773a8911ba1d912f | 449d555969bfd7befe906877abab098c6e63a0e8 | /53/CH5/EX5.5/example_5.sce | 3517fb873d338060f8c21f5950b46bf500af7c82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,098 | sce | example_5.sce | //important:In this example ro1 value is contradicting in text book,sometimes they used 1K0hm and sometimes 4Kohms,the code below used ro1=2KOhms as specified in question
//example5.5
//caption:Shunt voltage feedback circuit
//input resistance ri1
ri1=1000;//in ohms
//output resistance ro1
ro1=2000;//in ohms
//t... |
af384b94a8a97b9356686603fbc004267b2368f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH3/EX3.11/3_11.sce | bab40737e6dd62566f71bd871ca974dd60550850 | [] | 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 | 783 | sce | 3_11.sce | //practical interpolation
//example 3.11
//page 99
clc;clear;close;
x=[0.61 0.62 0.63 0.64 0.65 0.66 0.67];
y=[1.840431 1.858928 1.877610 1.896481 1.915541 1.934792 1.954237];
h=0.01//interval between values of x
c=1;
for i=1:6
d1(c)=y(i+1)-y(i);
c=c+1;
end
c=1;
for i=1:5
d2(c)=d1(i+1)-d1(i);
... |
07296ec6acc9b098d6a5b07bf0ca2d821e2404bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH8/EX8.1/ex8_1.sce | 3ca1555977270d594e9f8f65a0ba1d597c3afb2b | [] | 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 | 408 | sce | ex8_1.sce | //Exa 8.1
clc;
clear;
close;
// Given data
Q = 16;// in MJ
Q = Q * 10^3;// in kJ
T_H = 227;// in °C
T_H = T_H + 273;// in K
T_L = 15;// in °C
T_L = T_L + 273;// in K
del_S = Q/T_H;// in kJ/K
A = Q - (T_L * del_S);// in kJ
disp(A,"The available part of heat in kJ is ");
U_P_ofHeat = T_L * del_S;// unavail... |
be36e1ac4b2760badf1b1ac17a078a991aa721ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH13/EX13.2.d/Example13_2d.sce | 5df68060035442dfa3bacc366184b8f842f63b4b | [] | 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 | 457 | sce | Example13_2d.sce | clear;
clc;
//Caption:To find parameters of Current seris Feedback Amplifier
//Given Data
Gmf=-1;//Transconductance in mA/V
D=50;//Desensivity
Avf=-4;//Voltage Gain
Rs=1;//in K
hfe=150;
Vt=0.026;//in V
Gm=Gmf*D;
//B=-Re, D = 1+B*Gm = 1-B*Gm
Re=(1-D)/Gm;//in K
Rl=Avf/Gmf;//in K
// Gm= -hfe/(Rs+hi... |
a80089db6055b3809578246ed7b8f8d7efa5dab0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.13/Ex18_13.sce | 770d8422ce1a73ad51b2d0e1cfd2956cb3bb58e2 | [] | 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 | 429 | sce | Ex18_13.sce |
clc;
//e.g 18.13
Vcc=12;
Rc=3.3*10**3;
Re=100;
Ie=2*10**-3;
Vbe=0.7;
alpha=0.98;
Ic=alpha*Ie;
disp('mA',Ic*10**3,"Ic=");
Vb=Vbe+(Ie*Re);
disp('V',Vb*1,"Vb=");
Vc=Vcc-(Ic*Rc);//collector to emitter voltage
disp('V',Vc*1,"Vc=");
R2=20*10**3;
IR2=Vc/R2;
disp('mA',IR2*10**3,"IR2=");
Ib=Ie-Ic;
disp('mA',... |
7a1a9cf2bbcbde6d1f87f0e383fc7386a70cb943 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/demos/lmitool/normopt.sci | 4efab3cc2889b21f8dcc7628036a460699efd58c | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,004 | sci | normopt.sci | function [X,c]=normopt(A,B,C,D)
// Generated by lmitool on Wed Feb 08 16:17:01 MET 1995
Mbound = 1e3;
abstol = 1e-10;
nu = 10;
maxiters = 100;
reltol = 1e-10;
options=[Mbound,abstol,nu,maxiters,reltol];
///////////DEFINE INITIAL GUESS BELOW
X_init=eye(A);Ib=eye(B'*B);Ic=eye(C*C');c_init=1... |
8d8218f5949c42b8939ff131ac7dda26562cdab6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.14/Example4_14.sce | a877e78d73a19b48dfc553a9a356e69430f5324f | [] | 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,374 | sce | Example4_14.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-14
clear; clc; close; // Clear the work space and console.
// Given data
// Cumulative DC compound motor acting as shunt motor
T_orig = 160 ; ... |
e998b2ba9f9529943fa15f25b0921d7e670866ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH20/EX20.5/Ex20_5.sce | bccf5db744b1a4f31ed119e36d2eb65bfad5a4f2 | [] | 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 | 838 | sce | Ex20_5.sce | // Initilization of variables
v_o=400 // m/s // initial velocity of each gun
r=5000 // m // range of each of the guns
g=9.81 // m/s^2 // acc due to gravity
pi=180 // degree
// Calculations
// now from eq'n 1
theta_1=(asind((r*g)/(v_o^2)))/(2) // degree // angle at which the 1st gun is fired
// from eq'n 3
the... |
cfea2b9e28f0f15ed99b5adbe182133246b5cfb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH19/EX19.12/19_12.sce | 7b5a4fc2d8fa6d94696452628e8c252c7c842968 | [] | 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 | 428 | sce | 19_12.sce | //Example 19.12
//Hyperbolic Partial Differential Equations
//Page no. 673
clc;clear;close;
deff('y=f(x)','y=12*x')
Ua(1)=0.25;
Ua(2)=0.75
A=[1,-2;1,2];
x1=inv(A)*Ua;
printf('Xb = %g and Tb = %g',x1(1),x1(2))
A=[2,-1;2,1];
B=[-7.5;-8.5];
x2=inv(A)*B;
printf('\n\n Pb = %g and Qb = %g',x2(1),x2(2))
... |
deafc9a84b0e91eea8e2242a4fe14d1a9e7a5d24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH8/EX8.4/Ex8_4.sce | 71caa7329aa495a05ca2d57c3ab2bb6cec297ad3 | [] | 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 | 351 | sce | Ex8_4.sce | clear
//
//
//
//Variable declaration
kb=1.38*10^-23; //boltzmann constant
T=300; //temperature(K)
m=6;
Eg=0.7; //band gap(eV)
//Calculation
x=3*kb*T*log(m)/4;
EF=(Eg/2)+x; //position of Fermi level(eV)
//Result
printf("\n position of Fermi level is %0.3f eV",EF)
printf("\n ... |
c60bd3d642aca4ec6743673604a3933dbe6247b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH1/EX1.7/1_7.sce | 010389b3a7d8258732fa27d6015746808e99e86c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 1_7.sce | //Chapter 1, Example 1.7, figure 1.23
clc
n=4 //no of recievers
Zo=50 //input impedance of each receiver
//calculating the value of resistor
R=((n-1)/(n+1))*Zo
printf("Value of the matching resistor = %d ohm",R)
|
ca50093a1416c39ac95c9256e9e7146a2a2b5e49 | 15377b2b4e60d6691378cf1a03c5998fedde45ca | /nc_square_roots_computing/source/roots.sce | 41043651c42d46d39cd49e7b241448ca0a69dbb4 | [] | no_license | Forbrig/nc_algorithms | de28754ed4321e127ffb6dcd00cb80a9f1cddef7 | de0165aa4dbcc6db36298ab7b46637bfa00364e5 | refs/heads/master | 2021-08-28T10:43:40.414903 | 2017-12-12T01:01:07 | 2017-12-12T01:01:07 | 111,705,263 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,083 | sce | roots.sce | //Vitor Guilherme Forbrig (vitorforbrig@gmail.com)
clc(); //clear console
eps = 0.001; //here we put the minimum aproximation that we want
it = 200; //number of iteractions
//---------------------------------------------------------------------MISC------------------------------------------------------------------
fun... |
5c3101008f1dd9c655313bbbe9ed7cee74e38a4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.31/Ex1_31.txt | c4646d25b3cce2b8eb365f97245dbedf63d6b21a | [] | 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 | 172 | txt | Ex1_31.txt | //Ex:1.31
clc;
clear;
close;
le_y=1/10;// the ratio of le to y
Rr=160*(%pi^2)*(le_y)^2;// radiation resistance in ohm
printf("The radiation resistance = %f ohm", Rr); |
96c27f4693b5cea4454951aa2bc7329badf12bbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH36/EX36.9/Ex36_9.sce | ff835c19f2f73c759ba12b0f9b8ef885d356d59c | [] | 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 | 484 | sce | Ex36_9.sce |
//To Compare the total Magnetic Field due to earth at the two places
//Example 36.9
clear;
clc;
T1=3;//Time period for first place in seconds
T2=2;//Time Period for second place in seconds
theta1=%pi/4;//Dip in radians at first place
theta2=%pi/6;//Dip in radians at second place
Br=(T1^2/T2^... |
f528a0d284cd8fa945e18fa733acfa931aebe413 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.54/example5_54.sce | f26effacba6c22c9cdf02dbc1d2b714e7f2c8daf | [] | 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 | 408 | sce | example5_54.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.54
// Page 311
printf("Example 5.54, Page 311 \n \n");
// solution
// from ref 24
H = 1600.83
To = 273.15
h = 200
Hf1 = -79.3 // table 5.59
Hf2 = -46.11
Hsol = Hf1-Hf2
Hg = Hsol*1000*140/17.0305
Raq = 140/.15 // kg/h
... |
6fbe6e53c2460f392f5bb2fd0062502efd9a90e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH6/EX6.29/Ex6_29.sce | 3803a6e4e1893631b896e1541ad10918c24dde03 | [] | 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 | 873 | sce | Ex6_29.sce | // chapter 6
// example 6.29
// Compute the average load voltage
// page-372-373
clear;
clc;
// given
Eph=150; // in V (supply voltage per phase)
f=50; // in Hz (supply frequency)
Ls=1.2; // in mH (source inductance)
R=0.07; // in ohm
V_drop_Thyristor=1.5; // in V (voltage drop across Thyristor)
Id=30; // in A (continu... |
ac44c6efaa379de65ce9e9b64058a99d41cc2530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH13/EX13.3/Ex13_3.sce | b745b3501096bcf7bf1e8be787bc5446c1e84a40 | [] | 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 | 688 | sce | Ex13_3.sce | // Ex13_3 Page:259 (2014)
clc;clear;
mu_0 = 4*%pi*1e-007; // Magnetic permeability, H/m
e = 1.6e-019; // Charge on an electron, C
m = 9.1e-031; // Mass of an electron, kg
Z = 1; // Atomic number of the material
a = 2.55e-010; // Lattice constant of cubic structure, m
chi_dia = -5.6e-006; // Dia... |
ac73e6d5bf0174f3df73274757f49d0204b1c008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH3/EX3.8/Exa3_8.sce | 6c9bbd3772af94752050dc784ae5542bc487542e | [] | 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 | 325 | sce | Exa3_8.sce | //Exa 3.8
clc;
clear;
close;
// given data
AV=-8;//unitless
Vin=-1;//in Volts
Imax=15;//in uA
Vo=AV*Vin;//in Volts
//Formula : Vo=Imax*R2min
R2min=Vo/(Imax*10^-6);//in kohm
R1min=-Vin/(Imax*10^-6);//in kohm
disp(R2min/1000,"Required value of R2 in kohm is :")
disp(R1min/1000,"Required value of R1 in kohm i... |
e45fe13e35bcecd7d1a850495a8f82d3fa8ee75d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH12/EX12.2/Ex12_2.sce | ca4f2dad5326a625a04e7599a46acb6ca015aed9 | [] | 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 | 982 | sce | Ex12_2.sce | //fiber optic communications by joseph c. palais
//example 12.2
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
//from example 12.1
lambda=0.82//wavelength in um
ER=10^-9//Error rate
datarate=100//dta rate for RZ system in Mbps
NRZ_Qpl=-63//powerl level for NRZ in dBm
NRZ_TL=-36//thermal l... |
54df5fc2b67c36b3d902cddef6f7b3445c165822 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqKeyRead.sci | 4e9c809591afbba61c78816f1fb3889b54c90f06 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,368 | sci | mdaqKeyRead.sci | function state = mdaqKeyRead(arg1, arg2)
state = [];
if argn(2) == 1 then
func_key = arg1;
end
if argn(2) == 2 then
link_id = arg1;
func_key = arg2;
if link_id < 0 then
error("Invalid connection id!")
end
end
if argn(2) > 2 | ... |
90c4f118104f31412273c9d4cf451c47c98f3803 | 33d7960e39a3e71591538dccbe1dd4014c377e78 | /Sample Solution/CompFin_2017_SS_Exercise_01_MathQF.sce | aad3c47ef23a7c0d49b29f5e004977cd2522f72f | [] | no_license | wiiwins/Compfin | 529e2997994babb9e3795283ddbd8ec782131148 | 2629685421e970a369ec797b76dda3d2803bcbcf | refs/heads/master | 2020-05-18T01:25:39.357847 | 2019-06-27T11:21:46 | 2019-06-27T11:21:46 | 184,090,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | CompFin_2017_SS_Exercise_01_MathQF.sce | // C-Exercise 01
clear;
funcprot(0);
function Vn = capital (V0, r, n, c)
// simple rate
if (c == 0) then
Vn = V0 * (1+r)^n;
// continuous rate
elseif (c == 1) then
Vn = V0 * exp(r*n);
// wrong value for parameter s
else
error("Error: Arg... |
eccfe6b01621fe9d2e7358f7cbb866667ff9a933 | 1b0559adccf8301e274931fc7d0d62c175b5b168 | /jacobi2.sci | 603583eec17145a433b8ff761f3541d0a9d62a9a | [
"MIT"
] | permissive | rubiotorres/learnscilab | 0b83c281c5d1170d4bdf606b5af706e3c5a89bb7 | ddf69d871f0254f7248b719a67838e08cd396f70 | refs/heads/master | 2020-03-22T16:54:52.906348 | 2018-07-10T01:20:14 | 2018-07-10T01:20:14 | 140,360,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sci | jacobi2.sci | function [x , err , niter ] = jacobi (A ,b ,x0 , tol , maxiter )
err = %inf ;
niter = 1;
D = diag ( diag (A) );
T = A - D;
while err >= tol & niter < maxiter ,
x = D \(b -T * x0 );
err = max ( abs (x - x0 ));
x0 = x;
niter = niter +1;
end
if niter == maxiter then
disp ('Numero maximo de iteracoe... |
4562f0863115f9de70407136a2e589f03b018db3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH6/EX6.4/Ex6_4.sce | b762cc03dbd0eeba70b81d8c558ae716f35f3492 | [] | 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 | 538 | sce | Ex6_4.sce | // Power required for rolling
clc
t1 = 20 // initial thickness in mm
t2 = 12 // final thickness in mm
R = 300 // roll radius
N = 100 // rpm of roll
w = 250 // width in mm
K = 895 // in MPa
n = 0.49 // from table
mu = 0.1 // frictional coefficient
printf("\n Example 6.4")
L = sqrt((R*1e-3)*(t1-t2)*1e-3)
epsi... |
8786d8729e18294bfb1ff286085cabe181d9240d | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH3/EX3.15/example3_15.sce | 1db339675a59262391ed757be60568ff801990d6 | [] | 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 | 476 | sce | example3_15.sce | //clc()
mwater = 100;//kg
mNaCl = 35.8;//kg
msolu = mwater + mNaCl;
mfr = mNaCl / msolu;
mpr = mfr * 100;
MNaCl = 58.45;//kg/kmol
NNaCl = mNaCl / MNaCl;
MH2O = 18;//kg/kmol
NH2O = mwater / MH2O;
Mfr = NNaCl / (NNaCl + NH2O);
Mpr = Mfr * 100;
N = NNaCl *1000 / mwater;
disp(mfr,"(a)mass fraction of NaCl =")
... |
d49610cbc584220646afa437f3d3a41b057fcbf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.16/ex16.sce | 289997e26c1279f6da049f249729be8f2f347e0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | ex16.sce | clc
clear
//Input data
Z1=0.17;//Level of liquid in m
Z=0.76;//Barometer readings in m
d=13596;//Density of Hg in kg/m^3
g=9.806;//Gravity in m/sec^2
s=0.8;//Specific gravity
d1=1000;//Density of water in kg/m^3
//Calculations
dl=s*d1;//Density of given liquid in kg/m^3
Pa=d*g*Z;//Atmospheric pressure in ... |
f354acf4f0521f08dd8319d2522134eddd2f57db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH15/EX14.1/EX14_1.sce | 473f52989c1443c1e03c284d2e9820a7e2d248ca | [] | 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 | 357 | sce | EX14_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 14
// Example No. 14_1
clc; clear;
// Calculate the ampere-turns of mmf for a coil with 2000 turns and a 5-mA current.
// Given data
I = 5*10^-3; // Current=5 mAmps
N = 2000; // No. of Turns=2000
mmf = I*N;
disp (mmf,'The Amps-Turn (A.t) of ... |
4f38237aecd8767a2fdcddea9339762deb6b8cd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.5/Ex19_5.sce | 670e3e9873084ac68743527fe91d565025f17803 | [] | 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 | 267 | sce | Ex19_5.sce | //Ex19_5 Pg-958
clc
//Integer part
bin='10101'; //binary input
dec_I=bin2dec(bin) //decimal output
//Decimal part
a=1
b=0
c=1
dec_D=a*2^(-1)+b*2^(-2)+c*2^(-3)
dec=dec_I+dec_D //decimal output
disp("The decimal equivqlent of 10101.101 is")
disp(dec)
|
df43bd78042a32a4d390eeccd846fa6917ca3fd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH7/EX7.13/Ex7_13.sce | b0e33d1d29f6b7c4fb1e103ad8ac2bac72e53a03 | [] | 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 | 178 | sce | Ex7_13.sce | //Example 7_13
clc();
clear;
//To calculate the refractive index of the core
NA=0.39
delta=0.05
n1=NA/sqrt(2*delta)
printf("The refractive index of the core is %.3f",n1)
|
55e41424421957820ea13cd5d55ab7eec1f1e9d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH8/EX8.2/8_2.sce | b132f06024993c64ba39a4f54e46daf469cc7157 | [] | 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 | 264 | sce | 8_2.sce | clc
//Initialization of variables
b=6 //m
y=2 //m
sf=0.005
slope = 2
gam=9.81*1000
Q=65 //m^3/s
//calculations
A=(b+ 2*y)*slope
P=b+ 2*y*sqrt(slope^2 +1)
R=A/P
V=Q/A
n=R^(2/3) *sf^(1/2) /V
//results
printf("Value of mannings coefficient = %.3f",n)
|
bda88808e5105b1f7a6c8a8b57679e7d06106dfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH1/EX1.1/1_1.sce | e8854653dbfda917a272048f5819886ff80bc744 | [] | 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 | 773 | sce | 1_1.sce | //Example 1.1
//Conversion to Decimal System
//Page no. 4
clc;close;clear;
function [s]=bas2dec(x,b)
xi=int(x)
xd=x-int(x)
s=0
for i=1:10
xi=xi/10
s=s+(10*(xi-fix(xi))*b^(i-1))
xi=int(xi)
if(xi==0)
break
end
end
for i=1:1
... |
b83e51bef498cf917ea607ec4f228d7ff61ff6d4 | ed1c05f846a64e6a8308394b3f3a4edbf4801a04 | /raytracer/scenes/spheres/spheres.sce | 3322a76c82ccc832bd297e37de504e9a38be283f | [] | no_license | Gorzen/Computer-Graphics-2019 | e56b85314fa7b4782041977480e4d7b01a854a6c | c17a640342414402a6efe8859cfc9e3aa042960b | refs/heads/master | 2020-04-24T09:39:56.561728 | 2019-05-30T11:41:20 | 2019-05-30T11:41:20 | 171,869,278 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | spheres.sce | # camera: eye, center, up, fovy, width, height
camera 1 3 8 1 1 0 0 1 0 45 500 500
# recursion depth
depth 5
# background color
background 0 0 0
# global ambient light
ambience 0.2 0.2 0.2
# light: position and color
light 0 50 0 0.35 0.35 0.35
light 50 50 50 0.35 0.35 0.35
light -50 50 ... |
4c5238516afb5268e088aae9fbdfe3d3f10fcfec | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-pizzabonnen+/inputs.sce | e79432468882ab6c1747a964d06e2ab36a92cc8f | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,158 | sce | inputs.sce | pizzas0 = []
bonnen0 = []
pizzas1 = [4813,1719,3762,9829,6090,4,2511,7053,2252,1708,487,8406,9927,6621,7305,2112,8230,6189,2691,8394,964,6144,7224,5138,9654,4833,3985,4846,1301,7094,5873,4544,3873,5177,1674,9210,9359,6573,6267,9117,3432,7815,8318,2343,853,1392,8598,8925,6933,4256,250,4136,7105,3898,4725,3122,788,4864,... |
dda969fa36cccac68a0f115b8e31e9d01cb3b887 | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fseminf/fsinfex.sci | 22b6b19b19885488aca69a869c6d505c391fe960 | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 991 | sci | fsinfex.sci | function f = obj(x)
f = (x(1) - 0.2)^2 + (x(2) - 0.5)^2 + (x(3) - 0.3)^2
endfunction
function [varargout, c, ceq] = seminfcon(z,t)
c = []
ceq = []
varargout(1) = sin(t(1)*z(1))*cos(t(1)*z(2)) - 0.001*(t(1)-50)^2 - sin(t(1)*z(3)) - z(3) - 1
varargout(2) = sin(t(1)*z(2))*cos(t(1)*z(1)) - 0.001*(t(1)-... |
c109573bca8cdbf61451c8b7d2bc0c65a9884367 | 8baa4268cc19995abb706bcc05c80afb319e1669 | /test/rate.tst | 2d759d9d5a9fa0e7143dd96a6055311b57cd2f47 | [] | no_license | nicoloison/CPSC471-Project | 53c3362e0251f3c37edf0ab9769277d15670dc21 | db0db7d7be776d6d6958d920596bc708d3347e82 | refs/heads/master | 2020-04-18T13:42:30.599190 | 2014-12-26T10:58:19 | 2014-12-26T10:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | tst | rate.tst | curl "localhost/recipes/rate.php?username=lmitchell&author_name=nloison&recipe_name=mac%20and%20cheese&rating=5"
|
28d62b0147fd0d3e119e10ade97f9c633dd791aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.a.8/exaA_7_8.sce | be35a2e0f5743b4337af7dfe25b94cbb1d073e56 | [] | 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 | 182 | sce | exaA_7_8.sce | // Example A-7-8
// Stability check
clear; clc;
xdel(winsid()); //close all windows
s = %s;
K = 2;
P = s*(s+1)*(2*s+1) + K;
disp(routh_t(P))
// unstable since two roots are in RHP |
6d27082c5e5e098fdc80e2b6fad4e83e0a3aa974 | 717ddeb7e700373742c617a95e25a2376565112c | /608/CH21/EX21.21/21_21.sce | 2cc2c0368eb6fa3b3623c8e27fb8d4cea2bef108 | [] | 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 | 919 | sce | 21_21.sce | //Problem 21.21: A 200 V, d.c. shunt-wound motor has an armature resistance of 0.4 ohm and at a certain load has an armature current of 30 A and runs at 1350 rev/min. If the load on the shaft of the motor is increased so that the armature current increases to 45 A, determine the speed of the motor, assuming the flux r... |
656fdacaa0bd51b527d0386fb7c9ff2c6f5c3e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH13/EX13.4/Ex13_4.sce | 6b98d6c51a023543b60a0bbdeb8541c73b1c2d4c | [] | 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 | Ex13_4.sce | clear
//Initialization
q=15*10**-6 //charge in coulomb
a=200*10**-6 //area
//Calculation
d=q/a //electric flux density
//Results
printf("\n D = %d mC/m^2",d*10**3)
|
89e6a5574710385881290c98a2334ee5d1cd20ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH29/EX29.16/29_16.sce | 490fd1d521c45fdf135ba80d03f92acd23d72fdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,147 | sce | 29_16.sce | clear//
//Variables
hfe = 99.0 //hfe
hie = 2.0 * 10**3 //hie (in ohm)
Rc = 22.0 * 10**3 //Load resistor of frist stage (in ohm)
R4 = 100.0 //Emitter resistance of first stage (in ohm)
R1 = 220.0 * 10**3 ... |
b9d7992caad657c06d904d74ce933cdb1a207c1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.10/Ex9_10.sce | 96c96247072c085da1a7ea7e549a53f30c2ecdb0 | [] | 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,343 | sce | Ex9_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 10
clear ;clc;
//Given data
RH = 0.6 // relative humidity moist air
T1 = 313.15 // Temp of air entering cooling device in K
T2 = 293.15 // temperature at air required to leav... |
adcc6c54ea73c06567692a5d2f7f3a9fe03d799e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.2/Example_a_7_2.sce | 4fde979a0cb216f89e4bae9ecbbf99f8d0fb4b48 | [] | 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 | 926 | sce | Example_a_7_2.sce | //Example_a_7_2 page no:270
clc;
Rab=3+(4*%i);
Rabmag=sqrt(real(Rab)^2+imag(Rab)^2);
Rabang=atand(imag(Rab)/real(Rab));
Rbc=%i*4;
Vmag=100;
Vang=-45;
Vreal=Vmag*cosd(Vang);
Vimag=Vmag*sind(Vang);
V=Vreal+(%i*Vimag);
A=[(3+(%i*8)),(-%i*4)
(-%i*4),(%i*2)];
B=[V,
0];
X=inv(A)*B;
X1mag=sqrt(real(X(1... |
d984ea3f7b29e74546448cda978fdaeb0fcc4454 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /CSGO Target Switch.sce | c36594989aeeb0ef6bcc70212892a95fd35d72fd | [] | 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 | 34,993 | sce | CSGO Target Switch.sce | Name=CSGO Target Switch
PlayerCharacters=Counter-Striker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
... |
bf217155f1a8528ffe3bb1e018a9baf64c0488ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH14/EX14.18/18.sce | 750fab60444c0d783f671a15a413cacdaaa5c51a | [] | 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 | 342 | sce | 18.sce | clc
te=-10; //0C
tc=40; //0C
h3=220; //kJ/kg
h2=183.1; //kJ/kg
h1=74.53; //kJ/kg
h_f4=26.85; //kJ/kg
m=1; //kg
disp("(i) The C.O.P. the cycle =")
COP=(h2-h1)/(h3-h2);
disp(COP)
disp("(ii) Refrigerating capacity =")
RC=m*(h2-h1);
disp(RC)
disp("kJ/min")
disp("Compressor power =")
CP=m*(h3-h2)/60;
... |
02a06f6a97a25e256738238dc3f36933b35af969 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elements_Of_Mass_Transfer_(part_1)_N._Anantharaman_And_K._M._M._S._Begum_599.zip/Elements_Of_Mass_Transfer_(part_1)_N._Anantharaman_And_K._M._M._S._Begum_599/CH2/EX2.3/example2_3.sce | 63f3836ecb678a43631e124708810a535a714a44 | [] | 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 | 1,002 | sce | example2_3.sce | errcatch(-1,"stop");mode(2);
;
;
printf("\t Example 2.3\n");
pa1=(33/760)*1.013*10^5; //vapour pressure of ccl4 at 273 in pascal
pa2=0;
d=1.59; //density of liquid ccl4 in g/cm^3
//considering o2 to be non diffusing and with
T=273; //t... |
39280664d81e8de150697ecd70919b5aa356f8fa | 2e7ac15637155640e3712a844d056c754373fa8b | /TP6/PREM/integration_prem.sce | 07301a58cbc78730ac25eef722843a66f5290568 | [] | no_license | BenoitURRUTY/math_appli_student | f02c8c6179935f11cd1e6a561ae4a75dee034037 | f94d76cba43e27042a4a69b91385a33c92a569a1 | refs/heads/master | 2020-09-14T16:23:50.490866 | 2019-12-17T16:15:57 | 2019-12-17T16:15:57 | 223,183,360 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,556 | sce | integration_prem.sce | /// integration verticale du modele PREM pour calculer masse Terre et duree trajet
/// PREM = profils verticaux de rho et Vp (polynomes), selon Dziewonski & Anderson 1981
/// intervalle en prof : 0= centre Terre, 6471km = surface
/// IMPORTANT : travailler en unites SI !!!!!!!
/// avec dz=10km, m=5.970e24kg, g=9.81059... |
db1ddb595b02ef17dad4e8a63eb6a0a095f80e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.15/15_15.sce | bfd38b0016933dbe082a99b0d374fc4321707b78 | [] | 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,127 | sce | 15_15.sce | //Chapter 15, Problem 15, Fig 15.13
clc;
R=5; //resistance in ohm
L=120e-3; //inductance in henry
C=100e-6; //capacitance in farad
V=300; //supply voltage
f=50; //supply f... |
6026da59dbd924f86b2c20ad5ef4679e1a613253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH6/EX6.16/6_16.sce | 6a83421dbf180e5f221ff3443ab352e9c430b3c8 | [] | 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 | 293 | sce | 6_16.sce | //Problem 6.16: A 12 μF capacitor is required to store 4 J of energy. Find the pd to which the capacitor must be charged.
//initializing the variables:
C = 12E-6; // in Farads
W = 4; // in Joules
//calculation:
V = (2*W/C)^0.5
printf("\n\nResult\n\n")
printf("\n P.d %.1f V\n",V) |
b151570181456ed6b0fc2d9813a3ba026b3e8b94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH9/EX9.2/Example_2.sce | b2d50cde9a59ca200a0eaafaa65619c9e402ff83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Example_2.sce | //Chapter-9,Example 2,Page 219
clc();
close();
R= 500 //resistance of the cell
K= 0.0002765 //specific conductivity
//cell constant= l/a and R= p(l/a)
//sice l= length a= area p= resistivity
//(1/p) = K = specific conductivity
//(l/a) = R*K
C_constant= R*K //cell constant
printf('the cell ... |
233df1f292b384c84ba40197d00d1f40fa507160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH11/EX11.3.1/ex_11_3_1.sce | 7350684c5dbb25c6d3f70698b968f5c9df98aec4 | [] | 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 | 421 | sce | ex_11_3_1.sce | //Example 11.3.1 // percentage of the reading and percentage of full scale
clc;
clear;
close;
//given data :
a=10;//scale reading
b=70;// full scale
error1=-(0.5/10)*100;
disp("step 1")
disp(error1,"error of reading in %")
error2=-(0.5/100)*100;
disp(error2,"error of full scale in %")
disp("step 2")
error3=(2.5/70)*100... |
dd6c2304b11dffbaac9664ee4a3aec5461375d13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH13/EX13.5/5.sce | bcae4482a7ce20fc4aa9fa2118f6e4ca4953b801 | [] | 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 | 409 | sce | 5.sce | clc
clear
//INPUT DATA
er=4.94//static dielecric constant of a material
n=2.69//n is the index of friction
//CALCULATION
x=((er-1)*(n+2))/((er+2)*(n-1))-1//Ratio between ionic and electronic polarisability of this material
y=1/x//Ratio between electronic and ionic polarisability of this material
//OUTPUT
p... |
4c4feb75d7d0dcafbf330aec9caed3ef49f6cfe1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.2/example2.sce | c35e4abd880b6cbad5f827e4cf8708830af54987 | [] | 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 | 426 | sce | example2.sce | //Chapter-11 example 2
//=============================================================================
clc;
clear;
Vo = 3*10^8;//velocity of EM wave in m/s
t = 20*10^-6;//echo time in sec
// calculations
R = (Vo*t)/2;//distance b/n target and Radar in m
// Output
mprintf('Distance of Target from the Radar... |
975286c540dc0dcebda47b2d5d6e789fb753d0aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH4/EX4.8/Ex4_8.sce | 8fdcb708a4133ac1526c3e03979769bb0dcdf0a6 | [] | 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,615 | sce | Ex4_8.sce | // Exa 4.8
clc;
clear all;
// Given data
Ra= 45; // in k Ohms
Rb=5; // in k Ohms
V=50; // Supplied Voltage(V)
S=20; // sensitivity in k Ohms/V
// Solution
VRb=Rb/(Ra+Rb) * V;
printf('The voltage drop across Rb without the voltmeter connected is = %d V\n',VRb);
// On the 5V range
Range1 = 5; // V... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.